getColorStyleItems
Returns the current list of color style items for the style panel, derived from the theme's color palette. Only palette colors are included; utility colors like text, background, etc. are excluded.
Colors are ordered by their position in DefaultColorStyle, followed by any additional theme colors in their object key order.
function getColorStyleItems(colors: TLThemeColors): StyleValuesForUi<string>;Parameters
| Name | Description |
|---|---|
|
Returns
StyleValuesForUi<string>;Prev
getAssetInfoNext
getCropBox