Skip to content

Commit 3e36a41

Browse files
committed
Update mkdocs.yml to reorder theme palette for improved dark/light mode toggle
- Swapped the positions of the slate and default color schemes in the theme palette. - Adjusted toggle icons and names to ensure clarity when switching between dark and light modes. - Enhanced overall user experience by making the theme configuration more intuitive.
1 parent b066d75 commit 3e36a41

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mkdocs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ theme:
44
name: material
55
custom_dir: docs/overrides
66
palette:
7-
- scheme: slate
8-
primary: black
9-
accent: black
10-
toggle:
11-
icon: material/weather-night
12-
name: Switch to light mode
137
- scheme: default
148
primary: indigo
159
accent: indigo
1610
toggle:
17-
icon: material/weather-sunny
11+
icon: material/weather-night
1812
name: Switch to dark mode
13+
- scheme: slate
14+
primary: black
15+
accent: black
16+
toggle:
17+
icon: material/weather-sunny
18+
name: Switch to light mode
1919
features:
2020
- announce.dismiss
2121
- navigation.instant

0 commit comments

Comments
 (0)