提交 f4af2311 编写于 作者: V Vben

fix(button): ghost style

上级 38f50726
...@@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin { ...@@ -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;
......
...@@ -185,7 +185,7 @@ ...@@ -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 @@ ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册