Interface: TextColorOptions
Options for textColor().
Properties
| Property | Type | Description |
|---|---|---|
background? | string | Background the text is read on, for the contrast check (hex). Default '#ffffff'. A colour under 4.5:1 (WCAG AA) logs a warning while you develop. var() colours are not checked. |
colors | readonly ColorOption[] | The colours the user can choose. Text without a colour uses the editor's own. |