Add dark theme for docs
This commit is contained in:
parent
4b17d3c662
commit
e99ddfa19a
15
mkdocs.yml
15
mkdocs.yml
|
@ -62,7 +62,20 @@ nav:
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
palette:
|
palette:
|
||||||
primary: blue grey
|
- media: "(prefers-color-scheme: light)"
|
||||||
|
scheme: default
|
||||||
|
primary: blue grey
|
||||||
|
accent: blue
|
||||||
|
toggle:
|
||||||
|
icon: material/toggle-switch-off-outline
|
||||||
|
name: Switch to dark mode
|
||||||
|
- media: "(prefers-color-scheme: dark)"
|
||||||
|
scheme: slate
|
||||||
|
primary: black
|
||||||
|
accent: blue
|
||||||
|
toggle:
|
||||||
|
icon: material/toggle-switch
|
||||||
|
name: Switch to light mode
|
||||||
logo: assets/hydrus-white.svg
|
logo: assets/hydrus-white.svg
|
||||||
favicon: assets/hydrus-black.svg
|
favicon: assets/hydrus-black.svg
|
||||||
font: false
|
font: false
|
||||||
|
|
Loading…
Reference in New Issue