Skip to content

Commit

Permalink
Merge pull request #13 from redbrick/add-darkmode
Browse files Browse the repository at this point in the history
add mkdocs dark mode and toggle
  • Loading branch information
wizzdom authored Dec 7, 2023
2 parents 441bfa2 + bc326e7 commit 3b6634f
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 3b6634f

Please sign in to comment.