diff --git a/packages/effects/hooks/src/use-design-tokens.ts b/packages/effects/hooks/src/use-design-tokens.ts index 8cf4f922a..9bd129a1e 100644 --- a/packages/effects/hooks/src/use-design-tokens.ts +++ b/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');