Skip to content

Commit

Permalink
Add dark mode to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timvink committed Dec 24, 2021
1 parent 3122c5d commit dc4200f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ theme:
repo: fontawesome/brands/github
features:
- content.tabs.link
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: blue
accent: blue
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: blue
accent: blue

plugins:
- search
Expand Down

0 comments on commit dc4200f

Please sign in to comment.