Skip to content

Commit

Permalink
Update mkdocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-0-0 authored Aug 12, 2023
1 parent 5d96573 commit 56cc4bb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
theme:
language: zh
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
name: Switch to light mode

0 comments on commit 56cc4bb

Please sign in to comment.