diff --git a/ui/src/chat/ChatEmptyState.vue b/ui/src/chat/ChatEmptyState.vue
index c53a1f202..3ccae1342 100644
--- a/ui/src/chat/ChatEmptyState.vue
+++ b/ui/src/chat/ChatEmptyState.vue
@@ -15,7 +15,7 @@ const PROMPTS = ["Summarise active tasks", "Show running agents", "Check system
A
What are we working on?
diff --git a/ui/src/chat/ChatInline.vue b/ui/src/chat/ChatInline.vue
index 5bda2d0a1..ddce3bf48 100644
--- a/ui/src/chat/ChatInline.vue
+++ b/ui/src/chat/ChatInline.vue
@@ -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 }}
{{ span.text }}
diff --git a/ui/src/chat/ChatNavChip.vue b/ui/src/chat/ChatNavChip.vue
index e8e9cb33d..6b821be06 100644
--- a/ui/src/chat/ChatNavChip.vue
+++ b/ui/src/chat/ChatNavChip.vue
@@ -18,7 +18,7 @@ defineProps<{ path: string; label?: string }>();
{{ label || path }}
diff --git a/ui/src/components/topbar/Logo.vue b/ui/src/components/topbar/Logo.vue
index 53488a2eb..5152261a3 100644
--- a/ui/src/components/topbar/Logo.vue
+++ b/ui/src/components/topbar/Logo.vue
@@ -9,7 +9,7 @@ withDefaults(defineProps<{ size?: number }>(), { size: 22 });
viewBox="0 0 24 24"
fill="none"
aria-hidden="true"
- class="text-primary shrink-0"
+ class="text-link shrink-0"
>
diff --git a/ui/src/components/ui/empty/EmptyDescription.vue b/ui/src/components/ui/empty/EmptyDescription.vue
index fadd444f5..6118cda4b 100644
--- a/ui/src/components/ui/empty/EmptyDescription.vue
+++ b/ui/src/components/ui/empty/EmptyDescription.vue
@@ -11,7 +11,7 @@ defineProps<{
diff --git a/ui/src/components/ui/field/FieldDescription.vue b/ui/src/components/ui/field/FieldDescription.vue
index 28c20dc81..3998a3cd8 100644
--- a/ui/src/components/ui/field/FieldDescription.vue
+++ b/ui/src/components/ui/field/FieldDescription.vue
@@ -13,7 +13,7 @@ const props = defineProps<{
:class="cn(
'text-muted-foreground text-left text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance',
'last:mt-0 nth-last-2:-mt-1',
- '[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary',
+ '[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-link',
props.class,
)"
>
diff --git a/ui/src/dashboard/SetupPanel.vue b/ui/src/dashboard/SetupPanel.vue
index 184922cb7..afa61e467 100644
--- a/ui/src/dashboard/SetupPanel.vue
+++ b/ui/src/dashboard/SetupPanel.vue
@@ -40,7 +40,7 @@ function dismiss() {
Finish setting up
Archie needs these before it can work on its own.
- {{ pct }}%
+ {{ pct }}%
diff --git a/ui/src/style.css b/ui/src/style.css
index b6f0a14e1..e7a433ae1 100644
--- a/ui/src/style.css
+++ b/ui/src/style.css
@@ -49,6 +49,7 @@
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-primary-soft: var(--primary-soft);
+ --color-link: var(--link);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
@@ -102,11 +103,16 @@
--popover-foreground: #F0EAF7;
--foreground: #F0EAF7;
- /* Ink on the violet is 5.64:1; white on it is 4.02:1 and fails, so the
- button label is the canvas colour in both directions, never white. */
- --primary: #A76BF5;
- --primary-foreground: #0F0A16;
- --primary-soft: rgba(167, 107, 245, 0.16);
+ /* The primary surface is a deep violet so its label can be white: the
+ earlier bright violet with canvas-dark ink passed the ratio on paper and
+ failed in the hand -- black on bright purple vibrates at small sizes.
+ White on #7E56E6 is 4.81:1. Link text on the canvas is a separate token:
+ one violet cannot be both a dark-enough surface and a light-enough text
+ colour, so --link carries the light tint (#B691F7, 7.78:1 on canvas). */
+ --primary: #7E56E6;
+ --primary-foreground: #FFFFFF;
+ --primary-soft: rgba(126, 86, 230, 0.16);
+ --link: #B691F7;
/* shadcn's `accent` is the hover surface, not the brand colour. */
--secondary: #271838;
@@ -175,6 +181,7 @@
--primary: #8B5FBF;
--primary-foreground: #FFFFFF;
--primary-soft: rgba(139, 95, 191, 0.12);
+ --link: #7A4FB3;
--secondary: #E9D7F7;
--secondary-foreground: #2E2A35;
diff --git a/ui/src/tasks/ChangeCapture.vue b/ui/src/tasks/ChangeCapture.vue
index bbf53f205..4db707f76 100644
--- a/ui/src/tasks/ChangeCapture.vue
+++ b/ui/src/tasks/ChangeCapture.vue
@@ -28,7 +28,7 @@ const prNumber = computed(() => props.capture.pr_number);