Skip to content

Commit

Permalink
feat(docs): add toggle for light/dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
moshevayner committed Nov 19, 2024
1 parent 78b2b87 commit 8913393
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@ theme:
logo: 'material/cloud-outline'
favicon: 'img/logo-notext.svg'
palette:
primary: 'teal'
accent: 'green'
# Palette toggle for light mode
- scheme: default
primary: 'teal'
accent: 'green'
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
plugins:
- search
- macros:
Expand Down

0 comments on commit 8913393

Please sign in to comment.