fix(webui): deepen the primary violet and give links their own tint

The bright violet passed the contrast ratio on paper and failed in the
hand: black-on-purple vibrated at button and FAB sizes. The primary surface
is now deep enough for white labels, and link text on the canvas uses a
dedicated lighter tint, since one violet cannot be both a dark-enough
surface and a light-enough text colour. Also drops an empty-state
description that restated its title.
This commit is contained in:
sam committed 2026-09-21 00:10:10 +10:00
1 parent a855573b12
commit 799a7a8249
11 files changed
+39 -42

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ const PROMPTS = ["Summarise active tasks", "Show running agents", "Check system
<div class="w-full self-center justify-self-center py-6 text-center">
<span
aria-hidden="true"
class="mx-auto mb-3 grid size-9 place-items-center rounded-xl border border-border-strong font-bold text-primary"
class="mx-auto mb-3 grid size-9 place-items-center rounded-xl border border-border-strong font-bold text-link"
>A</span
>
<h2 class="text-lg font-semibold tracking-[-0.02em]">What are we working on?</h2>
+1 -1
View File
@@ -26,7 +26,7 @@ defineProps<{ inline: ChatInline[] }>();
:href="span.href"
target="_blank"
rel="noreferrer"
class="text-primary underline-offset-4 hover:underline"
class="text-link underline-offset-4 hover:underline"
>{{ span.text }}</a
>
<em v-else-if="span.kind === 'em'">{{ span.text }}</em>
+1 -1
View File
@@ -18,7 +18,7 @@ defineProps<{ path: string; label?: string }>();
<RouterLink
:to="path"
:title="`Go to ${label || path}`"
class="inline-flex max-w-full items-center gap-1.5 rounded-full border border-primary/45 bg-primary-soft px-2.5 py-1 text-xs font-semibold text-primary transition-colors hover:border-primary hover:bg-primary/15 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
class="inline-flex max-w-full items-center gap-1.5 rounded-full border border-primary/45 bg-primary-soft px-2.5 py-1 text-xs font-semibold text-link transition-colors hover:border-primary hover:bg-primary/15 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
>
<ArrowUpRight aria-hidden="true" class="size-3.5 shrink-0" />
<span class="truncate">{{ label || path }}</span>