[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:
|
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