added dark mode
This commit is contained in:
parent
7acfc692d7
commit
913c4ae181
1 changed files with 13 additions and 0 deletions
13
mkdocs.yml
13
mkdocs.yml
|
|
@ -4,6 +4,19 @@ theme:
|
||||||
name: material
|
name: material
|
||||||
features:
|
features:
|
||||||
- content.code.copy
|
- content.code.copy
|
||||||
|
palette:
|
||||||
|
|
||||||
|
# Palette toggle for light mode
|
||||||
|
- scheme: default
|
||||||
|
toggle:
|
||||||
|
icon: material/brightness-7
|
||||||
|
name: Switch to dark mode
|
||||||
|
|
||||||
|
# Palette toggle for dark mode
|
||||||
|
- scheme: slate
|
||||||
|
toggle:
|
||||||
|
icon: material/brightness-4
|
||||||
|
name: Switch to light mode
|
||||||
extra_css:
|
extra_css:
|
||||||
- pretty_quotes.css
|
- pretty_quotes.css
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue