ColourPickerColour

View as Markdown

A colour the Colour Picker can offer. value is what gets stored

TypeScript
export interface

Properties

PropertyTypeDescription
hexstringThe colour as the active theme paints it
labelstringThe name shown for the colour, e.g. "Success" or "Palette 3".
valuestringThe 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