跳转到内容

applyThemeToWorld

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

applyThemeToWorld(world): void

Defined in: ui/behavior/theme-apply.ts:31

Re-resolve every ThemeStyle entity’s role bindings and write the active theme’s colors into its UIVisual/Text/$interaction colour gear pages. The existing alpha is preserved — only the hue re-themes — so a dimmed disabled state keeps its transparency, and a caller’s translucency survives a swap.

World

void