Sfoglia il codice sorgente

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w 1 anno fa
parent
commit
9487156938
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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');