@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / UiThemeFile
Type Alias: UiThemeFile ​
ts
type UiThemeFile = {
extends?: string;
label?: string;
description?: string;
tokens?: UiTokens;
panel?: Partial<Record<UiPanelVariant, UiStyle>>;
text?: Partial<Record<UiTextVariant, UiStyle>>;
button?: Partial<Record<UiButtonVariant, UiStyle>>;
toggle?: Partial<UiThemeControl>;
slider?: Partial<UiThemeControl>;
};Defined in: ui/uiThemes.ts:77
A theme file: any part of a theme, laid over the one it extends.
Properties ​
| Property | Type | Defined in |
|---|---|---|
extends? | string | ui/uiThemes.ts:78 |
label? | string | ui/uiThemes.ts:79 |
description? | string | ui/uiThemes.ts:80 |
tokens? | UiTokens | ui/uiThemes.ts:81 |
panel? | Partial<Record<UiPanelVariant, UiStyle>> | ui/uiThemes.ts:82 |
text? | Partial<Record<UiTextVariant, UiStyle>> | ui/uiThemes.ts:83 |
button? | Partial<Record<UiButtonVariant, UiStyle>> | ui/uiThemes.ts:84 |
toggle? | Partial<UiThemeControl> | ui/uiThemes.ts:85 |
slider? | Partial<UiThemeControl> | ui/uiThemes.ts:86 |

