[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;
|
||||
}
|
|
@ -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
|
||||
extra_css:
|
||||
- stylesheets/extra.css
|
||||
markdown_extensions:
|
||||
- pymdownx.magiclink
|
||||
- admonition
|
||||
|
|
Loading…
Reference in a new issue