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
主题支持自定义 token map,用于将字号(设计规范中的字阶)引入 token 系统
export interface ITheme { ... /** * 用户自定义的语义化 token,可以在主题中以 ITokenKey 的形式引用并作为常量赋值 * @since 1.10.0 */ tokenMap?: Record<string, any>; } /** 语义化 token 的索引 */ export interface ITokenKey<T = any> { /** type 声明 */ type: 'token'; /** token key */ key: string; /** 默认值,在没有取到 key 对应的值时返回 */ default?: T; }
The text was updated successfully, but these errors were encountered:
zamhown
Successfully merging a pull request may close this issue.
What problem does this feature solve?
主题支持自定义 token map,用于将字号(设计规范中的字阶)引入 token 系统
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: