Browse Source

chore: add colorInfo in SeedToken (#4096)

resolve #4095
pull/4099/head
invalid w 2 years ago
committed by GitHub
parent
commit
9487156938
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/effects/hooks/src/use-design-tokens.ts

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

Loading…
Cancel
Save