fix(ui): restore tool call colors in dark mode
Use a dedicated --text-on-accent token for accent chips/checkmarks and tweak task list item surfaces so task/todo renderers keep contrast in dark mode.
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
font-size: var(--font-size-sm);
|
||||
font-family: var(--font-family-mono);
|
||||
line-height: 1.35;
|
||||
background-color: var(--surface-code);
|
||||
background-color: var(--surface-secondary);
|
||||
transition: background-color 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
.tool-call-todo-checkbox[data-status="completed"] {
|
||||
background-color: var(--accent-primary);
|
||||
border-color: var(--accent-primary);
|
||||
color: var(--text-inverted);
|
||||
color: var(--text-on-accent, #ffffff);
|
||||
}
|
||||
|
||||
.tool-call-todo-checkbox[data-status="completed"]::after {
|
||||
@@ -155,5 +155,5 @@
|
||||
|
||||
.tool-call-todo-item-active .tool-call-todo-tag {
|
||||
background-color: var(--accent-primary);
|
||||
color: var(--text-inverted);
|
||||
color: var(--text-on-accent, #ffffff);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
--text-secondary: #334155;
|
||||
--text-muted: #475569;
|
||||
--text-inverted: #ffffff;
|
||||
--text-on-accent: #ffffff;
|
||||
|
||||
/* Accent tokens */
|
||||
--accent-primary: #0066ff;
|
||||
@@ -191,6 +192,7 @@
|
||||
--text-secondary: #999999;
|
||||
--text-muted: #999999;
|
||||
--text-inverted: #1a1a1a;
|
||||
--text-on-accent: #f5f6f8;
|
||||
|
||||
/* Accent tokens */
|
||||
--accent-primary: #0080ff;
|
||||
@@ -357,6 +359,7 @@
|
||||
--text-secondary: #999999;
|
||||
--text-muted: #999999;
|
||||
--text-inverted: #1a1a1a;
|
||||
--text-on-accent: #f5f6f8;
|
||||
|
||||
/* Accent tokens */
|
||||
--accent-primary: #0080ff;
|
||||
|
||||
Reference in New Issue
Block a user