Skip to content

Commit 523de8a

Browse files
authored
Merge pull request thibmaek#213 from ryanfortner/patch-1
mkdocs.yml: Add light/dark mode switch
2 parents c20b51a + bf47f7b commit 523de8a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

mkdocs.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ theme:
1616
icon: "https://www.raspberrypi.org/wp-content/uploads/2012/03/raspberry-pi-logo.png"
1717
language: "en"
1818
palette:
19-
primary: "#e30b5d"
19+
- scheme: default
20+
primary: indigo
21+
accent: indigo
22+
toggle:
23+
icon: material/toggle-switch
24+
name: Switch to dark mode
25+
- scheme: slate
26+
primary: red
27+
accent: red
28+
toggle:
29+
icon: material/toggle-switch-off-outline
30+
name: Switch to light mode
2031
feature:
2132
tabs: false
2233
extra_css:

0 commit comments

Comments
 (0)