mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
Add dark mode toggle to documentation (#3726)
This commit is contained in:
parent
58bd97e2b1
commit
15ca78a886
@ -16,8 +16,21 @@ theme:
|
||||
name: material
|
||||
language: en
|
||||
palette:
|
||||
primary: indigo
|
||||
accent: indigo
|
||||
- media: '(prefers-color-scheme: light)'
|
||||
scheme: default
|
||||
primary: indigo
|
||||
accent: indigo
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
- media: '(prefers-color-scheme: dark)'
|
||||
scheme: slate
|
||||
primary: indigo
|
||||
accent: indigo
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
|
||||
font:
|
||||
text: Roboto
|
||||
code: JetBrains Mono
|
||||
|
Loading…
Reference in New Issue
Block a user