Skip to content

@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 ​

PropertyTypeDefined in
namestringui/uiThemes.ts:65
labelstringui/uiThemes.ts:66
descriptionstringui/uiThemes.ts:67
tokensUiTokensui/uiThemes.ts:68
panelRecord<UiPanelVariant, UiStyle>ui/uiThemes.ts:69
textRecord<UiTextVariant, UiStyle>ui/uiThemes.ts:70
buttonRecord<UiButtonVariant, UiStyle>ui/uiThemes.ts:71
toggleUiThemeControlui/uiThemes.ts:72
sliderUiThemeControlui/uiThemes.ts:73