提交 f4af2311 作者: 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) => {
m.importedModules = new Set(); if (!m.url.match(/\.(css|less)/)) {
m.importers = new Set(); m.importedModules = 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论