AdaptableTheme
Used for creating Custom Themes (deprecated)
export interface AdaptableTheme extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| AgThemeMode | TypeHint<string, 'light' | 'dark' | 'dark-blue'> | AG Grid theme mode applied with this theme: light, dark, dark-blue, or a custom mode defined in AG Grid. |
| CSSVariables | Record<string, string> | CSS variables this theme sets, keyed by variable name (for example --ab-color-primary). |
| Description | string | Text shown for this theme in the theme list. |
| Name | string | Theme name. For a shipped theme this is light, dark or os. |
| Variant | 'light' | 'dark' | Whether the theme is a light or dark palette. Used when AdapTable picks contrasting UI colours. |
| IsReadOnly | boolean | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full') |
Property Details
AgGridClassName
CSS class of a legacy AG Grid theme.
AgGridClassName?: string;Deprecated
Unused with the AG Grid Theming API. Pair a shipped theme with an AG Grid mode via .
Property Value
string
AgThemeMode
AG Grid theme mode applied with this theme: light, dark, dark-blue, or a custom mode defined in AG Grid.
AgThemeMode?: TypeHint<string, 'light' | 'dark' | 'dark-blue'>;Property Value
TypeHint<string, 'light' | 'dark' | 'dark-blue'>
CSSVariables
CSS variables this theme sets, keyed by variable name (for example --ab-color-primary).
CSSVariables?: Record<string, string>;Property Value
Record<string, string>
Description
Text shown for this theme in the theme list.
Description: string;Property Value
string
Name
Theme name. For a shipped theme this is light, dark or os.
Name: string;Property Value
string
Variant
Whether the theme is a light or dark palette. Used when AdapTable picks contrasting UI colours.
Variant?: 'light' | 'dark';Property Value
'light' | 'dark'
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsReadOnly?: boolean;Property Value
boolean