Unverified 提交 5eee0ceb 作者: 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论