[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
|
||||
- Installation: install.md
|
||||
- Architecture:
|
||||
- Frontend (JS): architecture/frontend.md
|
||||
- Frontend (JS): architecture/frontend.md
|
||||
- Deployment:
|
||||
- Ubuntu Server Howto: deploy/ubuntu.md
|
||||
- Docker: deploy/docker.md
|
||||
- Windows: deploy/windows.md
|
||||
- Ubuntu Server Howto: deploy/ubuntu.md
|
||||
- Docker: deploy/docker.md
|
||||
- Windows: deploy/windows.md
|
||||
- Configuration: settings.md
|
||||
- Administration: administration.md
|
||||
- Contributing: contributing.md
|
||||
|
@ -22,17 +22,20 @@ theme:
|
|||
palette:
|
||||
- scheme: 'default'
|
||||
media: '(prefers-color-scheme: light)'
|
||||
primary: 'custom'
|
||||
toggle:
|
||||
icon: 'material/lightbulb'
|
||||
name: "Switch to dark mode"
|
||||
name: 'Switch to dark mode'
|
||||
- scheme: 'slate'
|
||||
media: '(prefers-color-scheme: dark)'
|
||||
primary: 'blue'
|
||||
primary: 'custom'
|
||||
toggle:
|
||||
icon: 'material/lightbulb-outline'
|
||||
name: 'Switch to light mode'
|
||||
features:
|
||||
- navigation.sections
|
||||
- navigation.sections
|
||||
extra_css:
|
||||
- stylesheets/extra.css
|
||||
markdown_extensions:
|
||||
- pymdownx.magiclink
|
||||
- admonition
|
||||
|
|
Loading…
Reference in a new issue