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
Shouldn't the Emotion theme type be extended with GlobalToken https://github.com/ant-design/ant-design/blob/1f657398a33aa197d1c85f1f89bd337aaf7f2a47/components/theme/interface/index.ts#L9 instead of ThemeConfig ? Token returned from antTheme.useToken() is of type GlobalToken and has a different shape (e.g. components inlined with tokens)
antTheme.useToken()
GlobalToken
antd-emotion-dynamic-theme/src/theme/types.d.ts
Line 4 in ec62bf8
export interface Theme { token: GlobalToken; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Shouldn't the Emotion theme type be extended with GlobalToken https://github.com/ant-design/ant-design/blob/1f657398a33aa197d1c85f1f89bd337aaf7f2a47/components/theme/interface/index.ts#L9 instead of ThemeConfig ? Token returned from
antTheme.useToken()
is of typeGlobalToken
and has a different shape (e.g. components inlined with tokens)antd-emotion-dynamic-theme/src/theme/types.d.ts
Line 4 in ec62bf8
The text was updated successfully, but these errors were encountered: