Skip to content

Commit

Permalink
materials and mike now have dark mode for free!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed May 10, 2021
1 parent 9557370 commit 941247a
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 941247a

Please sign in to comment.