Skip to content

Commit

Permalink
dark mode docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Nov 4, 2024
1 parent e39ace0 commit ae18cbd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,20 @@ theme:
- content.code.annotate
- announce.dismiss
palette:
primary: green
accent: teal
- media: "(prefers-color-scheme: light)"
scheme: default
primary: green
accent: teal
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: "#2E7D32"
accent: "#00897B"
toggle:
icon: material/brightness-4
name: Switch to light mode
name: material
logo: assets/logos/raggy.png
favicon: assets/logos/raggy.png
Expand Down

0 comments on commit ae18cbd

Please sign in to comment.