We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f739af5 commit ec69fdaCopy full SHA for ec69fda
1 file changed
src/factories/createStyles/types.ts
@@ -1,4 +1,5 @@
1
import type {
2
+ AntdToken,
3
BaseReturnType,
4
CommonStyleUtils,
5
FullStylish,
@@ -16,7 +17,10 @@ export interface CreateStylesUtils extends CommonStyleUtils {
16
17
* 包含 antd 的 token 和所有自定义 token
18
*/
19
token: FullToken;
- cssVar: FullToken;
20
+ /**
21
+ * 支持通过 cssVar 访问的 antd Token,[不包含自定义 Token](https://github.com/ant-design/antd-style/issues/199)
22
+ */
23
+ cssVar: AntdToken;
24
stylish: FullStylish;
25
/**
26
* ThemeProvider 下当前的主题模式
0 commit comments