We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在每个theme bean中指定具体的handler,过于繁琐,可否提供一个缺省值
@Theme() export class ThemeDefault extends BeanBase<ScopeModule> implements ThemeBase { async apply({ name: _name, dark }: ThemeApplyParams): Promise<ThemeApplyResult> { const token: ThemeToken = { color: { primary: '#1976d2', }, var: { borderColor: '#297acc', }, component: { page: { background: dark ? '#121212' : '#fff', color: dark ? '#fff' : '#000', }, }, }; return { token, handler: 'a-devui.tool.themeHandler' }; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
诉求
在每个theme bean中指定具体的handler,过于繁琐,可否提供一个缺省值
关键问题
The text was updated successfully, but these errors were encountered: