update darkMode setting

This commit is contained in:
srgooglo 2022-05-12 17:21:30 +02:00
parent ff50b5d4f3
commit 21bbb5c9df

View File

@ -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",