fix: tooltip 文字颜色与背景同色 - 精确匹配 is-dark/is-light 选择器
This commit is contained in:
@@ -194,11 +194,27 @@ body {
|
||||
}
|
||||
|
||||
/* Tooltip */
|
||||
.el-tooltip__popper {
|
||||
.el-tooltip__popper.is-dark {
|
||||
background: var(--bg-tertiary) !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.el-tooltip__popper.is-dark .el-popper__arrow::before {
|
||||
background: var(--bg-tertiary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
}
|
||||
|
||||
.el-tooltip__popper.is-light {
|
||||
background: var(--bg-secondary) !important;
|
||||
color: var(--text-primary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
}
|
||||
|
||||
.el-tooltip__popper.is-light .el-popper__arrow::before {
|
||||
background: var(--bg-secondary) !important;
|
||||
border-color: var(--border-color) !important;
|
||||
}
|
||||
|
||||
/* Message */
|
||||
.el-message {
|
||||
background: var(--bg-secondary) !important;
|
||||
|
||||
Reference in New Issue
Block a user