소스 검색

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w 1 년 전
부모
커밋
9487156938
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/effects/hooks/src/use-design-tokens.ts

+ 2 - 0
packages/effects/hooks/src/use-design-tokens.ts

@@ -36,6 +36,8 @@ export function useAntdDesignTokens() {
     () => {
       tokens.colorPrimary = getCssVariableValue('--primary');
 
+      tokens.colorInfo = getCssVariableValue('--primary');
+
       tokens.colorError = getCssVariableValue('--destructive');
 
       tokens.colorWarning = getCssVariableValue('--warning');