Skip to content

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

PropertyTypeDefined in
extends?stringui/uiThemes.ts:78
label?stringui/uiThemes.ts:79
description?stringui/uiThemes.ts:80
tokens?UiTokensui/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