@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / UiTheme
Type Alias: UiTheme ​
ts
type UiTheme = {
name: string;
label: string;
description: string;
tokens: UiTokens;
panel: Record<UiPanelVariant, UiStyle>;
text: Record<UiTextVariant, UiStyle>;
button: Record<UiButtonVariant, UiStyle>;
toggle: UiThemeControl;
slider: UiThemeControl;
};Defined in: ui/uiThemes.ts:64
Properties ​
| Property | Type | Defined in |
|---|---|---|
name | string | ui/uiThemes.ts:65 |
label | string | ui/uiThemes.ts:66 |
description | string | ui/uiThemes.ts:67 |
tokens | UiTokens | ui/uiThemes.ts:68 |
panel | Record<UiPanelVariant, UiStyle> | ui/uiThemes.ts:69 |
text | Record<UiTextVariant, UiStyle> | ui/uiThemes.ts:70 |
button | Record<UiButtonVariant, UiStyle> | ui/uiThemes.ts:71 |
toggle | UiThemeControl | ui/uiThemes.ts:72 |
slider | UiThemeControl | ui/uiThemes.ts:73 |

