Parcourir la source

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w il y a 1 an
Parent
commit
9487156938
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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');