Theme tokens
Theme Tokens
Core:AppTheme / BrandTheme / SceneStyle / ThemeMode
Multi-scene theme engine — color, radius, type scale hot-reload.
val currentTheme = AppTheme.current.sceneStyleDynamic stateTheme guide →
/api · tooling layer
Enterprise Engine SpecTooling layer (not the component supermarket). Runtime contracts for theme, i18n, errors, time, storage, and neumorphism.
Theme Tokens
Core:AppTheme / BrandTheme / SceneStyle / ThemeMode
Multi-scene theme engine — color, radius, type scale hot-reload.
val currentTheme = AppTheme.current.sceneStyleInternationalization
Core:tr() · StringCatalog
UI must not hardcode CJK — keys + catalogs only.
Text(tr(OrderStrings.TITLE))Error model
Core:AppError · UserMessageResolver
User-safe messages only — never raw stacks.
UserMessageResolver.resolve(error)Display time
Core:Asia/Shanghai · docs/140
Never show raw epoch in UI — Beijing time strings.
formatBeijing(instant)Ports
Core:KeyValueStore / SecureStore
No plaintext secrets in plain KV.
secureStore.put(token)Visual protocol
Core:NeoConvexCard / VisualEffects
Convex / concave / CTA glow — docs/127.
NeoConvexCard { … }