Merge pull request 'Add dark and light theme mode to docs, detection, and button' (#360) from r3g_5z/akkoma:docs-dark-mode into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/360
This commit is contained in:
commit
bfcc7404fe
|
@ -12,6 +12,19 @@ theme:
|
||||||
- navigation.instant
|
- navigation.instant
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
palette:
|
palette:
|
||||||
|
- 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'
|
primary: 'deep purple'
|
||||||
accent: 'blue grey'
|
accent: 'blue grey'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue