fix: dark mode color variables
- Override --el-color-white to dark bg to prevent white text on colored backgrounds - Add comprehensive Element Plus dark mode variables (input, table, tag, dialog, select, checkbox, switch, etc.) - Fix hardcoded color: #fff in SendPanel toggle-badge to use CSS variable - Add missing --el-bg-color-page, --el-fill-color-dark, --el-fill-color-blank
This commit is contained in:
@@ -402,7 +402,7 @@ function onBindingChange(name: string, value: string) {
|
||||
.toggle-badge {
|
||||
font-size: 10px;
|
||||
background: var(--el-color-primary);
|
||||
color: #fff;
|
||||
color: var(--comfort-text, var(--el-color-white));
|
||||
padding: 0 4px;
|
||||
border-radius: 6px;
|
||||
line-height: 14px;
|
||||
|
||||
Reference in New Issue
Block a user