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:
Joe Allen
2026-08-19 11:05:21 +08:00
parent f07eaae99c
commit 47de6452b4
2 changed files with 76 additions and 1 deletions
+1 -1
View File
@@ -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;