Skip to content

Commit

Permalink
Color palette toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
altinocoelho committed Nov 5, 2023
1 parent 59e0831 commit 1ce4380
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
site_name: My Docs
theme:
name: material
palette:
# Palette toggle for light mode
- scheme: default
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

0 comments on commit 1ce4380

Please sign in to comment.