Browse Source

fix: config provider theme active color not same in variable.less (#5929)

pull/5933/head
Peritot Chan 2 years ago committed by GitHub
parent
commit
00422ac77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/config-provider/cssVariables.tsx

2
components/config-provider/cssVariables.tsx

@ -28,7 +28,7 @@ export function registerTheme(globalPrefixCls: string, theme: Theme) {
variables[`${type}-color`] = formatColor(baseColor);
variables[`${type}-color-disabled`] = colorPalettes[1];
variables[`${type}-color-hover`] = colorPalettes[4];
variables[`${type}-color-active`] = colorPalettes[7];
variables[`${type}-color-active`] = colorPalettes[6];
variables[`${type}-color-outline`] = baseColor.clone().setAlpha(0.2).toRgbString();
variables[`${type}-color-deprecated-bg`] = colorPalettes[1];
variables[`${type}-color-deprecated-border`] = colorPalettes[3];

Loading…
Cancel
Save