Add dark theme for docs

This commit is contained in:
Paul Friederichsen 2022-02-15 05:44:38 -06:00
parent 4b17d3c662
commit e99ddfa19a
1 changed files with 14 additions and 1 deletions

View File

@ -62,7 +62,20 @@ nav:
theme:
name: material
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
favicon: assets/hydrus-black.svg
font: false