Skip to content

Commit

Permalink
Merge pull request #795 from egorikftp/feature/enable-dark-mode-in-mk…
Browse files Browse the repository at this point in the history
…docs

Add support for dark theme
  • Loading branch information
arkivanov authored Oct 14, 2024
2 parents 17852c5 + f427969 commit 58cf180
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 58cf180

Please sign in to comment.