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