mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-02 19:08:40 +08:00
fix(theme): wrong color when RadioButtonGroup checked (#626)
This commit is contained in:
parent
9b2d41ea44
commit
5eee0ceb6e
@ -27,10 +27,13 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
|
|||||||
switch (s) {
|
switch (s) {
|
||||||
case '.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon':
|
case '.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon':
|
||||||
return '.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':
|
case '.ant-steps-item-icon > .ant-steps-icon':
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
return `[data-theme] ${s}`;
|
return `[data-theme] ${s}`;
|
||||||
},
|
},
|
||||||
colorVariables: [...getThemeColors(), ...colors],
|
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[];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user