Skip to content

Commit

Permalink
Updated mkdocs.yml (#5957)
Browse files Browse the repository at this point in the history
added feature to toggle between light and dark mode
  • Loading branch information
Siddhu2502 authored Oct 29, 2023
1 parent 8b86648 commit a6cf25a
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
Expand Up @@ -40,6 +40,17 @@ theme:
palette:
primary: blue
accent: light blue
# 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

extra_css:
- extra.css
markdown_extensions:
Expand Down

0 comments on commit a6cf25a

Please sign in to comment.