未验证 提交 5eee0ceb 编写于 作者: N Netfan 提交者: GitHub

fix(theme): wrong color when RadioButtonGroup checked (#626)

上级 9b2d41ea
......@@ -27,10 +27,13 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
switch (s) {
case '.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon':
return '.ant-steps-item-icon > .ant-steps-icon';
case '.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)':
case '.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover':
case '.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active':
return s;
case '.ant-steps-item-icon > .ant-steps-icon':
return s;
}
return `[data-theme] ${s}`;
},
colorVariables: [...getThemeColors(), ...colors],
......@@ -58,5 +61,5 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
}),
];
return (plugin as unknown) as Plugin[];
return plugin as unknown as Plugin[];
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册