Skip to content

Commit adf84b8

Browse files
Add primary and accent colors for dark mode toggle in MkDocs theme configuration
1 parent ea00a5e commit adf84b8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ theme:
1919
# Palette toggle for automatic mode
2020
- media: '(prefers-color-scheme)'
2121
toggle:
22+
primary: black
23+
accent: green
2224
icon: material/link
2325
name: Switch to dark mode
2426
# Palette toggle for dark mode

0 commit comments

Comments
 (0)