fix(web): tool-call checkmarks nearly invisible on the terracotta (light) theme
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

text-success/50 and /60 washed out to almost nothing against the light
theme's cream card background — full-opacity text-success still reads
as a calm, muted green (not alarming) but is actually visible on both
themes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 11:46:49 +02:00
parent 052230209c
commit 0f9e366ad5
2 changed files with 2 additions and 2 deletions

View File

@@ -241,7 +241,7 @@
</div> </div>
{/if} {/if}
{#if idx === messages.length - 1 && msg.text === '' && (streaming || indicatorDone || error)} {#if idx === messages.length - 1 && msg.text === '' && (streaming || indicatorDone || error)}
<div class="flex items-center gap-2 py-1 text-xs {error ? 'text-destructive' : indicatorDone ? 'text-success/50' : 'text-muted-foreground'}"> <div class="flex items-center gap-2 py-1 text-xs {error ? 'text-destructive' : indicatorDone ? 'text-success' : 'text-muted-foreground'}">
{#if error} {#if error}
<XIcon class="size-3 shrink-0" /> <XIcon class="size-3 shrink-0" />
{:else if indicatorDone} {:else if indicatorDone}

View File

@@ -14,7 +14,7 @@
const statusColor = $derived.by(() => { const statusColor = $derived.by(() => {
if (status === 'running') return 'text-primary' if (status === 'running') return 'text-primary'
if (status === 'error') return 'text-destructive' if (status === 'error') return 'text-destructive'
return 'text-success/60' return 'text-success'
}) })
const argsSummary = $derived.by(() => { const argsSummary = $derived.by(() => {