Add dark theme for docs
This commit is contained in:
parent
4b17d3c662
commit
e99ddfa19a
13
mkdocs.yml
13
mkdocs.yml
|
@ -62,7 +62,20 @@ nav:
|
|||
theme:
|
||||
name: material
|
||||
palette:
|
||||
- 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
|
||||
favicon: assets/hydrus-black.svg
|
||||
font: false
|
||||
|
|
Loading…
Reference in New Issue