

docs: dark mode
@9ff425bd6d13cd76dd20afb5efee34deb5016c7e
--- mkdocs.yml
+++ mkdocs.yml
... | ... | @@ -9,9 +9,20 @@ |
9 | 9 |
language: en |
10 | 10 |
name: material |
11 | 11 |
palette: |
12 |
- scheme: default |
|
13 |
- primary: deep orange |
|
14 |
- accent: indigo |
|
12 |
+ # Palette toggle for light mode |
|
13 |
+ - scheme: default |
|
14 |
+ primary: deep orange |
|
15 |
+ accent: indigo |
|
16 |
+ toggle: |
|
17 |
+ icon: material/brightness-7 |
|
18 |
+ name: Switch to dark mode |
|
19 |
+ # Palette toggle for dark mode |
|
20 |
+ - scheme: slate |
|
21 |
+ primary: deep orange |
|
22 |
+ accent: indigo |
|
23 |
+ toggle: |
|
24 |
+ icon: material/brightness-4 |
|
25 |
+ name: Switch to light mode |
|
15 | 26 |
features: |
16 | 27 |
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/ |
17 | 28 |
- navigation.instant |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?