mirror of
https://github.com/LukeHagar/plex-docs.git
synced 2025-12-06 04:20:40 +00:00
Added Theme
This commit is contained in:
@@ -7,7 +7,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
|||||||
/** @type {import('@docusaurus/types').Config} */
|
/** @type {import('@docusaurus/types').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
title: "Plex Docs",
|
title: "Plex Docs",
|
||||||
tagline: "Plex api documentation with a kick",
|
tagline: "Community Sourced Plex API Documentation with a kick",
|
||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
@@ -60,6 +60,11 @@ const config = {
|
|||||||
themeConfig:
|
themeConfig:
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
({
|
({
|
||||||
|
colorMode: {
|
||||||
|
defaultMode: "dark",
|
||||||
|
disableSwitch: true,
|
||||||
|
respectPrefersColorScheme: false,
|
||||||
|
},
|
||||||
// Replace with your project's social card
|
// Replace with your project's social card
|
||||||
image: "img/docusaurus-social-card.jpg",
|
image: "img/docusaurus-social-card.jpg",
|
||||||
navbar: {
|
navbar: {
|
||||||
@@ -173,7 +178,7 @@ const config = {
|
|||||||
announcementBar: {
|
announcementBar: {
|
||||||
id: "announcementBar_1",
|
id: "announcementBar_1",
|
||||||
content:
|
content:
|
||||||
"If you have any feedback on the <a href='https://github.com/LukeHagar/plex-api-spec'>Website</a> or the <a href='https://github.com/LukeHagar/plex-api-spec'>API Specification</a> please let me know!",
|
"This is not an Official Plex.TV Resource. If you have any feedback on the <a href='https://github.com/LukeHagar/plex-api-spec'>Website</a> or the <a href='https://github.com/LukeHagar/plex-api-spec'>API Specification</a> please let me know!",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
/* You can override the default Infima variables here. */
|
/* You can override the default Infima variables here. */
|
||||||
:root {
|
:root {
|
||||||
--ifm-color-primary: #2e8555;
|
--ifm-color-primary: #f7c600;
|
||||||
--ifm-color-primary-dark: #29784c;
|
--ifm-color-primary-dark: #191919;
|
||||||
--ifm-color-primary-darker: #277148;
|
--ifm-color-primary-darker: #277148;
|
||||||
--ifm-color-primary-darkest: #205d3b;
|
--ifm-color-primary-darkest: #205d3b;
|
||||||
--ifm-color-primary-light: #33925d;
|
--ifm-color-primary-light: #33925d;
|
||||||
@@ -18,13 +18,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
||||||
[data-theme='dark'] {
|
[data-theme="dark"] {
|
||||||
--ifm-color-primary: #25c2a0;
|
--ifm-color-primary: #f7c600;
|
||||||
--ifm-color-primary-dark: #21af90;
|
--ifm-color-primary-dark: #deb200;
|
||||||
--ifm-color-primary-darker: #1fa588;
|
--ifm-color-primary-darker: #d2a800;
|
||||||
--ifm-color-primary-darkest: #1a8870;
|
--ifm-color-primary-darkest: #ad8b00;
|
||||||
--ifm-color-primary-light: #29d5b0;
|
--ifm-color-primary-light: #ffd011;
|
||||||
--ifm-color-primary-lighter: #32d8b4;
|
--ifm-color-primary-lighter: #ffd21d;
|
||||||
--ifm-color-primary-lightest: #4fddbf;
|
--ifm-color-primary-lightest: #ffda42;
|
||||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
--ifm-background-color: #151515;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user