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:
Shantur Rathore
2026-02-03 22:09:02 +00:00
parent f1520be777
commit 86db407c0b
3 changed files with 6 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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);
}