Skip to content

Commit

Permalink
Add in toggle for dark mode in docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 14, 2024
1 parent dacf899 commit 479e7d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
site_name: insta-infra
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
nav:
- Home: index.md
- Getting Started: getting-started.md
Expand Down

0 comments on commit 479e7d9

Please sign in to comment.