mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
update darkMode setting
This commit is contained in:
parent
ff50b5d4f3
commit
21bbb5c9df
@ -146,14 +146,17 @@ export default [
|
|||||||
"experimental": true
|
"experimental": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"experimental": true,
|
||||||
"id": "darkMode",
|
"id": "darkMode",
|
||||||
"storaged": true,
|
"storaged": true,
|
||||||
"group": "aspect",
|
"group": "aspect",
|
||||||
"type": "Switch",
|
"type": "Switch",
|
||||||
"icon": "Moon",
|
"icon": "Moon",
|
||||||
"title": "Dark mode",
|
"title": "Dark mode",
|
||||||
"emitEvent": "darkMode",
|
"emitEvent": "theme.applyVariant",
|
||||||
"experimental": true
|
"emissionValueUpdate": (value) => {
|
||||||
|
return value ? "dark" : "light"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "primaryColor",
|
"id": "primaryColor",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user