Skip to content

Commit

Permalink
set dark mode as default
Browse files Browse the repository at this point in the history
  • Loading branch information
KeltonMVP committed Jun 3, 2024
1 parent c09ffa1 commit 1db4812
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ theme:
- search.suggest

palette:
# Auto theme
- media: "(prefers-color-scheme)"
primary: black
accent: deep purple
toggle:
icon: material/brightness-auto
name: Switch to dark mode

# Toggle dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
Expand All @@ -47,7 +39,15 @@ theme:
accent: deep purple
toggle:
icon: material/weather-sunny
name: Switch to system preferences
name: Switch to dark mode

# Auto theme
- media: "(prefers-color-scheme)"
primary: black
accent: deep purple
toggle:
icon: material/brightness-auto
name: Switch to auto mode

# Used plugins
plugins:
Expand Down

0 comments on commit 1db4812

Please sign in to comment.