Add initial configuration

This commit is contained in:
2026-05-25 17:34:18 -04:00
parent 476ed3eb9d
commit 8e588af378
5 changed files with 182 additions and 1 deletions
+91
View File
@@ -0,0 +1,91 @@
module.exports = [
{
"type": "heading",
"defaultValue": "Civic Segments | Settings"
},
{
"type": "section",
"items": [
{
"type": "heading",
"size": 3,
"defaultValue": "Options"
},
{
"type": "toggle",
"messageKey": "CLAY_SHOW_TIME_MG",
"defaultValue": false,
"label": "Show time segments midground"
}
]
},
{
"type": "section",
"items": [
{
"type": "heading",
"size": 3,
"defaultValue": "Colors"
},
{
"id": "custom_colors_toggle",
"type": "toggle",
"defaultValue": false,
"label": "Use custom colors"
},
{
"id": "color_preset_selector",
"type": "select",
"defaultValue": "Standard",
"label": "Color Preset",
"options": [
{
"label": "Civic Standard",
"value": "civic_standard"
},
{
"label": "Civic Si",
"value": "civic_si"
}
]
},
{
"id": "custom_color_led",
"type": "color",
"capabilities": ["PLATFORM_EMERY"],
"messageKey": "CLAY_LED_COLOR",
"defaultValue": "0000ff",
"label": "LED color",
"sunlight": false,
},
{
"id": "custom_color_bg",
"type": "color",
"messageKey": "CLAY_BG_COLOR",
"defaultValue": "0000ff",
"label": "Background color",
"sunlight": false,
},
{
"id": "custom_color_mg",
"type": "color",
"messageKey": "CLAY_MG_COLOR",
"defaultValue": "aaaaaa",
"label": "Midground color",
"sunlight": false,
},
{
"id": "custom_color_fg",
"type": "color",
"messageKey": "CLAY_FG_COLOR",
"defaultValue": "ffffff",
"label": "Foreground color",
"sunlight": false,
}
]
},
{
"type": "submit",
"defaultValue": "Save Settings"
}
];