Skip to content

Commit

Permalink
docs: Add dark mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudater authored and twpayne committed Jul 23, 2022
1 parent 10a07ca commit 150144e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions assets/chezmoi.io/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ theme:
name: material
logo: logo.svg
language: en
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
features:
- navigation.expand
- navigation.indexes
Expand Down

0 comments on commit 150144e

Please sign in to comment.