fix(button): ghost style

This commit is contained in:
Vben 2021-04-19 23:51:43 +08:00
parent 38f5072695
commit f4af231172
2 changed files with 6 additions and 4 deletions

View File

@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin {
if (file.match(/xml$/)) return []; if (file.match(/xml$/)) return [];
modules.forEach((m) => { modules.forEach((m) => {
if (!m.url.match(/\.(css|less)/)) {
m.importedModules = new Set(); m.importedModules = new Set();
m.importers = new Set(); m.importers = new Set();
}
}); });
return modules; return modules;

View File

@ -185,7 +185,7 @@
} }
} }
&-ghost { &-background-ghost {
color: @button-ghost-color; color: @button-ghost-color;
background-color: transparent; background-color: transparent;
border-color: @button-ghost-color; border-color: @button-ghost-color;
@ -193,7 +193,7 @@
&:hover, &:hover,
&:focus { &:focus {
color: @button-ghost-hover-color; color: @button-ghost-hover-color !important;
background-color: @button-ghost-hover-bg-color; background-color: @button-ghost-hover-bg-color;
border-color: @button-ghost-hover-color; border-color: @button-ghost-hover-color;
} }