Skip to content

Commit

Permalink
default dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
29th-Day committed Dec 14, 2023
1 parent c77b234 commit 576b736
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ theme:
icon: material/brightness-auto
name: Switch to light mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-night
name: Switch to system mode
primary: teal
accent: lime

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
Expand All @@ -31,14 +40,6 @@ theme:
primary: teal
accent: purple

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-night
name: Switch to system mode
primary: teal
accent: lime

# plugins:
# - social
Expand All @@ -47,8 +48,8 @@ extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/29th-Day
version:
provider: mike
# version:
# provider: mike

markdown_extensions:
- pymdownx.highlight:
Expand Down

0 comments on commit 576b736

Please sign in to comment.