Skip to content

Commit

Permalink
Update dark mode selector
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua committed May 16, 2024
1 parent 2a9bf48 commit 487ea81
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@ theme:
- navigation.footer
- toc.follow
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
primary: black
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
name: Switch to system preference
favicon: favicon.png
logo: logo.png
icon:
Expand Down

0 comments on commit 487ea81

Please sign in to comment.