You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
// do not use same name, it will override.
$colors: $--colors,
$button-padding-horizontal: ('default': 50px),
$button: ('hover-bg-color': #000, 'text-color': red,), # 可以覆盖el-button的hover-bg-color值,但是不知道怎么写才能覆盖el-button-primary的hover-bg-color。
);
The text was updated successfully, but these errors were encountered:
现在的scss只能覆盖el-button类型,不能覆盖el-button--primary, el-button--success等等类型。
我没找到如果通过@forward覆盖el-button-primary的方法,如果可以实现请给我一个例子,谢谢。
The text was updated successfully, but these errors were encountered: