mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 12:36:11 +00:00
Add dark and light theme mode to docs, detection, and button
my eyes hurt Signed-off-by: r3g_5z <june@girlboss.ceo>
This commit is contained in:
parent
59fde45b36
commit
fbfffccc1d
|
@ -12,8 +12,21 @@ theme:
|
|||
- navigation.instant
|
||||
- navigation.sections
|
||||
palette:
|
||||
primary: 'deep purple'
|
||||
accent: 'blue grey'
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
primary: 'deep purple'
|
||||
accent: 'blue grey'
|
||||
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
primary: 'deep purple'
|
||||
accent: 'blue grey'
|
||||
|
||||
extra_css:
|
||||
- css/extra.css
|
||||
|
|
Loading…
Reference in a new issue