mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(session-ui): use yellow 900 for cancelled notices in light mode (#57790)
This commit is contained in:
committed by
GitHub
Unverified
parent
126d73b2fe
commit
0b0a60cdf6
@@ -1130,7 +1130,7 @@ function outcomeNoticeColor(outcome: Outcome | undefined) {
|
||||
|
||||
if (outcome === "error") return "text-v2-state-fg-danger"
|
||||
|
||||
if (outcome === "cancelled") return "text-v2-state-fg-warning"
|
||||
if (outcome === "cancelled") return "text-[var(--v2-yellow-900)] [[data-color-scheme=dark]_&]:text-v2-state-fg-warning"
|
||||
|
||||
return "text-v2-text-text-code-accent"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user