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.
Properties
Section titled “Properties”input?
Section titled “input?”
optionalinput?: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).
background?
Section titled “background?”
optionalbackground?: keyof ThemeColors
placeholder?
Section titled “placeholder?”
optionalplaceholder?: keyof ThemeColors
optionaltext?: keyof ThemeColors
states?
Section titled “states?”
optionalstates?:Record<string, keyofThemeColors>
Defined in: ui/theme/theme-style.ts:30
Page-name → role, for each $interaction colour-gear page.
optionaltext?: keyof ThemeColors
Defined in: ui/theme/theme-style.ts:28
Role that drives this entity’s Text.color.
visual?
Section titled “visual?”
optionalvisual?: keyof ThemeColors
Defined in: ui/theme/theme-style.ts:26
Role that drives this entity’s UIVisual.color.