Skip to content

Commit

Permalink
+ light/dark theme toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtlePU committed Oct 6, 2024
1 parent 3772390 commit f53de80
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@ site_name: Church of Church project site
site_url: https://church-of-church-hse.github.io
theme:
name: material
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to system preference
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to light mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to dark mode

0 comments on commit f53de80

Please sign in to comment.