fix menu, change color scheme

This commit is contained in:
2025-03-19 15:12:18 +03:00
parent 1086a3c681
commit 1ada0e829b
14 changed files with 36 additions and 51 deletions

View File

@@ -1,7 +1,4 @@
{ {
"label": "API", "label": "API",
"position": 7, "position": 7,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Architecture", "label": "Architecture",
"position": 10, "position": 10,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Browser", "label": "Browser",
"position": 1, "position": 1,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Git", "label": "Git",
"position": 8, "position": 8,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "HTML / CSS", "label": "HTML / CSS",
"position": 2, "position": 2,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Javascript", "label": "Javascript",
"position": 3, "position": 3,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "React", "label": "React",
"position": 5, "position": 5,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "State managers", "label": "State managers",
"position": 6, "position": 6,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Tasks", "label": "Tasks",
"position": 12, "position": 12,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Team work", "label": "Team work",
"position": 9, "position": 9,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Testing", "label": "Testing",
"position": 11, "position": 11,
"link": {
"type": "generated-index"
}
} }

View File

@@ -1,7 +1,4 @@
{ {
"label": "Typescript", "label": "Typescript",
"position": 4, "position": 4,
"link": {
"type": "generated-index"
}
} }

View File

@@ -67,6 +67,11 @@ const config: Config = {
themeConfig: { themeConfig: {
// Replace with your project's social card // Replace with your project's social card
image: 'svg/developer-logo.svg', image: 'svg/developer-logo.svg',
docs: {
sidebar: {
autoCollapseCategories: true,
}
},
navbar: { navbar: {
title: 'Frontend Docs', title: 'Frontend Docs',
logo: { logo: {
@@ -127,7 +132,7 @@ const config: Config = {
] ]
} }
], ],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, copyright: `Copyright © ${new Date().getFullYear()} RedRock corp. Built with Docusaurus.`,
}, },
prism: { prism: {
theme: prismThemes.github, theme: prismThemes.github,

View File

@@ -6,25 +6,41 @@
/* You can override the default Infima variables here. */ /* You can override the default Infima variables here. */
:root { :root {
--ifm-color-primary: #2e8555; /* default color scheme */
--ifm-color-primary-dark: #29784c; /*--ifm-color-primary: #2e8555;*/
--ifm-color-primary-darker: #277148; /*--ifm-color-primary-dark: #29784c;*/
--ifm-color-primary-darkest: #205d3b; /*--ifm-color-primary-darker: #277148;*/
--ifm-color-primary-light: #33925d; /*--ifm-color-primary-darkest: #205d3b;*/
--ifm-color-primary-lighter: #359962; /*--ifm-color-primary-light: #33925d;*/
--ifm-color-primary-lightest: #3cad6e; /*--ifm-color-primary-lighter: #359962;*/
/*--ifm-color-primary-lightest: #3cad6e;*/
--ifm-color-primary: #1c7cd6;
--ifm-color-primary-dark: #196fc1;
--ifm-color-primary-darker: #1769b6;
--ifm-color-primary-darkest: #135696;
--ifm-color-primary-light: #2f8bdf;
--ifm-color-primary-lighter: #3a91e1;
--ifm-color-primary-lightest: #57a4e6;
--ifm-code-font-size: 95%; --ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
} }
/* 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; /* default color scheme */
--ifm-color-primary-dark: #21af90; /*--ifm-color-primary: #25c2a0;*/
--ifm-color-primary-darker: #1fa588; /*--ifm-color-primary-dark: #21af90;*/
--ifm-color-primary-darkest: #1a8870; /*--ifm-color-primary-darker: #1fa588;*/
--ifm-color-primary-light: #29d5b0; /*--ifm-color-primary-darkest: #1a8870;*/
--ifm-color-primary-lighter: #32d8b4; /*--ifm-color-primary-light: #29d5b0;*/
--ifm-color-primary-lightest: #4fddbf; /*--ifm-color-primary-lighter: #32d8b4;*/
/*--ifm-color-primary-lightest: #4fddbf;*/
--ifm-color-primary: #42a5f5;
--ifm-color-primary-dark: #1e88e5;
--ifm-color-primary-darker: #1976d2;
--ifm-color-primary-darkest: #1565c0;
--ifm-color-primary-light: #64b5f6;
--ifm-color-primary-lighter: #90caf9;
--ifm-color-primary-lightest: #bbdefb;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
} }