We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
运行时即可通过css变量使用,当App切换模式时,变量值会自动切换,达到界面色值变化的效果。
因此,需要在组件中使用css及颜色变量,而非颜色值(或Color对象)。
目前不推荐
渲染时,通过ColorRef和模式变量获得当前环境对应的Color并使用。
但目前开发框架没有提供App切换时自动触发所有组件的渲染操作,所以组件内需要注册AppearanceService::onModeChanged并完成响应。
Project Management
Contributing