fix: 修复info类型button的样式特殊处理

This commit is contained in:
“huailei000”
2022-07-11 18:17:20 +08:00
committed by 老广
parent 13b91a541c
commit 3a1f0b6d38
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,12 @@
/* 这里只写element-variables里面改不动的、且和主题系列颜色相关的样式 */
/* 主题相关看该文件夹下的README.md */
/* info type special treatment */
.el-button--info {
background-color: info;
border-color: info;
}
.el-alert--info.is-light {
background-color: light-9;
color: light-2;

View File

@@ -19,7 +19,6 @@ export function changeElementColor(themeColors) {
if (['primary', 'success', 'info', 'warning', 'danger'].includes(key)) {
const blendColor = mix('ffffff', value.replace(/#/g, ''), 35)
colorsCssText = colorsCssText + `
.el-button--${key},
.el-button--${key}:focus {
background-color: ${value}!important;
border-color: ${value}!important;