Skip to content

Commit

Permalink
Add support for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
egorikftp committed Oct 13, 2024
1 parent 17852c5 commit f427969
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,18 @@ theme:
- navigation.tabs
- navigation.expand
palette:
scheme: default
primary: indigo
accent: indigo
# Palette toggle for light mode
- scheme: default
primary: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
font:
text: Roboto
code: Roboto Mono
Expand Down

0 comments on commit f427969

Please sign in to comment.