Retrieves the style definitions declared in the selected component's manifest, including cssProperties and cssCustomProperties.
Promise<ElementStyleDefinitions>
| Property | Type | Description |
|---|---|---|
cssProperties | object | Definitions for each declared CSS property, keyed by property name. |
cssCustomProperties | object | Definitions for each declared CSS custom property, keyed by property name. |
Each definition can include:
| Property | Type | Description |
|---|---|---|
displayName | string | The label for the property in auto panels. |
defaultValue | string | The default value declared in the manifest. |
statesDefaultValues | object | Default values for this property in each declared state, keyed by state key. |
cssPropertyType | string | For cssCustomProperties only: the control type the property renders as, such as 'color'. |
Last updated: 8 September 2026