跳转到内容

ThemeStyleData

此内容尚不支持你的语言。

Defined in: ui/theme/theme-style.ts:24

core-ui.ts

The stable UI surface promoted into the top-level esengine namespace (text, UINode box visuals, interaction, layout, theme).

This is the curated public UI API. The complete UI module surface — which also includes low-level text/atlas internals and engine-internal composition glue (e.g. EntityStateMap, ensureComponent) — lives in ./ui and is imported module-directly by the SDK code that needs it. Those internals are intentionally NOT re-exported here, so the public esengine namespace stays a stable, intentional surface.

Re-exported wholesale by core.ts.

optional input?: object

Defined in: ui/theme/theme-style.ts:33

Roles that drive a TextInput’s background / text / placeholder colors (the input plugin owns its UIVisual, so those fields are the source).

optional background?: keyof ThemeColors

optional placeholder?: keyof ThemeColors

optional text?: keyof ThemeColors


optional states?: Record<string, keyof ThemeColors>

Defined in: ui/theme/theme-style.ts:30

Page-name → role, for each $interaction colour-gear page.


optional text?: keyof ThemeColors

Defined in: ui/theme/theme-style.ts:28

Role that drives this entity’s Text.color.


optional visual?: keyof ThemeColors

Defined in: ui/theme/theme-style.ts:26

Role that drives this entity’s UIVisual.color.