Skip to content

Commit

Permalink
Merge pull request #3114 from esl/docs/dark_theme
Browse files Browse the repository at this point in the history
materials and mike now have dark mode for free
  • Loading branch information
arcusfelis committed May 11, 2021
2 parents 9557370 + 941247a commit fe6530b
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 @@ -8,6 +8,17 @@ docs_dir: doc
theme:
name: material
favicon: favicon.ico
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-night
name: Switch to light mode
extra:
version:
provider: mike
Expand Down

0 comments on commit fe6530b

Please sign in to comment.