[docs] Adapt primary color to match uMap one
This commit is contained in:
parent
8e94c9e470
commit
8804a953ee
2 changed files with 13 additions and 7 deletions
3
docs/stylesheets/extra.css
Normal file
3
docs/stylesheets/extra.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
:root {
|
||||||
|
--md-primary-fg-color: #323e56;
|
||||||
|
}
|
17
mkdocs.yml
17
mkdocs.yml
|
@ -6,11 +6,11 @@ nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
- Installation: install.md
|
- Installation: install.md
|
||||||
- Architecture:
|
- Architecture:
|
||||||
- Frontend (JS): architecture/frontend.md
|
- Frontend (JS): architecture/frontend.md
|
||||||
- Deployment:
|
- Deployment:
|
||||||
- Ubuntu Server Howto: deploy/ubuntu.md
|
- Ubuntu Server Howto: deploy/ubuntu.md
|
||||||
- Docker: deploy/docker.md
|
- Docker: deploy/docker.md
|
||||||
- Windows: deploy/windows.md
|
- Windows: deploy/windows.md
|
||||||
- Configuration: settings.md
|
- Configuration: settings.md
|
||||||
- Administration: administration.md
|
- Administration: administration.md
|
||||||
- Contributing: contributing.md
|
- Contributing: contributing.md
|
||||||
|
@ -22,17 +22,20 @@ theme:
|
||||||
palette:
|
palette:
|
||||||
- scheme: 'default'
|
- scheme: 'default'
|
||||||
media: '(prefers-color-scheme: light)'
|
media: '(prefers-color-scheme: light)'
|
||||||
|
primary: 'custom'
|
||||||
toggle:
|
toggle:
|
||||||
icon: 'material/lightbulb'
|
icon: 'material/lightbulb'
|
||||||
name: "Switch to dark mode"
|
name: 'Switch to dark mode'
|
||||||
- scheme: 'slate'
|
- scheme: 'slate'
|
||||||
media: '(prefers-color-scheme: dark)'
|
media: '(prefers-color-scheme: dark)'
|
||||||
primary: 'blue'
|
primary: 'custom'
|
||||||
toggle:
|
toggle:
|
||||||
icon: 'material/lightbulb-outline'
|
icon: 'material/lightbulb-outline'
|
||||||
name: 'Switch to light mode'
|
name: 'Switch to light mode'
|
||||||
features:
|
features:
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
|
extra_css:
|
||||||
|
- stylesheets/extra.css
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- pymdownx.magiclink
|
- pymdownx.magiclink
|
||||||
- admonition
|
- admonition
|
||||||
|
|
Loading…
Reference in a new issue