Ver Fonte

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w há 1 ano atrás
pai
commit
9487156938
1 ficheiros alterados com 2 adições e 0 exclusões
  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');