186 lines
6.3 KiB
JavaScript
186 lines
6.3 KiB
JavaScript
module.exports = [
|
|
{
|
|
"type": "heading",
|
|
"defaultValue": "Civic Segments | Settings"
|
|
},
|
|
{
|
|
"type": "section",
|
|
"items": [
|
|
{
|
|
"type": "heading",
|
|
"size": 3,
|
|
"defaultValue": "Options"
|
|
},
|
|
{
|
|
"id": "time_mg_toggle",
|
|
"type": "toggle",
|
|
"messageKey": "CLAY_SHOW_TIME_MG",
|
|
"defaultValue": false,
|
|
"label": "Show time segments midground",
|
|
"description": "Show or hide the unlit segments behind the time."
|
|
},
|
|
{
|
|
"id": "bt_indicator_toggle",
|
|
"type": "toggle",
|
|
"messageKey": "CLAY_BT_INDICATOR",
|
|
"defaultValue": false,
|
|
"label": "BT disconnect indicator",
|
|
"description": "Change the color of the digits to the configured warning color when the connection to the phone is lost."
|
|
},
|
|
{
|
|
"type": "slider",
|
|
"messageKey": "CLAY_DATE_TIMEOUT",
|
|
defaultValue: 3,
|
|
min: 0,
|
|
max: 15,
|
|
"label": "Date timeout (seconds)",
|
|
"description": "When you flick your wrist, the date will be shown for this number of seconds.<br><br>Set to 0 to disable this feature."
|
|
},
|
|
{
|
|
"type": "slider",
|
|
"messageKey": "CLAY_TEMP_BAR_0",
|
|
defaultValue: -32,
|
|
min: -50,
|
|
max: 0,
|
|
"label": "Minimum of temperature range",
|
|
"description": "Default: -32°C<br><br>Measured in Celsius, this value sets the temperature that is considered the minimum on the watchface. When it is this temperature, 0 temperature bars will be displayed. The maximum is this value +80, making the default maximum 48°C."
|
|
},
|
|
{
|
|
"type": "select",
|
|
"messageKey": "CLAY_LOW_FUEL_BARS",
|
|
"defaultValue": 2,
|
|
"label": "Low fuel indicator percentage",
|
|
"description": "The low fuel indicator will appear at this battery percentage.",
|
|
"options": [
|
|
{
|
|
"label": "disabled",
|
|
"value": 21,
|
|
},
|
|
{
|
|
"label": "10%",
|
|
"value": 2,
|
|
},
|
|
{
|
|
"label": "20%",
|
|
"value": 4,
|
|
},
|
|
{
|
|
"label": "30%",
|
|
"value": 6,
|
|
},
|
|
{
|
|
"label": "40%",
|
|
"value": 8,
|
|
},
|
|
{
|
|
"label": "50%",
|
|
"value": 10,
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "section",
|
|
"items": [
|
|
{
|
|
"type": "heading",
|
|
"size": 3,
|
|
"defaultValue": "Colors"
|
|
},
|
|
{
|
|
"id": "custom_colors_toggle",
|
|
"type": "toggle",
|
|
"messageKey": "PRIV_CUSTOM_COLORS_TOGGLE",
|
|
"defaultValue": false,
|
|
"label": "Use custom colors"
|
|
},
|
|
{
|
|
"id": "color_preset_selector",
|
|
"type": "select",
|
|
"messageKey": "PRIV_COLOR_PRESET_TOGGLE",
|
|
"defaultValue": "civic_standard",
|
|
"label": "Color Preset",
|
|
"options": [
|
|
{
|
|
"label": "Civic Standard",
|
|
"value": "civic_standard"
|
|
},
|
|
{
|
|
"label": "Civic Si",
|
|
"value": "civic_si"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom_color_led",
|
|
"type": "color",
|
|
"messageKey": "CLAY_LED_COLOR",
|
|
"defaultValue": "ffffff",
|
|
"label": "Backlight color (Time 2)",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_bg",
|
|
"type": "color",
|
|
"messageKey": "CLAY_BG_COLOR",
|
|
"defaultValue": "0000ff",
|
|
"label": "Background color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_mg_bars",
|
|
"type": "color",
|
|
"messageKey": "CLAY_BAR_MG_COLOR",
|
|
"defaultValue": "aaaaaa",
|
|
"label": "Bar midground color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_cool_bars",
|
|
"type": "color",
|
|
"messageKey": "CLAY_BAR_COOL_COLOR",
|
|
"defaultValue": "0000aa",
|
|
"label": "Bar cold/full color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_hot_bars",
|
|
"type": "color",
|
|
"messageKey": "CLAY_BAR_HOT_COLOR",
|
|
"defaultValue": "ff0000",
|
|
"label": "Bar hot/empty color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_mg_time",
|
|
"type": "color",
|
|
"messageKey": "CLAY_TIME_MG_COLOR",
|
|
"defaultValue": "555555",
|
|
"label": "Time segment midground color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_fg",
|
|
"type": "color",
|
|
"messageKey": "CLAY_FG_COLOR",
|
|
"defaultValue": "ffffff",
|
|
"label": "Foreground color",
|
|
"sunlight": false,
|
|
},
|
|
{
|
|
"id": "custom_color_warning",
|
|
"type": "color",
|
|
"messageKey": "CLAY_WARNING_COLOR",
|
|
"defaultValue": "ffaa00",
|
|
"label": "Warning indicator color",
|
|
"sunlight": false,
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "submit",
|
|
"defaultValue": "Save Settings"
|
|
}
|
|
];
|