More settings implementation

This commit is contained in:
2026-05-30 17:42:43 -04:00
parent 8e588af378
commit 748ad13cd4
6 changed files with 120 additions and 72 deletions
+17 -7
View File
@@ -12,6 +12,7 @@ module.exports = [
"defaultValue": "Options"
},
{
"id": "time_mg_toggle",
"type": "toggle",
"messageKey": "CLAY_SHOW_TIME_MG",
"defaultValue": false,
@@ -30,13 +31,15 @@ module.exports = [
{
"id": "custom_colors_toggle",
"type": "toggle",
"messageKey": "PRIV_CUSTOM_COLORS_TOGGLE",
"defaultValue": false,
"label": "Use custom colors"
},
{
"id": "color_preset_selector",
"type": "select",
"defaultValue": "Standard",
"messageKey": "PRIV_COLOR_PRESET_TOGGLE",
"defaultValue": "civic_standard",
"label": "Color Preset",
"options": [
{
@@ -52,10 +55,9 @@ module.exports = [
{
"id": "custom_color_led",
"type": "color",
"capabilities": ["PLATFORM_EMERY"],
"messageKey": "CLAY_LED_COLOR",
"defaultValue": "0000ff",
"label": "LED color",
"defaultValue": "ffffff",
"label": "Backlight color (Time 2)",
"sunlight": false,
},
{
@@ -67,11 +69,19 @@ module.exports = [
"sunlight": false,
},
{
"id": "custom_color_mg",
"id": "custom_color_mg_bars",
"type": "color",
"messageKey": "CLAY_MG_COLOR",
"messageKey": "CLAY_BAR_MG_COLOR",
"defaultValue": "aaaaaa",
"label": "Midground color",
"label": "Bar midground color",
"sunlight": false,
},
{
"id": "custom_color_mg_time",
"type": "color",
"messageKey": "CLAY_TIME_MG_COLOR",
"defaultValue": "555555",
"label": "Time segment midground color",
"sunlight": false,
},
{