Skip to content

Commit

Permalink
Suggestion to make light mode simpler (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot authored Aug 9, 2024
1 parent 5b9941d commit d7b468c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions mkdocs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,20 @@ theme:
logo: assets/logo-white.png
favicon: assets/favicon.png
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep orange
accent: deep orange
toggle:
icon: material/toggle-switch
icon: material/white-balance-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: deep orange
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
icon: material/moon-waxing-crescent
name: Switch to light mode
font:
text: Roboto
code: Roboto Mono
Expand Down

0 comments on commit d7b468c

Please sign in to comment.