Skip to content

Commit

Permalink
add mkdocs dark mode and toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzdom committed Dec 7, 2023
1 parent 5de8f06 commit bc326e7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ theme:
- navigation.instant
- navigation.tracking
- navigation.indexes
palette:
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode

# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

plugins:
- awesome-pages
Expand Down

0 comments on commit bc326e7

Please sign in to comment.