Prechádzať zdrojové kódy

chore: add colorInfo in SeedToken (#4096)

resolve #4095
invalid w 1 rok pred
rodič
commit
9487156938

+ 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');