Configuration Label Widget
Defined in src/index.ts. Options and defaults:
Content:
Key:
contentType:
string(required)Purpose: Text rendered by the label.
Default:
"Label"
Font family:
Key:
fontFamilyType:
stringDefault:
"sans-serif"
Font size:
Key:
fontSizeType:
string(CSS size)Default:
"16px"
Text color:
Key:
colorType:
string(CSS color)Default:
"var(--text-color)"
Alignment:
Key:
textAlignType:
'left'|'center'|'right'|'justify'Default:
"left"
Custom CSS:
Key:
customCssType:
stringPurpose: Additional CSS applied to the root element.
Default:
""
Quick recipe
{
"content": "Observing Mode",
"fontFamily": "Inter, sans-serif",
"fontSize": "20px",
"color": "#334155",
"textAlign": "center"
}