统一操作按钮样式,新增固定颜色类并应用到所有操作按钮
This commit is contained in:
@@ -18,11 +18,37 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 操作按钮固定颜色(不随主题色变化)
|
||||
.op-btn-add {
|
||||
color: #67c23a !important;
|
||||
}
|
||||
|
||||
.op-btn-edit {
|
||||
color: #409eff !important;
|
||||
}
|
||||
|
||||
.op-btn-del {
|
||||
color: #f56c6c !important;
|
||||
}
|
||||
|
||||
[data-theme='dark'] {
|
||||
// textarea - css vars
|
||||
--w-e-textarea-bg-color: var(--el-color-white) !important;
|
||||
--w-e-textarea-color: var(--el-text-color-primary) !important;
|
||||
|
||||
// 操作按钮固定颜色(不随主题色变化)
|
||||
.op-btn-add {
|
||||
color: #67c23a !important; // 新增 绿色
|
||||
}
|
||||
|
||||
.op-btn-edit {
|
||||
color: #409eff !important; // 修改 蓝色
|
||||
}
|
||||
|
||||
.op-btn-del {
|
||||
color: #f56c6c !important; // 删除 红色
|
||||
}
|
||||
|
||||
// toolbar - css vars
|
||||
--w-e-toolbar-color: var(--el-text-color-primary) !important;
|
||||
--w-e-toolbar-bg-color: var(--el-color-white) !important;
|
||||
|
||||
Reference in New Issue
Block a user