ColourPickerColour
A colour the Colour Picker can offer. value is what gets stored
TypeScript
export interfaceProperties
| Property | Type | Description |
|---|---|---|
| hex | string | The colour as the active theme paints it |
| label | string | The name shown for the colour, e.g. "Success" or "Palette 3". |
| value | string | The CSS value that gets stored, e.g. var(--ab-color-success). |
Property Details
hex
The colour as the active theme paints it
TypeScript
hex?: string;Property Value
string
label
The name shown for the colour, e.g. "Success" or "Palette 3".
TypeScript
label: string;Property Value
string
value
The CSS value that gets stored, e.g. var(--ab-color-success).
TypeScript
value: string;Property Value
string