Skip to content

Commit

Permalink
docs: enable dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 3, 2024
1 parent 2436ade commit 4cfa829
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,18 @@ theme:
favicon: img/favicon.ico
logo: img/logo.svg
palette:
primary: white
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
toggle:
icon: material/brightness-7
name: Switch to dark mode

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

markdown_extensions:
- abbr
Expand Down

0 comments on commit 4cfa829

Please sign in to comment.