Browse Source

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w 1 năm trước cách đây
mục cha
commit
9487156938
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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');