Skip to content

Commit

Permalink
documentation: Improve theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Oct 13, 2024
1 parent 82ab68b commit 3ede29f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,22 @@ theme:
logo: assets/icon.svg
favicon: assets/icon.svg
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
toggle:
icon: material/brightness-7
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to light mode
icon: material/toggle-switch-off
name: Switch to system preference
features:
# - navigation.instant
- navigation.tracking
Expand Down

0 comments on commit 3ede29f

Please sign in to comment.