Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): split each accent into a fill token and an ink token (#1406)

Call White42a05f9e1b15
diff --git a/ui/scripts/validate-theme.mjs b/ui/scripts/validate-theme.mjs
index 304c311c3..4a82356c9 100644
--- a/ui/scripts/validate-theme.mjs
+++ b/ui/scripts/validate-theme.mjs
@@ -164,12 +164,16 @@ assertEqual('system dark background', systemDark.get('--background'), '#080812')
assertEqual('system light color-scheme', systemLight.get('color-scheme'), 'light');
assertEqual('system dark color-scheme', systemDark.get('color-scheme'), 'dark');
-// An accent doubles as small status text — text-mint / text-gold / text-cyan /
-// text-destructive are used app-wide — and every X / X-foreground pair is a fill
-// plus the label printed on it. Both have to clear WCAG AA for small text, in
-// both themes. Light is the fragile side: the dark palette's vivid accents read
-// at 2.5-4.2:1 on a light surface, which is what this guard exists to catch.
+// Each accent is a fill (--X, painted as a background or hairline) and an ink
+// (--X-ink, printed as small status text app-wide). They are separate tokens
+// because on a light surface they pull in opposite directions: the fill has to
+// stay vivid to read as the brand, while the ink has to go deep to stay legible.
+// Both sides are guarded, but against different backdrops — an ink against the
+// neutral surfaces it sits on, a fill against the --X-foreground label printed
+// on it. Light is the fragile side: the dark palette's vivid accents read at
+// 2.2-4.2:1 as text on a light surface, which is what this guard exists to catch.
const AA_SMALL_TEXT = 4.5;
+const AA_NON_TEXT = 3;
function parseColor(value) {
const match = /^#([\da-f]{3}|[\da-f]{6})$/i.exec((value ?? '').trim());
@@ -199,6 +203,36 @@ function requireMeasurableColor(name, prop, value) {
return rgb;
}
+// A translucent token has no value of its own, but it does have one once you name
+// the backdrop -- which is the whole reason the ring regressed unnoticed. Parsed
+// separately from requireMeasurableColor so the strict rule stays strict: this
+// path is only for tokens the guard deliberately composites against a stated
+// surface, never a fallback for one that failed the opaque check.
+function requireCompositableColor(name, prop, value) {
+ const raw = (value ?? '').trim();
+ const rgb = parseColor(raw);
+ if (rgb) {
+ return { rgb, alpha: 1 };
+ }
+
+ const match = /^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+)\s*)?\)$/i.exec(raw);
+ if (!match) {
+ throw new Error(
+ `${name}: ${prop} is ${value ?? 'undefined'}, which the guard cannot composite. `
+ + 'Composited tokens must be an opaque hex or an rgb()/rgba() with numeric channels.',
+ );
+ }
+
+ return {
+ rgb: [match[1], match[2], match[3]].map((channel) => Number.parseInt(channel, 10)),
+ alpha: match[4] === undefined ? 1 : Number.parseFloat(match[4]),
+ };
+}
+
+function compositeOver({ rgb, alpha }, backdrop) {
+ return rgb.map((channel, index) => Math.round(alpha * channel + (1 - alpha) * backdrop[index]));
+}
+
function relativeLuminance(rgb) {
const [r, g, b] = rgb.map((channel) => {
const ratio = channel / 255;
@@ -225,19 +259,34 @@ function assertContrast(name, tokens, inkProp, surfaceProp) {
}
}
-const INK_TOKENS = ['--foreground', '--muted', '--mint', '--cyan', '--violet', '--gold', '--pink', '--destructive'];
+// Every accent painted as a fill also gets used as text somewhere, so each one
+// owes the palette an ink. Listing the fills (rather than deriving the pairs from
+// whatever inks happen to exist) is what makes a new accent shipped without an
+// ink a failure instead of a silent gap.
+const ACCENT_FILLS = ['--primary', '--accent', '--destructive', '--mint', '--cyan', '--violet', '--gold', '--pink'];
+const NEUTRAL_INKS = ['--foreground', '--muted'];
const INK_SURFACES = ['--card', '--background', '--surface-3'];
for (const [theme, tokens] of [['light', systemLight], ['dark', systemDark]]) {
- for (const ink of INK_TOKENS) {
+ for (const fill of ACCENT_FILLS) {
+ assertEqual(`${theme} ${fill} is defined`, tokens.has(fill), true);
+ assertEqual(`${theme} ${fill} declares an ink`, tokens.has(`${fill}-ink`), true);
+ }
+
+ // Inks are read as small text on a bare surface, so every one of them clears AA
+ // against the darkest surface the theme owns. Derived from the token map rather
+ // than from ACCENT_FILLS so an ink added on its own is still covered.
+ const inks = [...NEUTRAL_INKS, ...[...tokens.keys()].filter((prop) => prop.endsWith('-ink'))];
+ for (const ink of inks) {
assertEqual(`${theme} ${ink} is defined`, tokens.has(ink), true);
for (const surface of INK_SURFACES) {
assertContrast(`${theme} ink`, tokens, ink, surface);
}
}
- // Every fill that declares its own foreground is checked against it, so a
- // deepened or lightened fill can never silently strand its label.
+ // Fills are read through the label printed on them, so every fill that declares
+ // its own foreground is checked against it. A fill can then stay as vivid as the
+ // design asks without ever silently stranding that label.
const pairs = [...tokens.keys()]
.filter((prop) => prop.endsWith('-foreground') && tokens.has(prop.slice(0, -'-foreground'.length)))
.map((prop) => [prop, prop.slice(0, -'-foreground'.length)]);
@@ -245,8 +294,59 @@ for (const [theme, tokens] of [['light', systemLight], ['dark', systemDark]]) {
for (const [foreground, fill] of pairs) {
assertContrast(`${theme} fill`, tokens, foreground, fill);
}
+
+ // The focus ring is the one keyboard-only affordance in the app, and it is
+ // translucent by design, so it is measured composited against the surfaces it
+ // is drawn over rather than as a token. Non-text, hence the 3:1 floor.
+ const ring = requireCompositableColor(`${theme} ring`, '--ring', tokens.get('--ring'));
+ for (const surfaceProp of INK_SURFACES) {
+ const surface = requireMeasurableColor(`${theme} ring`, surfaceProp, tokens.get(surfaceProp));
+ const ratio = contrastRatio(compositeOver(ring, surface), surface);
+ if (ratio < AA_NON_TEXT) {
+ throw new Error(
+ `${theme} ring: --ring over ${surfaceProp} is ${ratio.toFixed(2)}:1, below WCAG AA ${AA_NON_TEXT}:1 for non-text`,
+ );
+ }
+ }
}
+// A Tailwind utility is named after the @theme alias, not after the token behind
+// it, so an alias is free to expose an accent under a name that hides which side
+// of the fill/ink split it lands on. That is exactly how `text-success` survived
+// the split: it resolved through `--color-success: var(--mint)` to the vivid
+// fill, landing at 2.5:1 as text, while the ink guard above saw nothing wrong --
+// `--mint-ink` was correct, nothing simply pointed at it. So an alias onto an
+// accent token must carry that token's own name, which puts every accent utility
+// back under the ink and fill assertions.
+function assertAccentAliasesKeepTheirTokenName(source) {
+ const accentTokens = new Set(ACCENT_FILLS.flatMap((fill) => [
+ fill,
+ `${fill}-ink`,
+ `${fill}-soft`,
+ `${fill}-foreground`,
+ ]));
+
+ postcss.parse(source).walkAtRules('theme', (atRule) => {
+ atRule.walkDecls((decl) => {
+ const target = /^var\(\s*(--[\w-]+)\s*\)$/.exec(normalizeCssValue(decl.value))?.[1];
+ if (!target || !accentTokens.has(target)) {
+ return;
+ }
+
+ const expected = `--color-${target.slice(2)}`;
+ if (decl.prop !== expected) {
+ throw new Error(
+ `@theme alias ${decl.prop}: var(${target}) renames an accent token. It ships a utility whose `
+ + `name hides whether it paints the fill or the ink, so it escapes both contrast assertions. `
+ + `Name it ${expected} and let each call site pick the fill or the ink explicitly.`,
+ );
+ }
+ });
+ });
+}
+
+assertAccentAliasesKeepTheirTokenName(css);
+
const modelHub = (options) => resolveThemeTokens({ ...options, source: modelHubCss });
const modelHubSystemDark = modelHub({ prefersLight: false, themeAttr: null });
const modelHubSystemLight = modelHub({ prefersLight: true, themeAttr: null });
diff --git a/ui/src/apps/LibraryApp.tsx b/ui/src/apps/LibraryApp.tsx
index 22419eb99..f7f964eb2 100644
--- a/ui/src/apps/LibraryApp.tsx
+++ b/ui/src/apps/LibraryApp.tsx
@@ -294,7 +294,7 @@ const AppLibraryRow: React.FC<AppLibraryRowProps> = ({ item, leading, last, onOp
e.stopPropagation();
onRemove();
}}
- className="grid size-8 shrink-0 place-items-center rounded-lg text-muted transition-colors hover:bg-destructive/10 hover:text-destructive"
+ className="grid size-8 shrink-0 place-items-center rounded-lg text-muted transition-colors hover:bg-destructive/10 hover:text-destructive-ink"
>
<Minus size={15} />
</button>
diff --git a/ui/src/components/AccountMenu.tsx b/ui/src/components/AccountMenu.tsx
index c5f9cb7ef..e89cc825b 100644
--- a/ui/src/components/AccountMenu.tsx
+++ b/ui/src/components/AccountMenu.tsx
@@ -49,7 +49,7 @@ export const AccountMenu: React.FC<{ openUpward?: boolean }> = ({ openUpward = f
title={accountLabel}
aria-haspopup="menu"
aria-expanded={isOpen}
- className="inline-flex h-8 w-8 items-center justify-center rounded-full border border-cyan/35 bg-cyan/[0.08] text-[11px] font-semibold text-cyan transition hover:bg-cyan/[0.16] hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
+ className="inline-flex h-8 w-8 items-center justify-center rounded-full border border-cyan/35 bg-cyan/[0.08] text-[11px] font-semibold text-cyan-ink transition hover:bg-cyan/[0.16] hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
>
{initialFor(email)}
</button>
diff --git a/ui/src/components/AppShell.tsx b/ui/src/components/AppShell.tsx
index c5b7de3f8..90a0695c6 100644
--- a/ui/src/components/AppShell.tsx
+++ b/ui/src/components/AppShell.tsx
@@ -84,7 +84,7 @@ const ShellNavLink: React.FC<{ item: ShellNavItem }> = ({ item }) => {
: 'border border-transparent text-muted hover:bg-foreground/[0.04] hover:text-foreground'
)}
>
- <Icon className={clsx('size-4', active ? 'text-mint' : 'text-muted group-hover:text-foreground')} />
+ <Icon className={clsx('size-4', active ? 'text-mint-ink' : 'text-muted group-hover:text-foreground')} />
<span>{item.label}</span>
</NavLink>
);
@@ -113,7 +113,7 @@ const ShellNavGroup: React.FC<{ item: ShellNavItem }> = ({ item }) => {
childActive ? 'text-foreground' : 'text-muted hover:text-foreground'
)}
>
- <Icon className={clsx('size-4', childActive ? 'text-mint' : 'text-muted group-hover:text-foreground')} />
+ <Icon className={clsx('size-4', childActive ? 'text-mint-ink' : 'text-muted group-hover:text-foreground')} />
<span className="flex-1 text-left">{item.label}</span>
<ChevronDown className={clsx('size-3.5 shrink-0 text-muted transition-transform', open && 'rotate-180')} />
</button>
@@ -134,7 +134,7 @@ const MobileNavLink: React.FC<{ item: ShellNavItem }> = ({ item }) => {
const className = clsx(
'flex min-w-0 flex-1 flex-col items-center justify-center gap-1 rounded-lg px-1 py-2 text-[10px] transition-colors',
- isWorkbench ? 'text-mint' : active ? 'bg-mint/[0.08] text-mint' : 'text-muted'
+ isWorkbench ? 'text-mint-ink' : active ? 'bg-mint/[0.08] text-mint-ink' : 'text-muted'
);
const inner = (
<>
@@ -147,7 +147,7 @@ const MobileNavLink: React.FC<{ item: ShellNavItem }> = ({ item }) => {
// desktop sidebar's distinct mint mode-switch button. Sized to fill the
// slot so it sits on the same baseline as the plain icons.
<span className="grid size-7 place-items-center rounded-full border border-mint/45 bg-mint/[0.14] shadow-[0_0_12px_-3px_rgba(91,255,160,0.6)]">
- <Icon className="size-4 text-mint" />
+ <Icon className="size-4 text-mint-ink" />
</span>
) : (
<Icon className="size-4" />
@@ -237,7 +237,7 @@ const ConfigRecoveryNotice: React.FC<{ config: ConfigRecoveryProjection | null }
return (
<div className="fixed inset-x-2 top-2 z-[70] mx-auto flex max-w-3xl items-start gap-3 rounded-lg border border-gold/45 bg-surface px-3 py-2.5 shadow-xl" role="alert">
- <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold" />
+ <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold-ink" />
<div className="min-w-0 flex-1">
<p className="text-[13px] font-semibold text-foreground">{t('configRecovery.title')}</p>
<p className="mt-0.5 break-words text-[12px] text-muted">
@@ -246,7 +246,7 @@ const ConfigRecoveryNotice: React.FC<{ config: ConfigRecoveryProjection | null }
</div>
<Link
to="/admin/settings/diagnostics"
- className="shrink-0 text-[12px] font-semibold text-gold hover:underline"
+ className="shrink-0 text-[12px] font-semibold text-gold-ink hover:underline"
>
{t('configRecovery.action')}
</Link>
@@ -654,7 +654,7 @@ export const AppShell: React.FC = () => {
{shellMode === 'admin' && (
<Link
to="/"
- className="flex items-center justify-center gap-2 rounded-lg border border-mint/30 bg-mint/[0.06] px-3 py-2.5 text-[13px] font-semibold text-mint transition hover:bg-mint/[0.12]"
+ className="flex items-center justify-center gap-2 rounded-lg border border-mint/30 bg-mint/[0.06] px-3 py-2.5 text-[13px] font-semibold text-mint-ink transition hover:bg-mint/[0.12]"
>
<ArrowLeft className="size-3.5 shrink-0" />
<span className="truncate">{t('appShell.backToWorkbench')}</span>
diff --git a/ui/src/components/AppsLauncher.tsx b/ui/src/components/AppsLauncher.tsx
index 8281c688e..a6f7a2e19 100644
--- a/ui/src/components/AppsLauncher.tsx
+++ b/ui/src/components/AppsLauncher.tsx
@@ -135,10 +135,10 @@ export const AppsLauncher: React.FC = () => {
: 'border-cyan/45 shadow-[0_0_14px_-5px_rgba(63,224,229,0.55)] hover:border-cyan/70',
)}
>
- <LayoutGrid className="size-4 shrink-0 text-cyan" />
+ <LayoutGrid className="size-4 shrink-0 text-cyan-ink" />
<span className="flex-1 whitespace-nowrap text-left">{t('apps.title')}</span>
{pinned ? (
- <Pin className="size-3.5 shrink-0 rotate-45 fill-cyan text-cyan" />
+ <Pin className="size-3.5 shrink-0 rotate-45 fill-cyan text-cyan-ink" />
) : (
<ChevronUp className={clsx('size-3.5 shrink-0 text-muted transition-transform', !visible && 'rotate-180')} />
)}
@@ -159,7 +159,7 @@ export const AppsLauncher: React.FC = () => {
{menu && (
<ContextMenu x={menu.x} y={menu.y} onClose={() => setMenu(null)} width={184} itemCount={1}>
<ContextMenuItem
- icon={<LayoutGrid className="size-[15px] text-cyan" />}
+ icon={<LayoutGrid className="size-[15px] text-cyan-ink" />}
label={t('apps.launcher.openLibrary')}
onClick={openLibrary}
/>
diff --git a/ui/src/components/Dashboard.tsx b/ui/src/components/Dashboard.tsx
index d657f914b..69e6545c3 100644
--- a/ui/src/components/Dashboard.tsx
+++ b/ui/src/components/Dashboard.tsx
@@ -107,7 +107,7 @@ const CloudStatCard: React.FC<{
href={publicUrl}
target="_blank"
rel="noreferrer"
- className="pointer-events-auto relative z-10 w-fit text-[28px] font-bold leading-tight tracking-[-0.4px] text-foreground transition hover:text-mint focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mint/45"
+ className="pointer-events-auto relative z-10 w-fit text-[28px] font-bold leading-tight tracking-[-0.4px] text-foreground transition hover:text-mint-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mint/45"
>
{value}
</a>
@@ -301,7 +301,7 @@ export const Dashboard: React.FC = () => {
)}
>
<Zap
- className={clsx('size-5', isRunning ? 'text-mint' : 'text-muted')}
+ className={clsx('size-5', isRunning ? 'text-mint-ink' : 'text-muted')}
strokeWidth={2.25}
/>
</div>
@@ -311,7 +311,7 @@ export const Dashboard: React.FC = () => {
className={clsx(
'inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-[11px] font-semibold uppercase tracking-[0.14em]',
isRunning
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
: 'border-border bg-foreground/[0.04] text-muted'
)}
>
@@ -324,7 +324,7 @@ export const Dashboard: React.FC = () => {
{isRunning ? t('dashboard.runningTitle') : t('dashboard.stoppedTitle')}
</span>
{!doctor?.ok && (
- <span className="inline-flex items-center rounded-full border border-gold/30 bg-gold/10 px-2.5 py-0.5 text-[11px] font-semibold uppercase tracking-[0.14em] text-gold">
+ <span className="inline-flex items-center rounded-full border border-gold/30 bg-gold/10 px-2.5 py-0.5 text-[11px] font-semibold uppercase tracking-[0.14em] text-gold-ink">
{t('dashboard.levelAttention')}
</span>
)}
@@ -474,7 +474,7 @@ export const Dashboard: React.FC = () => {
className={clsx(
'inline-flex items-center rounded-full border px-2.5 py-0.5 text-[11px] font-medium',
platform.connected
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
: 'border-border bg-foreground/[0.04] text-muted'
)}
>
@@ -482,7 +482,7 @@ export const Dashboard: React.FC = () => {
</span>
<Link
to={platform.actionHref}
- className="inline-flex items-center gap-1 text-[12px] font-medium text-foreground transition hover:text-mint"
+ className="inline-flex items-center gap-1 text-[12px] font-medium text-foreground transition hover:text-mint-ink"
>
{platform.actionLabel}
<ArrowRight className="size-3.5" strokeWidth={2.25} />
@@ -503,7 +503,7 @@ export const Dashboard: React.FC = () => {
</div>
<Link
to="/admin/logs"
- className="inline-flex items-center gap-1 text-[12px] font-medium text-foreground transition hover:text-mint"
+ className="inline-flex items-center gap-1 text-[12px] font-medium text-foreground transition hover:text-mint-ink"
>
{t('common.viewLogs')}
<ArrowRight className="size-3.5" strokeWidth={2.25} />
@@ -520,7 +520,7 @@ export const Dashboard: React.FC = () => {
key={`${entry.timestamp}-${index}`}
className="flex items-start gap-3 px-6 py-3.5"
>
- <div className="mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.08] text-cyan">
+ <div className="mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.08] text-cyan-ink">
<Activity className="size-3.5" strokeWidth={2.25} />
</div>
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
diff --git a/ui/src/components/InstallHint.tsx b/ui/src/components/InstallHint.tsx
index 7a86d1978..654add4ab 100644
--- a/ui/src/components/InstallHint.tsx
+++ b/ui/src/components/InstallHint.tsx
@@ -75,7 +75,7 @@ export const InstallHint: React.FC = () => {
type="button"
variant="outline"
size="sm"
- className="h-7 gap-1 rounded-full border-gold/40 bg-gold/[0.12] px-2.5 text-[11px] font-semibold text-gold hover:bg-gold/20 hover:text-gold"
+ className="h-7 gap-1 rounded-full border-gold/40 bg-gold/[0.12] px-2.5 text-[11px] font-semibold text-gold-ink hover:bg-gold/20 hover:text-gold-ink"
>
<Sparkles className="size-3" />
<span>{t('installHint.cta')}</span>
@@ -87,7 +87,7 @@ export const InstallHint: React.FC = () => {
size="icon"
onClick={collapse}
aria-label={t('installHint.dismiss')}
- className="size-6 shrink-0 text-gold/70 hover:bg-transparent hover:text-gold"
+ className="size-6 shrink-0 text-gold-ink/70 hover:bg-transparent hover:text-gold-ink"
>
<X className="size-3.5" />
</Button>
@@ -97,7 +97,7 @@ export const InstallHint: React.FC = () => {
<PopoverContent align="end" sideOffset={8} className="w-[18rem] border-gold/30">
<div className="flex flex-col gap-2.5">
<div className="flex items-center gap-2">
- <span className="grid size-7 shrink-0 place-items-center rounded-lg border border-gold/40 bg-gold/[0.12] text-gold">
+ <span className="grid size-7 shrink-0 place-items-center rounded-lg border border-gold/40 bg-gold/[0.12] text-gold-ink">
<Sparkles className="size-3.5" />
</span>
<div className="text-[13px] font-semibold text-foreground">{t('installHint.title')}</div>
@@ -105,11 +105,11 @@ export const InstallHint: React.FC = () => {
<p className="text-[12px] leading-relaxed text-muted">{t('installHint.body')}</p>
<ol className="flex flex-col gap-1.5 rounded-lg border border-border bg-foreground/[0.02] p-2.5 text-[12px] text-foreground">
<li className="flex items-center gap-2">
- <Share className="size-4 shrink-0 text-cyan" />
+ <Share className="size-4 shrink-0 text-cyan-ink" />
<span>{t('installHint.step1')}</span>
</li>
<li className="flex items-center gap-2">
- <Plus className="size-4 shrink-0 text-cyan" />
+ <Plus className="size-4 shrink-0 text-cyan-ink" />
<span>{t('installHint.step2')}</span>
</li>
</ol>
diff --git a/ui/src/components/LanguageSwitcher.tsx b/ui/src/components/LanguageSwitcher.tsx
index f4b22dcf4..b668b3d42 100644
--- a/ui/src/components/LanguageSwitcher.tsx
+++ b/ui/src/components/LanguageSwitcher.tsx
@@ -99,7 +99,7 @@ export const LanguageSwitcher: React.FC<{ openUpward?: boolean }> = ({ openUpwar
)}
>
<span>{lang.label}</span>
- {active && <Check size={14} className="text-mint" />}
+ {active && <Check size={14} className="text-mint-ink" />}
</button>
);
})}
diff --git a/ui/src/components/RemoteAccess.tsx b/ui/src/components/RemoteAccess.tsx
index 3b0664772..cc4011cbf 100644
--- a/ui/src/components/RemoteAccess.tsx
+++ b/ui/src/components/RemoteAccess.tsx
@@ -401,7 +401,7 @@ export const RemoteAccess: React.FC = () => {
<div className="flex items-start justify-between gap-4 border-b border-cyan/20 bg-cyan/[0.07] px-5 py-4">
<div className="min-w-0 space-y-2">
<h2 className="inline-flex items-center gap-2 text-[15px] font-semibold text-foreground">
- <span className="flex size-8 shrink-0 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.12] text-cyan">
+ <span className="flex size-8 shrink-0 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.12] text-cyan-ink">
<Cloud className="size-4" strokeWidth={2.25} />
</span>
{t('remoteAccess.title')}
@@ -417,7 +417,7 @@ export const RemoteAccess: React.FC = () => {
href={VIBE_CLOUD_APP_URL}
target="_blank"
rel="noreferrer"
- className="inline-flex items-center gap-0.5 font-medium text-cyan hover:underline"
+ className="inline-flex items-center gap-0.5 font-medium text-cyan-ink hover:underline"
/>
),
}}
@@ -456,7 +456,7 @@ export const RemoteAccess: React.FC = () => {
</div>
<div className="border-b border-border px-5 py-3.5 sm:border-b-0 sm:border-r">
<div className="text-[12px] text-muted">{t('remoteAccess.vibeCloudService')}</div>
- <a className="mt-1 inline-flex text-[13px] font-medium text-cyan" href={VIBE_CLOUD_URL} target="_blank" rel="noreferrer">
+ <a className="mt-1 inline-flex text-[13px] font-medium text-cyan-ink" href={VIBE_CLOUD_URL} target="_blank" rel="noreferrer">
avibe.bot
<ExternalLink className="ml-1 size-3.5" />
</a>
@@ -482,7 +482,7 @@ export const RemoteAccess: React.FC = () => {
<div className="border-b border-border px-5 py-4">
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex min-w-0 items-center gap-2">
- <Network className="size-4 shrink-0 text-cyan" />
+ <Network className="size-4 shrink-0 text-cyan-ink" />
<h3 className="text-[13px] font-semibold text-foreground">{t('remoteAccess.networkPath')}</h3>
</div>
<Badge variant={routeVariant}>{routeLabel}</Badge>
@@ -548,7 +548,7 @@ export const RemoteAccess: React.FC = () => {
{connectorPathLabel}
</div>
{requestPathUnavailable ? (
- <div className="break-words font-medium text-destructive">
+ <div className="break-words font-medium text-destructive-ink">
{t('remoteAccess.requestPathUnavailable', {
success: requestPath?.success_count || 0,
count: requestPath?.sample_count || 0,
@@ -577,7 +577,7 @@ export const RemoteAccess: React.FC = () => {
<details className="group border-b border-border">
<summary className="flex cursor-pointer list-none items-center justify-between gap-3 px-5 py-4 transition-colors hover:bg-surface/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan/60">
<div className="flex items-center gap-2">
- <Settings2 className="size-4 text-cyan" />
+ <Settings2 className="size-4 text-cyan-ink" />
<h3 className="text-[13px] font-semibold text-foreground">{t('remoteAccess.controls')}</h3>
</div>
<ChevronDown className="size-4 shrink-0 text-muted transition-transform group-open:rotate-180" />
@@ -684,7 +684,7 @@ export const RemoteAccess: React.FC = () => {
<div className="mt-4 border-t border-border/70 pt-3">
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex items-center gap-2">
- <Activity className="size-4 text-cyan" />
+ <Activity className="size-4 text-cyan-ink" />
<span className="text-[12px] font-medium text-foreground">{t('remoteAccess.diagnostics')}</span>
{diagnostics?.cloudflared_version && (
<span className="font-mono text-[10px] text-muted">
@@ -771,7 +771,7 @@ export const RemoteAccess: React.FC = () => {
) : (
<div className="flex flex-col gap-3 px-5 py-4 md:flex-row md:items-center md:justify-between">
<div className="min-w-0">
- <div className="flex items-center gap-2 text-[13px] font-medium text-mint">
+ <div className="flex items-center gap-2 text-[13px] font-medium text-mint-ink">
<CheckCircle2 className="size-3.5" />
{t('remoteAccess.configuredBadge')}
</div>
@@ -780,7 +780,7 @@ export const RemoteAccess: React.FC = () => {
href={publicUrl}
target="_blank"
rel="noreferrer"
- className="mt-1 inline-flex max-w-full items-center gap-1 truncate font-mono text-[11px] text-cyan hover:underline"
+ className="mt-1 inline-flex max-w-full items-center gap-1 truncate font-mono text-[11px] text-cyan-ink hover:underline"
title={publicUrl}
>
<span className="truncate">{publicUrl}</span>
@@ -834,7 +834,7 @@ export const RemoteAccess: React.FC = () => {
{actionMessage && (
<div className={`border-t border-border px-4 py-3 text-[12px] ${
- actionMessage.type === 'error' ? 'text-gold' : 'text-mint'
+ actionMessage.type === 'error' ? 'text-gold-ink' : 'text-mint-ink'
}`}>
{actionMessage.text}
</div>
diff --git a/ui/src/components/ShowPagesPage.tsx b/ui/src/components/ShowPagesPage.tsx
index 938c56358..b23ba5cb9 100644
--- a/ui/src/components/ShowPagesPage.tsx
+++ b/ui/src/components/ShowPagesPage.tsx
@@ -150,7 +150,7 @@ function ShowPageRow({
<span className="flex items-center gap-1.5">
<span
className={clsx(
- 'truncate text-[13px] font-semibold text-foreground transition-colors group-hover:text-cyan',
+ 'truncate text-[13px] font-semibold text-foreground transition-colors group-hover:text-cyan-ink',
!page.title && 'font-mono',
)}
>
@@ -160,7 +160,7 @@ function ShowPageRow({
<ArrowUpRight
size={13}
aria-hidden
- className="shrink-0 text-muted/60 transition-colors group-hover:text-cyan"
+ className="shrink-0 text-muted/60 transition-colors group-hover:text-cyan-ink"
/>
</span>
{sub ? <span className="block truncate text-[11px] text-muted">{sub}</span> : null}
@@ -240,7 +240,7 @@ function ShowPageRow({
<span className={LABEL}>{t('showPages.liveLink')}</span>
<div className="flex flex-wrap items-center gap-2">
<div className="flex min-w-0 flex-1 items-center gap-2 rounded-lg border border-border bg-foreground/[0.03] px-3 py-2">
- <Link2 size={14} className={page.visibility === 'public' ? 'text-gold' : 'text-cyan'} />
+ <Link2 size={14} className={page.visibility === 'public' ? 'text-gold-ink' : 'text-cyan-ink'} />
<span className="truncate font-mono text-[12px] text-foreground">{shown}</span>
</div>
<Button type="button" variant="secondary" size="sm" onClick={onCopy} disabled={!href}>
@@ -270,9 +270,9 @@ function ShowPageRow({
</div>
{page.visibility === 'public' && !page.url_available ? (
<div className="flex flex-wrap items-center gap-1.5 text-[11px]">
- <TriangleAlert size={13} className="text-gold" />
+ <TriangleAlert size={13} className="text-gold-ink" />
<span className="text-muted">{t('showPages.cloudOff')}</span>
- <a href="/admin/remote-access" className="font-semibold text-gold hover:underline">
+ <a href="/admin/remote-access" className="font-semibold text-gold-ink hover:underline">
{t('showPages.connectCloud')} →
</a>
</div>
@@ -320,7 +320,7 @@ function ShowPageRow({
{row.to ? (
<Link
to={row.to}
- className={clsx('break-all text-[12px] text-cyan transition-colors hover:text-foreground hover:underline', row.mono && 'font-mono')}
+ className={clsx('break-all text-[12px] text-cyan-ink transition-colors hover:text-foreground hover:underline', row.mono && 'font-mono')}
>
{row.v}
</Link>
diff --git a/ui/src/components/VersionBadge.tsx b/ui/src/components/VersionBadge.tsx
index 0a79229b8..72b92c00b 100644
--- a/ui/src/components/VersionBadge.tsx
+++ b/ui/src/components/VersionBadge.tsx
@@ -211,7 +211,7 @@ export const VersionBadge: React.FC<{ openUpward?: boolean }> = ({ openUpward =
{/* Update Status */}
{!isSourceBuild && (hasUpdate ? (
- <div className="flex items-center gap-2 rounded-md border border-gold/30 bg-gold/10 px-3 py-2 text-sm text-gold">
+ <div className="flex items-center gap-2 rounded-md border border-gold/30 bg-gold/10 px-3 py-2 text-sm text-gold-ink">
<AlertCircle size={16} className="shrink-0" />
<span>
{t('dashboard.updateHint', {
@@ -221,12 +221,12 @@ export const VersionBadge: React.FC<{ openUpward?: boolean }> = ({ openUpward =
</span>
</div>
) : versionInfo && !versionInfo.error ? (
- <div className="flex items-center gap-2 rounded-md border border-mint/25 bg-mint/10 px-3 py-2 text-sm text-mint">
+ <div className="flex items-center gap-2 rounded-md border border-mint/25 bg-mint/10 px-3 py-2 text-sm text-mint-ink">
<Check size={16} className="shrink-0" />
<span>{t('dashboard.upToDate')}</span>
</div>
) : versionInfo?.error ? (
- <div className="flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">
+ <div className="flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">
<AlertCircle size={16} className="shrink-0" />
<span>{t('dashboard.checkFailed')}</span>
</div>
@@ -238,8 +238,8 @@ export const VersionBadge: React.FC<{ openUpward?: boolean }> = ({ openUpward =
className={clsx(
'flex items-center gap-2 rounded-md border px-3 py-2 text-sm',
upgradeResult.ok
- ? 'border-mint/25 bg-mint/10 text-mint'
- : 'border-destructive/30 bg-destructive/10 text-destructive'
+ ? 'border-mint/25 bg-mint/10 text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{upgradeResult.ok ? <Check size={16} className="shrink-0" /> : <AlertCircle size={16} className="shrink-0" />}
@@ -251,7 +251,7 @@ export const VersionBadge: React.FC<{ openUpward?: boolean }> = ({ openUpward =
{/* Restarting Status */}
{restarting && (
- <div className="flex items-center gap-2 rounded-md border border-cyan/30 bg-cyan/10 px-3 py-2 text-sm text-cyan">
+ <div className="flex items-center gap-2 rounded-md border border-cyan/30 bg-cyan/10 px-3 py-2 text-sm text-cyan-ink">
<RefreshCw size={16} className="shrink-0 animate-spin" />
<span>{t('dashboard.restarting')}</span>
</div>
diff --git a/ui/src/components/Workbench.tsx b/ui/src/components/Workbench.tsx
index 3a689b812..14d4aa373 100644
--- a/ui/src/components/Workbench.tsx
+++ b/ui/src/components/Workbench.tsx
@@ -71,7 +71,7 @@ export const Workbench: React.FC = () => {
<div className="flex flex-col items-center gap-5 md:min-h-[calc(100dvh-7rem)] md:justify-center">
{/* Hero panel — a centered card, not a full-bleed fill. */}
<div className="flex w-full max-w-[640px] flex-col items-center gap-6 rounded-2xl border border-border bg-surface-2 px-6 py-10">
- <div className="flex size-14 items-center justify-center rounded-2xl border border-mint/40 bg-mint-soft text-mint shadow-[0_0_24px_-6px_rgba(91,255,160,0.6)]">
+ <div className="flex size-14 items-center justify-center rounded-2xl border border-mint/40 bg-mint-soft text-mint-ink shadow-[0_0_24px_-6px_rgba(91,255,160,0.6)]">
<Sparkles className="size-6" />
</div>
<div className="flex max-w-[520px] flex-col items-center gap-3 text-center">
@@ -84,9 +84,9 @@ export const Workbench: React.FC = () => {
key={key}
type="button"
onClick={onClick}
- className="group flex items-center gap-2 rounded-full border border-border-strong bg-surface px-3 py-2 text-[12px] text-foreground transition hover:border-mint/40 hover:bg-mint-soft hover:text-mint"
+ className="group flex items-center gap-2 rounded-full border border-border-strong bg-surface px-3 py-2 text-[12px] text-foreground transition hover:border-mint/40 hover:bg-mint-soft hover:text-mint-ink"
>
- <Icon className="size-3.5 text-muted group-hover:text-mint" />
+ <Icon className="size-3.5 text-muted group-hover:text-mint-ink" />
<span>{t(`workbench.canvas.suggestions.${key}`)}</span>
</button>
))}
@@ -128,10 +128,10 @@ export const Workbench: React.FC = () => {
className="max-w-[640px]"
/>
{ns.needsProject && (
- <div className="px-2 text-[10.5px] text-gold">{t('workbench.canvas.noProjectForChat')}</div>
+ <div className="px-2 text-[10.5px] text-gold-ink">{t('workbench.canvas.noProjectForChat')}</div>
)}
{ns.error && (
- <div className="mt-1 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="mt-1 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{ns.error}
</div>
)}
diff --git a/ui/src/components/apps/Dock.tsx b/ui/src/components/apps/Dock.tsx
index 500bb4549..674f27f24 100644
--- a/ui/src/components/apps/Dock.tsx
+++ b/ui/src/components/apps/Dock.tsx
@@ -318,7 +318,7 @@ export const Dock: React.FC = () => {
}}
className="flex items-center gap-2 rounded-xl border border-dashed border-border px-3 py-2.5 text-[12px] font-medium text-muted transition-colors hover:border-cyan/60 hover:text-foreground"
>
- <LayoutGrid className="size-4 shrink-0 text-cyan" />
+ <LayoutGrid className="size-4 shrink-0 text-cyan-ink" />
<span className="whitespace-nowrap">{t('apps.dock.emptyHint')}</span>
</button>
)}
@@ -398,7 +398,7 @@ export const Dock: React.FC = () => {
return (
<ContextMenu x={menu.x} y={menu.y} onClose={() => setMenu(null)} width={hasTab ? 268 : 196} itemCount={menuItemCount(item)}>
<ContextMenuItem
- icon={<SquarePlus className="size-[15px] text-cyan" />}
+ icon={<SquarePlus className="size-[15px] text-cyan-ink" />}
label={t('apps.dock.newWindow')}
onClick={() => openNew(item)}
/>
diff --git a/ui/src/components/apps/MobileDockDrawer.tsx b/ui/src/components/apps/MobileDockDrawer.tsx
index e4abe7e85..bfdcf62ce 100644
--- a/ui/src/components/apps/MobileDockDrawer.tsx
+++ b/ui/src/components/apps/MobileDockDrawer.tsx
@@ -144,7 +144,7 @@ export const MobileDockDrawer: React.FC<{ open: boolean; onClose: () => void }>
}}
className="flex w-full items-center justify-center gap-2 rounded-xl border border-dashed border-border px-3 py-6 text-[12.5px] font-medium text-muted transition-colors hover:border-cyan/60 hover:text-foreground"
>
- <LayoutGrid className="size-4 shrink-0 text-cyan" />
+ <LayoutGrid className="size-4 shrink-0 text-cyan-ink" />
<span>{t('apps.dock.emptyHint')}</span>
</button>
) : (
@@ -216,7 +216,7 @@ export const MobileDockDrawer: React.FC<{ open: boolean; onClose: () => void }>
}}
className="mt-4 flex w-full items-center justify-center gap-2 rounded-xl border border-dashed border-border px-3 py-3 text-[12.5px] font-medium text-muted transition-colors hover:border-cyan/60 hover:text-foreground"
>
- <LayoutGrid className="size-4 shrink-0 text-cyan" />
+ <LayoutGrid className="size-4 shrink-0 text-cyan-ink" />
<span>{t('apps.launcher.openLibrary')}</span>
</button>
)}
@@ -262,7 +262,7 @@ export const MobileDockDrawer: React.FC<{ open: boolean; onClose: () => void }>
void undock(menu.item.id);
setMenu(null);
}}
- className="flex w-full items-center gap-3 rounded-xl px-3 py-3 text-left text-[14px] font-medium text-destructive transition hover:bg-destructive/[0.08]"
+ className="flex w-full items-center gap-3 rounded-xl px-3 py-3 text-left text-[14px] font-medium text-destructive-ink transition hover:bg-destructive/[0.08]"
>
<PinOff className="size-[18px] shrink-0" />
{t('apps.dock.unpin')}
@@ -274,7 +274,7 @@ export const MobileDockDrawer: React.FC<{ open: boolean; onClose: () => void }>
if (menu.item.kind === 'showpage') void unpin(menu.item.sessionId);
setMenu(null);
}}
- className="flex w-full items-center gap-3 rounded-xl px-3 py-3 text-left text-[14px] font-medium text-destructive transition hover:bg-destructive/[0.08]"
+ className="flex w-full items-center gap-3 rounded-xl px-3 py-3 text-left text-[14px] font-medium text-destructive-ink transition hover:bg-destructive/[0.08]"
>
<Minus className="size-[18px] shrink-0" />
{t('library.apps.remove')}
diff --git a/ui/src/components/settings/BackendLifecycleChip.tsx b/ui/src/components/settings/BackendLifecycleChip.tsx
index 52f4fb5ce..44463841f 100644
--- a/ui/src/components/settings/BackendLifecycleChip.tsx
+++ b/ui/src/components/settings/BackendLifecycleChip.tsx
@@ -343,7 +343,7 @@ const StateBlock: React.FC<{
if (phase === 'upgrading') {
return (
- <div className="flex items-center gap-2 rounded-md border border-cyan/25 bg-cyan/10 px-3 py-2 text-sm text-cyan">
+ <div className="flex items-center gap-2 rounded-md border border-cyan/25 bg-cyan/10 px-3 py-2 text-sm text-cyan-ink">
<RefreshCw size={16} className="shrink-0 animate-spin" />
<span>{t('backendLifecycle.upgrading')}</span>
</div>
@@ -351,7 +351,7 @@ const StateBlock: React.FC<{
}
if (visual === 'update') {
return (
- <div className="flex items-center gap-2 rounded-md border border-gold/30 bg-gold/10 px-3 py-2 text-sm text-gold">
+ <div className="flex items-center gap-2 rounded-md border border-gold/30 bg-gold/10 px-3 py-2 text-sm text-gold-ink">
<AlertCircle size={16} className="shrink-0" />
<span>
{t('backendLifecycle.updateHint', {
@@ -364,7 +364,7 @@ const StateBlock: React.FC<{
}
if (visual === 'error') {
return (
- <div className="flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">
+ <div className="flex items-center gap-2 rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">
<AlertCircle size={16} className="shrink-0" />
<span>{t('backendLifecycle.errorHint', { name })}</span>
</div>
@@ -372,7 +372,7 @@ const StateBlock: React.FC<{
}
if (visual === 'ready') {
return (
- <div className="flex items-center gap-2 rounded-md border border-mint/25 bg-mint/10 px-3 py-2 text-sm text-mint">
+ <div className="flex items-center gap-2 rounded-md border border-mint/25 bg-mint/10 px-3 py-2 text-sm text-mint-ink">
<Check size={16} className="shrink-0" />
<span>{t('backendLifecycle.readyHint')}</span>
</div>
diff --git a/ui/src/components/settings/BackendOAuthPanel.tsx b/ui/src/components/settings/BackendOAuthPanel.tsx
index e8ed76a3d..bd753778f 100644
--- a/ui/src/components/settings/BackendOAuthPanel.tsx
+++ b/ui/src/components/settings/BackendOAuthPanel.tsx
@@ -379,9 +379,9 @@ export const BackendOAuthPanel: React.FC<BackendOAuthPanelProps> = ({
{signedIn && state === 'idle' && (
<div className="flex items-start gap-2 rounded-md border border-mint/30 bg-mint-soft/40 px-3 py-2">
- <CheckCircle2 className="mt-0.5 size-3.5 shrink-0 text-mint" />
+ <CheckCircle2 className="mt-0.5 size-3.5 shrink-0 text-mint-ink" />
<div className="flex flex-col gap-0.5">
- <p className="text-[12px] text-mint">
+ <p className="text-[12px] text-mint-ink">
{(() => {
if (backend === 'claude') return t('settings.backends.claudeOauthSignedIn');
if (backend === 'codex') return t('settings.backends.codexOauthSignedIn');
@@ -389,7 +389,7 @@ export const BackendOAuthPanel: React.FC<BackendOAuthPanelProps> = ({
})()}
</p>
{signedInDetail && (
- <p className="font-mono text-[11px] text-mint/80">{signedInDetail}</p>
+ <p className="font-mono text-[11px] text-mint-ink/80">{signedInDetail}</p>
)}
</div>
</div>
@@ -397,15 +397,15 @@ export const BackendOAuthPanel: React.FC<BackendOAuthPanelProps> = ({
{state === 'success' && (
<div className="flex items-start gap-2 rounded-md border border-mint/30 bg-mint-soft/40 px-3 py-2">
- <CheckCircle2 className="mt-0.5 size-3.5 shrink-0 text-mint" />
- <p className="text-[12px] text-mint">{t('settings.backends.oauthSuccess')}</p>
+ <CheckCircle2 className="mt-0.5 size-3.5 shrink-0 text-mint-ink" />
+ <p className="text-[12px] text-mint-ink">{t('settings.backends.oauthSuccess')}</p>
</div>
)}
{error && (
<div className="flex items-start gap-2 rounded-md border border-destructive/30 bg-destructive/[0.08] px-3 py-2">
- <AlertTriangle className="mt-0.5 size-3.5 shrink-0 text-destructive" />
- <p className="text-[12px] leading-relaxed text-destructive">
+ <AlertTriangle className="mt-0.5 size-3.5 shrink-0 text-destructive-ink" />
+ <p className="text-[12px] leading-relaxed text-destructive-ink">
{t('settings.backends.oauthFailed', { detail: error })}
</p>
</div>
@@ -514,7 +514,7 @@ export const BackendOAuthPanel: React.FC<BackendOAuthPanelProps> = ({
size="sm"
onClick={() => void removeAuth()}
disabled={removing || starting}
- className="text-destructive hover:bg-destructive/10 hover:text-destructive"
+ className="text-destructive-ink hover:bg-destructive/10 hover:text-destructive-ink"
>
<Trash2 className="size-3.5" />
{removing ? t('common.removing') : removeLabel}
diff --git a/ui/src/components/settings/BackendTestPanel.tsx b/ui/src/components/settings/BackendTestPanel.tsx
index 44ab5c78b..be32f8cb5 100644
--- a/ui/src/components/settings/BackendTestPanel.tsx
+++ b/ui/src/components/settings/BackendTestPanel.tsx
@@ -132,7 +132,7 @@ export const BackendTestPanel: React.FC<BackendTestPanelProps> = ({ backend }) =
<div className="flex flex-wrap items-center justify-between gap-4">
<div className="flex items-center gap-3">
<div className="flex size-10 shrink-0 items-center justify-center rounded-[10px] border border-mint/30 bg-mint-soft">
- <Zap size={18} className="text-mint" />
+ <Zap size={18} className="text-mint-ink" />
</div>
<div className="flex flex-col gap-0.5">
<p className="text-[14px] font-bold text-foreground">
@@ -167,7 +167,7 @@ export const BackendTestPanel: React.FC<BackendTestPanelProps> = ({ backend }) =
<span
className={clsx(
'font-mono text-[11px] font-semibold',
- lastResult?.ok ? 'text-mint' : 'text-destructive',
+ lastResult?.ok ? 'text-mint-ink' : 'text-destructive-ink',
)}
>
{resultLine}
@@ -208,7 +208,7 @@ export const BackendTestPanel: React.FC<BackendTestPanelProps> = ({ backend }) =
existed. */}
{lastResult && !lastResult.ok && lastResult.detail && (
<details className="rounded-md border border-destructive/30 bg-destructive/[0.04] px-3 py-2 [&[open]>summary]:mb-2">
- <summary className="cursor-pointer font-mono text-[11px] uppercase tracking-wide text-destructive">
+ <summary className="cursor-pointer font-mono text-[11px] uppercase tracking-wide text-destructive-ink">
{t('settings.backends.testConnectionRawOutputLabel')}
</summary>
<pre className="max-h-48 overflow-auto whitespace-pre-wrap break-all rounded bg-background px-3 py-2 font-mono text-[11px] leading-relaxed text-muted">
diff --git a/ui/src/components/settings/OpencodeProviderTestPanel.tsx b/ui/src/components/settings/OpencodeProviderTestPanel.tsx
index 30fdbf6e1..7b3aec53b 100644
--- a/ui/src/components/settings/OpencodeProviderTestPanel.tsx
+++ b/ui/src/components/settings/OpencodeProviderTestPanel.tsx
@@ -124,7 +124,7 @@ export const OpencodeProviderTestPanel: React.FC<OpencodeProviderTestPanelProps>
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="flex items-center gap-2.5">
<div className="flex size-8 shrink-0 items-center justify-center rounded-[8px] border border-mint/30 bg-mint-soft">
- <Zap size={14} className="text-mint" />
+ <Zap size={14} className="text-mint-ink" />
</div>
<div className="flex flex-col gap-0.5">
<p className="text-[13px] font-bold text-foreground">
@@ -169,7 +169,7 @@ export const OpencodeProviderTestPanel: React.FC<OpencodeProviderTestPanelProps>
<p
className={clsx(
'font-mono text-[11px] font-semibold',
- lastResult?.ok ? 'text-mint' : 'text-destructive',
+ lastResult?.ok ? 'text-mint-ink' : 'text-destructive-ink',
)}
>
{resultLine}
@@ -187,7 +187,7 @@ export const OpencodeProviderTestPanel: React.FC<OpencodeProviderTestPanelProps>
)}
{lastResult && !lastResult.ok && lastResult.detail && (
<details className="rounded-md border border-destructive/30 bg-destructive/[0.04] px-3 py-2 [&[open]>summary]:mb-2">
- <summary className="cursor-pointer font-mono text-[10px] uppercase tracking-wide text-destructive">
+ <summary className="cursor-pointer font-mono text-[10px] uppercase tracking-wide text-destructive-ink">
{t('settings.backends.testConnectionRawOutputLabel')}
</summary>
<pre className="max-h-48 overflow-auto whitespace-pre-wrap break-all rounded bg-background px-3 py-2 font-mono text-[11px] leading-relaxed text-muted">
diff --git a/ui/src/components/settings/SettingsDependenciesPage.tsx b/ui/src/components/settings/SettingsDependenciesPage.tsx
index e57d6fc11..03afd1e29 100644
--- a/ui/src/components/settings/SettingsDependenciesPage.tsx
+++ b/ui/src/components/settings/SettingsDependenciesPage.tsx
@@ -41,12 +41,12 @@ import { memoryErrorMessage } from '@/lib/memoryRead';
type DepMeta = { icon: LucideIcon; tileCls: string; iconCls: string };
const DEP_META: Record<string, DepMeta> = {
- askill: { icon: WandSparkles, tileCls: 'bg-mint-soft', iconCls: 'text-mint' },
- avault: { icon: KeyRound, tileCls: 'bg-gold-soft', iconCls: 'text-gold' },
- 'show-runtime': { icon: LayoutDashboard, tileCls: 'bg-cyan-soft', iconCls: 'text-cyan' },
- 'memory-runtime': { icon: Brain, tileCls: 'bg-violet-soft', iconCls: 'text-violet' },
+ askill: { icon: WandSparkles, tileCls: 'bg-mint-soft', iconCls: 'text-mint-ink' },
+ avault: { icon: KeyRound, tileCls: 'bg-gold-soft', iconCls: 'text-gold-ink' },
+ 'show-runtime': { icon: LayoutDashboard, tileCls: 'bg-cyan-soft', iconCls: 'text-cyan-ink' },
+ 'memory-runtime': { icon: Brain, tileCls: 'bg-violet-soft', iconCls: 'text-violet-ink' },
tmux: { icon: SquareTerminal, tileCls: 'bg-surface-3', iconCls: 'text-foreground' },
- node: { icon: Hexagon, tileCls: 'bg-violet-soft', iconCls: 'text-violet' },
+ node: { icon: Hexagon, tileCls: 'bg-violet-soft', iconCls: 'text-violet-ink' },
};
const MEMORY_ROOT_COPY = {
@@ -181,7 +181,7 @@ export const SettingsDependenciesPage: React.FC = () => {
) : (
<div className="flex flex-col gap-3.5">
<div className="flex items-center gap-3 rounded-xl border border-mint/30 bg-mint/[0.08] px-5 py-3.5">
- <ShieldCheck className="size-4 shrink-0 text-mint" />
+ <ShieldCheck className="size-4 shrink-0 text-mint-ink" />
<span className="text-[13px] leading-snug text-foreground">{t('settings.dependencies.autoBanner')}</span>
</div>
@@ -363,7 +363,7 @@ export const SettingsDependenciesPage: React.FC = () => {
))}
</ul>
</div>
- <div className="rounded-[10px] border border-warning/30 bg-warning/5 px-3 py-2.5">
+ <div className="rounded-[10px] border border-gold/30 bg-gold/5 px-3 py-2.5">
<div className="mb-1 font-semibold text-foreground">{t('memory.factoryReset.retainsTitle')}</div>
<ul className="flex flex-col gap-1">
{(t('memory.factoryReset.retains', { returnObjects: true }) as string[]).map((line, idx) => (
diff --git a/ui/src/components/settings/SettingsLogsPage.tsx b/ui/src/components/settings/SettingsLogsPage.tsx
index da17b0938..c2c303a86 100644
--- a/ui/src/components/settings/SettingsLogsPage.tsx
+++ b/ui/src/components/settings/SettingsLogsPage.tsx
@@ -32,7 +32,7 @@ export const SettingsLogsPage: React.FC<{ standalone?: boolean }> = ({ standalon
<span>›</span>
<span>{t('settings.tabs.diagnostics')}</span>
<span>›</span>
- <span className="text-mint">{t('settings.logsTitle')}</span>
+ <span className="text-mint-ink">{t('settings.logsTitle')}</span>
</div>
}
>
diff --git a/ui/src/components/settings/SettingsMemoryPage.tsx b/ui/src/components/settings/SettingsMemoryPage.tsx
index 8013059e5..29194c856 100644
--- a/ui/src/components/settings/SettingsMemoryPage.tsx
+++ b/ui/src/components/settings/SettingsMemoryPage.tsx
@@ -263,7 +263,7 @@ export const SettingsMemoryPage: React.FC = () => {
</div>
) : !settings ? (
settingsRead.error ? (
- <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">
{settingsRead.error}
</div>
) : (
@@ -277,7 +277,7 @@ export const SettingsMemoryPage: React.FC = () => {
{runtimeInstalled === false ? (
<div className="flex flex-col items-start gap-3 rounded-lg border border-border bg-surface p-5">
<div className="flex items-center gap-2 text-[14px] font-semibold text-foreground">
- <Brain className="size-4 text-violet" />
+ <Brain className="size-4 text-violet-ink" />
{t('memory.setup.runtimeRequired')}
</div>
<p className="text-[12.5px] text-muted">{t('memory.setup.runtimeRequiredHint')}</p>
@@ -350,7 +350,7 @@ export const SettingsMemoryPage: React.FC = () => {
{t('memory.settings.loading')}
</div>
) : settingsRead.error && !settings ? (
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">
{settingsRead.error}
</div>
) : (
@@ -381,7 +381,7 @@ export const SettingsMemoryPage: React.FC = () => {
))}
</ul>
</div>
- <div className="rounded-[10px] border border-warning/30 bg-warning/5 px-3 py-2.5">
+ <div className="rounded-[10px] border border-gold/30 bg-gold/5 px-3 py-2.5">
<div className="mb-1 font-semibold text-foreground">{t('memory.clear.keepsTitle')}</div>
<ul className="flex flex-col gap-1">
{(t('memory.clear.keeps', { returnObjects: true }) as string[]).map((line, idx) => (
diff --git a/ui/src/components/settings/SettingsMessagingPage.tsx b/ui/src/components/settings/SettingsMessagingPage.tsx
index d6c669ff7..6249b562d 100644
--- a/ui/src/components/settings/SettingsMessagingPage.tsx
+++ b/ui/src/components/settings/SettingsMessagingPage.tsx
@@ -194,8 +194,8 @@ export const SettingsMessagingPage: React.FC = () => {
className={clsx(
'inline-flex items-center rounded-full border px-2.5 py-0.5 text-[11px] font-semibold uppercase tracking-[0.14em]',
saveError
- ? 'border-danger/30 bg-danger/10 text-danger'
- : 'border-mint/30 bg-mint/[0.08] text-mint'
+ ? 'border-destructive/30 bg-destructive/10 text-destructive-ink'
+ : 'border-mint/30 bg-mint/[0.08] text-mint-ink'
)}
>
{saveError ? t('common.saveFailed') : t('settings.messagingAutosaved')}
@@ -209,7 +209,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Sparkles className="size-3.5 text-cyan" />
+ <Sparkles className="size-3.5 text-cyan-ink" />
{t('settings.messagingInputEnrichmentTitle')}
</span>
}
@@ -276,7 +276,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Bot className="size-3.5 text-mint" />
+ <Bot className="size-3.5 text-mint-ink" />
{t('settings.messagingAgentContextTitle')}
</span>
}
@@ -312,7 +312,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Radio className="size-3.5 text-gold" />
+ <Radio className="size-3.5 text-gold-ink" />
{t('settings.messagingWorkFeedbackTitle')}
</span>
}
@@ -439,7 +439,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Send className="size-3.5 text-cyan" />
+ <Send className="size-3.5 text-cyan-ink" />
{t('settings.messagingReplyExperienceTitle')}
</span>
}
@@ -499,7 +499,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Type className="size-3.5 text-mint" />
+ <Type className="size-3.5 text-mint-ink" />
{t('settings.messagingDisplayTitle')}
</span>
}
@@ -582,7 +582,7 @@ export const SettingsMessagingPage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <MessageSquare className="size-3.5 text-mint" />
+ <MessageSquare className="size-3.5 text-mint-ink" />
{t('settings.messagingGroupsTitle')}
</span>
}
diff --git a/ui/src/components/settings/SettingsPageShell.tsx b/ui/src/components/settings/SettingsPageShell.tsx
index 95c7e3f8e..717b405c1 100644
--- a/ui/src/components/settings/SettingsPageShell.tsx
+++ b/ui/src/components/settings/SettingsPageShell.tsx
@@ -80,7 +80,7 @@ export const SettingsPageShell: React.FC<SettingsPageShellProps> = ({
: 'border-transparent font-medium text-muted hover:border-border-strong hover:text-foreground'
)}
>
- <Icon className={clsx('size-3.5', active ? 'text-mint' : 'text-muted')} />
+ <Icon className={clsx('size-3.5', active ? 'text-mint-ink' : 'text-muted')} />
{t(tab.label)}
</Link>
);
diff --git a/ui/src/components/settings/SettingsPlaceholderPage.tsx b/ui/src/components/settings/SettingsPlaceholderPage.tsx
index 73dcc595f..619a879b9 100644
--- a/ui/src/components/settings/SettingsPlaceholderPage.tsx
+++ b/ui/src/components/settings/SettingsPlaceholderPage.tsx
@@ -16,7 +16,7 @@ export const SettingsPlaceholderPage: React.FC<{
<SettingsPageShell activeTab={tab} title={t(titleKey)} subtitle={t(subtitleKey)}>
<div className="flex flex-col gap-3 rounded-xl border border-border bg-background px-6 py-5">
<div className="flex items-center gap-2 text-[14px] font-semibold text-foreground">
- <Sparkles className="size-4 text-cyan" />
+ <Sparkles className="size-4 text-cyan-ink" />
{t('settings.inProgressTitle')}
</div>
<p className="text-[12px] leading-relaxed text-muted">{t('settings.inProgressBody')}</p>
diff --git a/ui/src/components/settings/SettingsPlatformsPage.tsx b/ui/src/components/settings/SettingsPlatformsPage.tsx
index 532aaa9bd..89778092c 100644
--- a/ui/src/components/settings/SettingsPlatformsPage.tsx
+++ b/ui/src/components/settings/SettingsPlatformsPage.tsx
@@ -253,7 +253,7 @@ export const SettingsPlatformsPage: React.FC = () => {
aria-live="polite"
className="sticky top-2 z-10 flex items-center gap-3 rounded-xl border border-cyan/35 bg-cyan/[0.08] px-4 py-3 shadow-[0_8px_24px_-8px_rgba(0,212,255,0.35)]"
>
- <Loader2 size={16} className="shrink-0 animate-spin text-cyan" />
+ <Loader2 size={16} className="shrink-0 animate-spin text-cyan-ink" />
<div className="min-w-0 flex-1">
<div className="text-[13px] font-semibold text-foreground">
{t('platform.applyingConfig')}
@@ -353,12 +353,12 @@ export const SettingsPlatformsPage: React.FC = () => {
<div className="flex items-center gap-2">
<span className="text-[14px] font-semibold text-foreground">{label}</span>
{runnable ? (
- <span className="inline-flex items-center gap-1 rounded border border-mint/30 bg-mint/[0.08] px-1.5 py-0.5 text-[10px] font-medium text-mint">
+ <span className="inline-flex items-center gap-1 rounded border border-mint/30 bg-mint/[0.08] px-1.5 py-0.5 text-[10px] font-medium text-mint-ink">
<Check size={10} />
{t('platform.validationSuccess')}
</span>
) : (
- <span className="inline-flex items-center gap-1 rounded border border-gold/30 bg-gold/10 px-1.5 py-0.5 text-[10px] font-medium text-gold">
+ <span className="inline-flex items-center gap-1 rounded border border-gold/30 bg-gold/10 px-1.5 py-0.5 text-[10px] font-medium text-gold-ink">
{t('platform.stepAddBotToken')}
</span>
)}
@@ -445,7 +445,7 @@ const PlatformCard: React.FC<{
className={clsx(
'inline-flex shrink-0 items-center gap-1.5 rounded-lg border px-3 py-1.5 text-[12px] font-medium transition',
expanded
- ? 'border-mint/35 bg-mint/[0.08] text-mint'
+ ? 'border-mint/35 bg-mint/[0.08] text-mint-ink'
: 'border-border bg-foreground/[0.04] text-foreground hover:border-border-strong'
)}
>
diff --git a/ui/src/components/settings/SettingsServicePage.tsx b/ui/src/components/settings/SettingsServicePage.tsx
index 89d6188a1..5743d815b 100644
--- a/ui/src/components/settings/SettingsServicePage.tsx
+++ b/ui/src/components/settings/SettingsServicePage.tsx
@@ -174,7 +174,7 @@ export const SettingsServicePage: React.FC = () => {
<SettingsPanel
title={
<span className="inline-flex items-center gap-2">
- <Server className="size-3.5 text-mint" />
+ <Server className="size-3.5 text-mint-ink" />
{t('settings.serviceRuntimeTitle')}
</span>
}
@@ -184,7 +184,7 @@ export const SettingsServicePage: React.FC = () => {
className={clsx(
'inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-[11px] font-semibold uppercase tracking-[0.14em]',
isRunning
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
: 'border-border bg-foreground/[0.04] text-muted'
)}
>
@@ -243,7 +243,7 @@ export const SettingsServicePage: React.FC = () => {
<SettingsRow
title={
<span className="inline-flex items-center gap-2">
- <Globe2 className="size-3.5 text-cyan" />
+ <Globe2 className="size-3.5 text-cyan-ink" />
{t('settings.consoleServerTitle')}
</span>
}
@@ -294,7 +294,7 @@ export const SettingsServicePage: React.FC = () => {
<SettingsRow
title={
<span className="inline-flex items-center gap-2">
- <Tag className="size-3.5 text-cyan" />
+ <Tag className="size-3.5 text-cyan-ink" />
{t('settings.instanceNameTitle')}
</span>
}
diff --git a/ui/src/components/settings/memory/MemoryLogPanel.test.tsx b/ui/src/components/settings/memory/MemoryLogPanel.test.tsx
index 43bc6cefc..b0a36fffc 100644
--- a/ui/src/components/settings/memory/MemoryLogPanel.test.tsx
+++ b/ui/src/components/settings/memory/MemoryLogPanel.test.tsx
@@ -144,7 +144,7 @@ describe('MemoryLogPanel', () => {
await user.click(await screen.findByText('Alpha'));
const badge = await screen.findByText(`memory.log.status.${label}`);
- expect(badge.classList.contains('text-destructive')).toBe(true);
+ expect(badge.classList.contains('text-destructive-ink')).toBe(true);
});
it('accumulates cursor pages and refresh replaces the old result', async () => {
diff --git a/ui/src/components/settings/memory/MemoryLogPanel.tsx b/ui/src/components/settings/memory/MemoryLogPanel.tsx
index 6a2bb2385..3e50073f7 100644
--- a/ui/src/components/settings/memory/MemoryLogPanel.tsx
+++ b/ui/src/components/settings/memory/MemoryLogPanel.tsx
@@ -167,7 +167,7 @@ export const MemoryLogListContent: React.FC<{
</Button>
</div>
{error ? (
- <div className="rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">
{error}
</div>
) : null}
@@ -253,7 +253,7 @@ const StepRow: React.FC<{ step: MemoryLogStep }> = ({ step }) => {
{t('memory.log.unavailable', { reason: memoryLogEnumLabel(t, 'reason', step.reason) })}
</div>
) : null}
- {step.error ? <pre className="mt-2 whitespace-pre-wrap break-words text-[11px] text-destructive">{step.error}</pre> : null}
+ {step.error ? <pre className="mt-2 whitespace-pre-wrap break-words text-[11px] text-destructive-ink">{step.error}</pre> : null}
</div>
</div>
);
@@ -271,7 +271,7 @@ export const ProviderCallRow: React.FC<{ call: MemoryProviderCall }> = ({ call }
return (
<div className="rounded-md border border-border bg-surface">
{call.dropped_before > 0 ? (
- <div className="flex items-center gap-2 border-b border-gold/30 bg-gold/[0.06] px-3 py-2 text-[11.5px] text-gold">
+ <div className="flex items-center gap-2 border-b border-gold/30 bg-gold/[0.06] px-3 py-2 text-[11.5px] text-gold-ink">
<FileWarning className="size-3.5" />
{t('memory.log.droppedCalls', { count: call.dropped_before })}
</div>
@@ -307,7 +307,7 @@ export const ProviderCallRow: React.FC<{ call: MemoryProviderCall }> = ({ call }
<span>{t('memory.log.usage')}: <strong>{usage || '-'}</strong></span>
<span>{formatTimestamp(call.started_at_ms)}</span>
</div>
- {call.error ? <pre className="whitespace-pre-wrap break-words text-[11px] text-destructive">{call.error}</pre> : null}
+ {call.error ? <pre className="whitespace-pre-wrap break-words text-[11px] text-destructive-ink">{call.error}</pre> : null}
<JsonPayload value={call.request} label={t('memory.log.request')} />
{call.response !== null ? <JsonPayload value={call.response} label={t('memory.log.response')} /> : null}
</div>
@@ -341,7 +341,7 @@ const MemoryLogDetail: React.FC<{
<Card>
<CardContent className="py-4">
<div className="mb-4 flex items-center gap-2 text-[13px] font-semibold text-foreground">
- <Clock3 className="size-4 text-cyan" />
+ <Clock3 className="size-4 text-cyan-ink" />
{t('memory.log.timeline')}
</div>
<div>{detail.steps.map((step, index) => <StepRow key={`${step.type}-${step.run_id ?? index}`} step={step} />)}</div>
@@ -354,7 +354,7 @@ const MemoryLogDetail: React.FC<{
</Card>
<div className="flex flex-col gap-2">
<div className="flex items-center gap-2 text-[13px] font-semibold text-foreground">
- <Database className="size-4 text-violet" />
+ <Database className="size-4 text-violet-ink" />
{t('memory.log.callDetails')}
</div>
{detail.calls.length === 0 ? (
@@ -385,7 +385,7 @@ const MemoryLogDetail: React.FC<{
</span>
</div>
{detail.current_state.indexing.error ? (
- <div className="whitespace-pre-wrap break-words text-destructive">
+ <div className="whitespace-pre-wrap break-words text-destructive-ink">
{detail.current_state.indexing.error}
</div>
) : null}
@@ -460,7 +460,7 @@ export const MemoryLogPanel: React.FC<{
<ArrowLeft />
{t('memory.log.back')}
</Button>
- <div className="rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">
{detailRead.error ?? t('memory.log.detailUnavailable')}
</div>
</div>
diff --git a/ui/src/components/settings/memory/MemoryProfilePanel.tsx b/ui/src/components/settings/memory/MemoryProfilePanel.tsx
index 4f1b876e4..3cd5fada6 100644
--- a/ui/src/components/settings/memory/MemoryProfilePanel.tsx
+++ b/ui/src/components/settings/memory/MemoryProfilePanel.tsx
@@ -95,7 +95,7 @@ export const MemoryProfilePanel: React.FC<{ enabled: boolean }> = ({ enabled })
</Button>
</div>
{error ? (
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">{error}</div>
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">{error}</div>
) : loading && items === null ? (
<div className="flex items-center gap-2 px-1 text-sm text-muted">
<Loader2 className="size-4 animate-spin" />
diff --git a/ui/src/components/settings/memory/MemorySearchPanel.tsx b/ui/src/components/settings/memory/MemorySearchPanel.tsx
index 45009df71..1f1c8adf1 100644
--- a/ui/src/components/settings/memory/MemorySearchPanel.tsx
+++ b/ui/src/components/settings/memory/MemorySearchPanel.tsx
@@ -112,7 +112,7 @@ export const MemorySearchPanel: React.FC<{ enabled: boolean }> = ({ enabled }) =
<div className="rounded-xl border border-border bg-surface px-4 py-3 text-sm text-muted">{t('memory.search.truncated')}</div>
) : null}
{error ? (
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">{error}</div>
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">{error}</div>
) : !searched ? null : !items || items.length === 0 ? (
<div className="rounded-2xl border border-dashed border-border bg-surface p-8 text-center text-sm text-muted">
{t('memory.search.empty')}
diff --git a/ui/src/components/settings/memory/MemorySettingsPanel.tsx b/ui/src/components/settings/memory/MemorySettingsPanel.tsx
index 1e2a9353e..e78488225 100644
--- a/ui/src/components/settings/memory/MemorySettingsPanel.tsx
+++ b/ui/src/components/settings/memory/MemorySettingsPanel.tsx
@@ -332,7 +332,7 @@ export const MemorySettingsPanel: React.FC<{
return (
<div className="flex flex-col gap-4">
{rebuildRequired ? (
- <div className="flex flex-col gap-1 rounded-xl border border-warning/40 bg-warning/10 px-4 py-3">
+ <div className="flex flex-col gap-1 rounded-xl border border-gold/40 bg-gold/10 px-4 py-3">
<span className="text-[13px] font-semibold text-foreground">{t('memory.settings.rebuildRequiredTitle')}</span>
<span className="text-[12px] leading-snug text-muted">{t('memory.settings.rebuildRequiredDescription')}</span>
</div>
@@ -343,7 +343,7 @@ export const MemorySettingsPanel: React.FC<{
<span className="text-[13px] font-semibold text-foreground">{t('memory.settings.enableLabel')}</span>
<span className="text-[11.5px] leading-snug text-muted">{t('memory.settings.enableHint')}</span>
{!dependencyReady && !enabledDraft ? (
- <div className="mt-1.5 flex flex-wrap items-center gap-2 text-[11.5px] text-gold">
+ <div className="mt-1.5 flex flex-wrap items-center gap-2 text-[11.5px] text-gold-ink">
<ShieldAlert className="size-3.5 shrink-0" />
{t('memory.settings.dependencyNotReady')}
<Button asChild variant="secondary" size="xs">
@@ -387,7 +387,7 @@ export const MemorySettingsPanel: React.FC<{
/>
{error ? (
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">{error}</div>
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">{error}</div>
) : null}
{maintenanceError ? (
diff --git a/ui/src/components/settings/memory/MemoryStatusPanel.tsx b/ui/src/components/settings/memory/MemoryStatusPanel.tsx
index 2ac8f9774..b5803fa06 100644
--- a/ui/src/components/settings/memory/MemoryStatusPanel.tsx
+++ b/ui/src/components/settings/memory/MemoryStatusPanel.tsx
@@ -108,7 +108,7 @@ const FailureRow: React.FC<{ entry: MemoryFailureLogEntry }> = ({ entry }) => {
data-testid={`memory-anomaly-${entry.kind}`}
>
<div className="flex min-w-0 items-start gap-2.5">
- <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold" />
+ <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold-ink" />
<div className="min-w-0">
<div className="flex flex-wrap items-center gap-2">
<span className="break-words text-[12.5px] font-medium text-foreground">
@@ -120,7 +120,7 @@ const FailureRow: React.FC<{ entry: MemoryFailureLogEntry }> = ({ entry }) => {
</div>
<div className="mt-1 font-mono text-[10.5px] text-muted">{formatMemoryStatusTimestamp(entry.occurred_at)}</div>
{manualRequired ? (
- <div className="mt-1.5 text-[11px] text-gold">{t('memory.processingRecord.manualRequiredReadOnly')}</div>
+ <div className="mt-1.5 text-[11px] text-gold-ink">{t('memory.processingRecord.manualRequiredReadOnly')}</div>
) : null}
</div>
</div>
@@ -150,7 +150,7 @@ const ClearInProgressCard: React.FC<{
return (
<div className="flex flex-col gap-3 rounded-md border border-gold/40 bg-gold/[0.06] px-4 py-3">
<div className="flex min-w-0 items-start gap-2.5">
- <Clock3 className="mt-0.5 size-4 shrink-0 text-gold" />
+ <Clock3 className="mt-0.5 size-4 shrink-0 text-gold-ink" />
<div className="min-w-0">
<div className="text-[12.5px] font-semibold text-foreground">{t('memory.processingRecord.clearInProgress.title')}</div>
<div className="mt-0.5 text-[11px] text-muted">
@@ -264,7 +264,7 @@ export const MemoryStatusPanel: React.FC<{
<section className="flex flex-col gap-2" aria-labelledby="memory-runtime-title">
<div className="flex items-center gap-2">
- <Database className="size-4 text-violet" />
+ <Database className="size-4 text-violet-ink" />
<h3 id="memory-runtime-title" className="text-[13px] font-semibold text-foreground">
{t('memory.processingRecord.runtime.title')}
</h3>
@@ -277,7 +277,7 @@ export const MemoryStatusPanel: React.FC<{
<Card>
<CardContent className="flex flex-col gap-4 py-4">
{statusError ? (
- <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive-ink">
{statusError}
</div>
) : null}
@@ -371,13 +371,13 @@ export const MemoryStatusPanel: React.FC<{
</div>
)}
{repairError ? (
- <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[11.5px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[11.5px] text-destructive-ink">
{repairError}
</div>
) : null}
{repairHealth ? (
<div className="flex flex-wrap items-center gap-2 text-[11px] text-muted">
- <CheckCircle2 className={repairHealth.healthy ? 'size-3.5 text-mint' : 'size-3.5 text-gold'} />
+ <CheckCircle2 className={repairHealth.healthy ? 'size-3.5 text-mint-ink' : 'size-3.5 text-gold-ink'} />
<span>{t('memory.processingRecord.repair.healthResult')}</span>
<Badge variant={repairHealth.healthy ? 'success' : 'warning'}>
{repairHealth.healthy
@@ -457,11 +457,11 @@ export const MemoryStatusPanel: React.FC<{
<Card>
<CardContent className="py-2">
{failuresError ? (
- <div className="py-3 text-[12px] text-destructive">{failuresError}</div>
+ <div className="py-3 text-[12px] text-destructive-ink">{failuresError}</div>
) : null}
{failures.length === 0 && !failuresError ? (
<div className="flex items-center gap-2 py-3 text-[12px] text-muted">
- {failuresLoading ? <Loader2 className="size-3.5 animate-spin" /> : <CheckCircle2 className="size-3.5 text-mint" />}
+ {failuresLoading ? <Loader2 className="size-3.5 animate-spin" /> : <CheckCircle2 className="size-3.5 text-mint-ink" />}
{failuresLoading ? t('memory.processingRecord.anomalies.loading') : t('memory.processingRecord.anomalies.empty')}
</div>
) : failures.map((entry) => (
diff --git a/ui/src/components/settings/models/AgentCard.tsx b/ui/src/components/settings/models/AgentCard.tsx
index 1759d4d32..5228590af 100644
--- a/ui/src/components/settings/models/AgentCard.tsx
+++ b/ui/src/components/settings/models/AgentCard.tsx
@@ -117,7 +117,7 @@ const AgentModelCard: React.FC<{
&& Boolean(agent.model_supply?.length)
&& agent.model_supply?.every((entry) => !entry.has_runnable_hop);
const statusClass = switchFailed || health === 'interrupted'
- ? 'text-destructive'
+ ? 'text-destructive-ink'
: hasTakeover || health === 'degraded' || health === 'waiting'
? 'model-hub-ink-gold'
: 'text-muted';
diff --git a/ui/src/components/settings/models/GatewayModule.tsx b/ui/src/components/settings/models/GatewayModule.tsx
index 528e9cf51..4df0da45c 100644
--- a/ui/src/components/settings/models/GatewayModule.tsx
+++ b/ui/src/components/settings/models/GatewayModule.tsx
@@ -37,7 +37,7 @@ export const GatewayModule: React.FC<GatewayModuleProps> = ({ runtime, runtimeSn
: supply.kind === 'unread'
? <div className="flex h-full min-h-36 flex-col items-center justify-center gap-3 px-4 text-center"><p className="text-[12px] text-muted">{t('settings.models.gateway.supply.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.gateway.retry')}</Button></div>
: <>
- {supply.kind === 'degraded' && supply.cause === 'read_failed' && <div className="mb-2 flex items-center justify-between gap-3 rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2"><p className="text-[11px] text-destructive">{readFailureCopy ?? t('settings.models.gateway.supply.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.gateway.retry')}</Button></div>}
+ {supply.kind === 'degraded' && supply.cause === 'read_failed' && <div className="mb-2 flex items-center justify-between gap-3 rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2"><p className="text-[11px] text-destructive-ink">{readFailureCopy ?? t('settings.models.gateway.supply.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.gateway.retry')}</Button></div>}
<AgentCard agents={agents ?? []} runtime={runtime} {...props} />
</>}
</div>
diff --git a/ui/src/components/settings/models/OAuthConnectDialog.tsx b/ui/src/components/settings/models/OAuthConnectDialog.tsx
index c4bcbecfc..a7287c114 100644
--- a/ui/src/components/settings/models/OAuthConnectDialog.tsx
+++ b/ui/src/components/settings/models/OAuthConnectDialog.tsx
@@ -761,7 +761,7 @@ export const OAuthConnectDialog: React.FC<{
{failed && (
<div className="flex flex-col gap-2">
- <div className="flex items-start gap-2 rounded-lg border border-destructive/30 bg-destructive/[0.08] px-4 py-3 text-[13px] text-destructive">
+ <div className="flex items-start gap-2 rounded-lg border border-destructive/30 bg-destructive/[0.08] px-4 py-3 text-[13px] text-destructive-ink">
<TriangleAlert className="mt-0.5 size-4 shrink-0" />
{/* errorKey may be the flow's own runtime-declared `error_key`, so
an unknown one degrades to 连接失败 rather than rendering itself. */}
diff --git a/ui/src/components/settings/models/RecentSwitchesCard.tsx b/ui/src/components/settings/models/RecentSwitchesCard.tsx
index eea7a5e07..9600a4461 100644
--- a/ui/src/components/settings/models/RecentSwitchesCard.tsx
+++ b/ui/src/components/settings/models/RecentSwitchesCard.tsx
@@ -113,7 +113,7 @@ export const RecentSwitchesCard: React.FC<{
)}
</div>
{((eventsRead.kind === 'degraded' && eventsRead.cause === 'read_failed') || eventsRead.kind === 'unread') && (
- <div className="flex items-center justify-between gap-3 border-b border-border px-4 py-3 text-[12px] text-destructive sm:px-5">
+ <div className="flex items-center justify-between gap-3 border-b border-border px-4 py-3 text-[12px] text-destructive-ink sm:px-5">
<span>{t('settings.models.toast.refreshFailed')}</span>
<button type="button" onClick={() => void onRetry?.()} className="model-hub-action-mint shrink-0 font-semibold">{t('settings.models.upstream.retry')}</button>
</div>
diff --git a/ui/src/components/settings/models/RouteChainDialog.tsx b/ui/src/components/settings/models/RouteChainDialog.tsx
index fc2340f64..f81055fbe 100644
--- a/ui/src/components/settings/models/RouteChainDialog.tsx
+++ b/ui/src/components/settings/models/RouteChainDialog.tsx
@@ -855,7 +855,7 @@ export const RouteChainDialog: React.FC<{
</li>
))}
</ul>
- <p className="model-hub-guard-hint text-destructive">
+ <p className="model-hub-guard-hint text-destructive-ink">
<Info aria-hidden="true" />
{t("settings.models.guard.hint.interrupt")}
</p>
@@ -1067,7 +1067,7 @@ export const RouteChainDialog: React.FC<{
: "settings.models.routeDialog.reorder.sorted",
);
}}
- className="model-hub-route-reseed flex items-center gap-1.5 self-start font-semibold text-cyan"
+ className="model-hub-route-reseed flex items-center gap-1.5 self-start font-semibold text-cyan-ink"
>
<ListOrdered aria-hidden="true" />
{t("settings.models.routeDialog.reorder.label")}
diff --git a/ui/src/components/settings/models/SourceDetailPanel.tsx b/ui/src/components/settings/models/SourceDetailPanel.tsx
index fc249245c..b8e095fda 100644
--- a/ui/src/components/settings/models/SourceDetailPanel.tsx
+++ b/ui/src/components/settings/models/SourceDetailPanel.tsx
@@ -34,7 +34,7 @@ const ManualModelMenu: React.FC<{
className="w-40"
trigger={<button type="button" disabled={busy} aria-label={label} title={label} className="grid size-8 place-items-center rounded-md text-muted hover:bg-surface-2 hover:text-foreground"><MoreHorizontal className="size-4" /></button>}
>
- <button type="button" role="menuitem" className="flex w-full items-center rounded-md px-2.5 py-2 text-left text-[12px] font-semibold text-destructive hover:bg-destructive/[0.08]" onClick={() => { setOpen(false); onRemove(); }}>{t('settings.models.sourceDetail.row.remove')}</button>
+ <button type="button" role="menuitem" className="flex w-full items-center rounded-md px-2.5 py-2 text-left text-[12px] font-semibold text-destructive-ink hover:bg-destructive/[0.08]" onClick={() => { setOpen(false); onRemove(); }}>{t('settings.models.sourceDetail.row.remove')}</button>
</ResponsiveMenu>
);
};
@@ -154,7 +154,7 @@ const TierEditor: React.FC<{
placeholder={t('settings.models.sourceDetail.tiers.inputHint') as string}
className="model-hub-source-tier h-7 w-28 rounded-full border-mint/40 px-2.5"
/>
- {failedNext && <span className="model-hub-source-tier inline-flex items-center gap-1.5 text-destructive">
+ {failedNext && <span className="model-hub-source-tier inline-flex items-center gap-1.5 text-destructive-ink">
{t('settings.models.sourceDetail.fail.tier')}
<button type="button" disabled={saving} onMouseDown={(event) => event.preventDefault()} onClick={() => void retry()} className="font-semibold underline underline-offset-2 disabled:opacity-50">{t('settings.models.sourceDetail.retry')}</button>
</span>}
@@ -406,7 +406,7 @@ export const SourceDetailPanel: React.FC<{
</section>
{result && result.removed.length > 0 && <p className="model-hub-status-gold rounded-lg border px-3 py-2 text-[11.5px]">{t('settings.models.sourceDetail.refetch.removed', { count: result.removed.length, models: result.removed.join(', ') })}</p>}
{result && result.added.length === 0 && result.removed.length === 0 && <p className="model-hub-status-mint rounded-lg border px-3 py-2 text-[11.5px]">{t('settings.models.sourceDetail.refetch.unchangedOnly')}</p>}
- {refetchFailed && <p className="rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2 text-[11.5px] text-destructive">{t('settings.models.sourceDetail.fail.refetch')}</p>}
+ {refetchFailed && <p className="rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2 text-[11.5px] text-destructive-ink">{t('settings.models.sourceDetail.fail.refetch')}</p>}
<section className="model-hub-source-table overflow-hidden border border-border bg-surface">
<div className="model-hub-source-table-head hidden border-b border-border font-semibold md:grid">
<span>{t('settings.models.sourceDetail.col.id')}</span><span>{t('settings.models.sourceDetail.col.entry')}</span><span className="flex items-center gap-1">{t('settings.models.sourceDetail.col.tiers')}<Info className="size-3" /></span><span />
@@ -417,7 +417,7 @@ export const SourceDetailPanel: React.FC<{
<span className="model-hub-source-pill model-hub-source-entry-pill w-fit rounded-full border border-border font-semibold text-muted">{t(`settings.models.sourceDetail.entry.${model.origin === 'discovered' ? 'auto' : 'manual'}`)}</span>
<TierEditor model={model} onMutating={() => { setResult(null); setRefetchFailed(false); }} trackMutation={trackMutation} />
<div className="flex items-center justify-end gap-2">
- {removeFailure?.modelId === model.id && <span className="model-hub-source-tier text-right text-destructive">{t('settings.models.sourceDetail.fail.removeModel')} <button type="button" disabled={busy} onClick={() => {
+ {removeFailure?.modelId === model.id && <span className="model-hub-source-tier text-right text-destructive-ink">{t('settings.models.sourceDetail.fail.removeModel')} <button type="button" disabled={busy} onClick={() => {
if (!removeFailure.retryRead) void remove(model);
else {
setBusy(true);
@@ -444,7 +444,7 @@ export const SourceDetailPanel: React.FC<{
<Button variant="ghost" size="xs" disabled={busy} onClick={() => setManualDraft(null)}>{t('common.cancel')}</Button>
<Button size="xs" disabled={busy || !manualDraft.modelId.trim() || source.models.some((model) => model.id === manualDraft.modelId.trim())} onClick={() => void addManualModel()}>{manualDraft.failed ? t('settings.models.sourceDetail.retry') : t('settings.models.sourceDetail.action.addModel')}</Button>
</div>
- {manualDraft.failed && <p className="text-[11px] text-destructive md:col-span-4">{t('settings.models.sourceDetail.fail.addModel')}</p>}
+ {manualDraft.failed && <p className="text-[11px] text-destructive-ink md:col-span-4">{t('settings.models.sourceDetail.fail.addModel')}</p>}
</div>
)}
{source.kind === 'api_key' && !manualDraft && (
@@ -473,7 +473,7 @@ export const SourceDetailPanel: React.FC<{
<div className="model-hub-guard-list">{guard.hops.map((hop) => <div key={`${hop.backend}:${hop.menu_model}:${hop.position}:${hop.source_id}:${hop.model_id}`} className="model-hub-guard-hop"><span className="min-w-0 flex-1"><strong>{t(`settings.models.backends.${hop.backend}`, { defaultValue: hop.backend })} · {hop.menu_model}</strong><span>{hop.model_id} · {t('settings.models.guard.hop.position', { n: hop.position })}</span></span></div>)}</div>
</>}
<GuardGapList gaps={guard.gaps} />
- <p className={cn('model-hub-guard-hint', guard.gaps.length > 0 && 'text-destructive')}><Info aria-hidden />{t(`settings.models.guard.hint.${guard.gaps.length > 0 ? 'interrupt' : 'safe'}`)}</p>
+ <p className={cn('model-hub-guard-hint', guard.gaps.length > 0 && 'text-destructive-ink')}><Info aria-hidden />{t(`settings.models.guard.hint.${guard.gaps.length > 0 ? 'interrupt' : 'safe'}`)}</p>
</div>}
<footer className="model-hub-guard-foot"><Button variant="outline" className="model-hub-guard-action" onClick={() => setGuard(null)} disabled={busy}>{t('settings.models.guard.cancel')}</Button><Button variant="destructive" className="model-hub-guard-action" onClick={confirmGuard} disabled={busy}>{busy && <Loader2 className="animate-spin" />}{t(`settings.models.guard.confirm.${guard?.kind === 'remove' ? 'removeModel' : 'refetch'}`)}</Button></footer>
</DialogPrimitive.Content>
diff --git a/ui/src/components/settings/models/SourceOrderDrawer.tsx b/ui/src/components/settings/models/SourceOrderDrawer.tsx
index 0967c74ba..1aa604467 100644
--- a/ui/src/components/settings/models/SourceOrderDrawer.tsx
+++ b/ui/src/components/settings/models/SourceOrderDrawer.tsx
@@ -387,7 +387,7 @@ export const SourceOrderDrawer: React.FC<{
</div>
<footer className="model-hub-order-foot flex shrink-0 items-center justify-end border-t border-border">
- {saveFailed && <span className="mr-auto text-[11px] text-destructive">{t('settings.models.order.fail.save')}</span>}
+ {saveFailed && <span className="mr-auto text-[11px] text-destructive-ink">{t('settings.models.order.fail.save')}</span>}
<Button type="button" variant="outline" className="model-hub-order-action" disabled={saving} onClick={onClose}>
{t('settings.models.order.cancel')}
</Button>
diff --git a/ui/src/components/settings/models/SourcesCard.tsx b/ui/src/components/settings/models/SourcesCard.tsx
index db370cc19..14ed24b62 100644
--- a/ui/src/components/settings/models/SourcesCard.tsx
+++ b/ui/src/components/settings/models/SourcesCard.tsx
@@ -45,7 +45,7 @@ export const SourcesCard: React.FC<{
: read.kind === 'unread'
? <div className="flex h-full min-h-36 flex-col items-center justify-center gap-3 px-4 text-center"><p className="text-[12px] text-muted">{t('settings.models.upstream.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.upstream.retry')}</Button></div>
: <>
- {read.kind === 'degraded' && read.cause === 'read_failed' && <div className="mb-2 flex items-center justify-between gap-3 rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2"><p className="text-[11px] text-destructive">{readFailureCopy ?? t('settings.models.upstream.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.upstream.retry')}</Button></div>}
+ {read.kind === 'degraded' && read.cause === 'read_failed' && <div className="mb-2 flex items-center justify-between gap-3 rounded-lg border border-destructive/25 bg-destructive/[0.08] px-3 py-2"><p className="text-[11px] text-destructive-ink">{readFailureCopy ?? t('settings.models.upstream.unread')}</p><Button variant="outline" size="xs" onClick={onRetry}>{t('settings.models.upstream.retry')}</Button></div>}
{groups.length > 0
? groups.map((group) => <div key={group.id} className="space-y-2"><h3 className="model-hub-upstream-group-label flex h-[18px] items-center uppercase">{t(`settings.models.upstream.group.${group.id}`)}</h3>{group.sources.map((source) => <SourceRow key={source.id} source={source} onOpen={onOpenSource} />)}</div>)
: <p className="px-3 py-10 text-center text-[12px] text-muted">{t('settings.models.upstream.empty')}</p>}
diff --git a/ui/src/components/settings/models/modelHubSurface.css b/ui/src/components/settings/models/modelHubSurface.css
index 11b0275df..14403f89c 100644
--- a/ui/src/components/settings/models/modelHubSurface.css
+++ b/ui/src/components/settings/models/modelHubSurface.css
@@ -16,7 +16,12 @@
* --cyan / --destructive lands on design.pen's dark hex in dark mode and follows
* the light accents on its own. Accent *inks* do need one, because an accent
* dimmed toward transparency reads as "quiet" over black and "washed out" over
- * white; light re-anchors those on the full accent.
+ * white; light re-anchors those on the full ink.
+ *
+ * Which accent token a rule reaches for follows index.css: a fill, hairline or
+ * wire takes --X, and anything that renders as text or an icon takes --X-ink.
+ * They are different values in light, where a vivid brand fill and a legible
+ * label pull in opposite directions.
*/
:root {
/* Neutral wash channel: white over the dark frame. */
@@ -55,22 +60,23 @@
--model-hub-cyan-1a: color-mix(in srgb, var(--cyan) 10.2%, transparent);
--model-hub-cyan-4d: color-mix(in srgb, var(--cyan) 30.2%, transparent);
- /* Accent inks. */
- --model-hub-gold-ink: color-mix(in srgb, var(--gold) 85.1%, transparent);
- --model-hub-violet-ink: color-mix(in srgb, var(--violet) 80%, transparent);
- --model-hub-mint-ink: color-mix(in srgb, var(--mint) 80%, transparent);
+ /* Accent inks, dimmed a step from the accent's own ink token. */
+ --model-hub-gold-ink: color-mix(in srgb, var(--gold-ink) 85.1%, transparent);
+ --model-hub-violet-ink: color-mix(in srgb, var(--violet-ink) 80%, transparent);
+ --model-hub-mint-ink: color-mix(in srgb, var(--mint-ink) 80%, transparent);
/* Danger and success roles, shared by the key dialog and the adopt drawer.
* The danger ink mixes toward --foreground rather than transparency: that is
- * what lifts dark --destructive to design.pen's #ff8a8a and deepens the light
- * one instead of fading it into the surface. */
- --model-hub-danger-ink: color-mix(in srgb, var(--destructive) 80%, var(--foreground));
+ * what lifts dark --destructive-ink to design.pen's #ff8a8a and deepens the
+ * light one instead of fading it into the surface. */
+ --model-hub-danger-ink: color-mix(in srgb, var(--destructive-ink) 80%, var(--foreground));
--model-hub-danger-fill: color-mix(in srgb, var(--destructive) 7.8%, transparent);
--model-hub-danger-border: color-mix(in srgb, var(--destructive) 25%, transparent);
--model-hub-success-fill: color-mix(in srgb, var(--mint) 7.8%, transparent);
--model-hub-success-border: color-mix(in srgb, var(--mint) 25%, transparent);
- /* A brand button held at low emphasis. Its label stays --primary-foreground,
- * so light deepens the fill instead of paling it further (see light block). */
+ /* A brand button held at low emphasis: the fill fades toward the surface while
+ * the label stays --primary-foreground, which is dark in both themes. Needs no
+ * light branch — the same fade lands on white and keeps the label legible. */
--model-hub-dim-brand-fill: color-mix(in srgb, var(--mint) 34.9%, transparent);
/* Modal scrim and lifted-surface shadows, cast in the theme's own extreme:
@@ -87,10 +93,9 @@
--model-hub-ink-59: color-mix(in srgb, var(--muted) 65%, transparent);
--model-hub-ink-73: color-mix(in srgb, var(--muted) 80%, transparent);
--model-hub-ink-8c: var(--muted);
- --model-hub-gold-ink: var(--gold);
- --model-hub-violet-ink: var(--violet);
- --model-hub-mint-ink: var(--mint);
- --model-hub-dim-brand-fill: color-mix(in srgb, var(--mint) 80%, var(--foreground));
+ --model-hub-gold-ink: var(--gold-ink);
+ --model-hub-violet-ink: var(--violet-ink);
+ --model-hub-mint-ink: var(--mint-ink);
--model-hub-dialog-shadow: 0 16px 40px 0 color-mix(in srgb, var(--foreground) 14%, transparent);
--model-hub-drawer-shadow: -18px 0 48px color-mix(in srgb, var(--foreground) 16%, transparent);
}
@@ -103,10 +108,9 @@
--model-hub-ink-59: color-mix(in srgb, var(--muted) 65%, transparent);
--model-hub-ink-73: color-mix(in srgb, var(--muted) 80%, transparent);
--model-hub-ink-8c: var(--muted);
- --model-hub-gold-ink: var(--gold);
- --model-hub-violet-ink: var(--violet);
- --model-hub-mint-ink: var(--mint);
- --model-hub-dim-brand-fill: color-mix(in srgb, var(--mint) 80%, var(--foreground));
+ --model-hub-gold-ink: var(--gold-ink);
+ --model-hub-violet-ink: var(--violet-ink);
+ --model-hub-mint-ink: var(--mint-ink);
--model-hub-dialog-shadow: 0 16px 40px 0 color-mix(in srgb, var(--foreground) 14%, transparent);
--model-hub-drawer-shadow: -18px 0 48px color-mix(in srgb, var(--foreground) 16%, transparent);
}
@@ -117,20 +121,20 @@
.model-hub-accent-tile--gold { background: var(--model-hub-gold-1a); }
.model-hub-accent-tile--violet { background: var(--model-hub-violet-24); }
.model-hub-accent-tile--neutral { background: var(--model-hub-wash-0a); }
-.model-hub-accent-ink--cyan { color: var(--cyan); }
-.model-hub-accent-ink--mint { color: var(--mint); }
-.model-hub-accent-ink--gold { color: var(--gold); }
-.model-hub-accent-ink--violet { color: var(--violet); }
+.model-hub-accent-ink--cyan { color: var(--cyan-ink); }
+.model-hub-accent-ink--mint { color: var(--mint-ink); }
+.model-hub-accent-ink--gold { color: var(--gold-ink); }
+.model-hub-accent-ink--violet { color: var(--violet-ink); }
.model-hub-accent-ink--neutral { color: var(--muted); }
-.model-hub-accent-pill--cyan { border-color: var(--model-hub-cyan-4d); background: var(--model-hub-cyan-1a); color: var(--cyan); }
-.model-hub-accent-pill--mint { border-color: var(--model-hub-mint-4d); background: var(--model-hub-mint-1a); color: var(--mint); }
-.model-hub-accent-pill--gold { border-color: var(--model-hub-gold-4d); background: var(--model-hub-gold-1a); color: var(--gold); }
-.model-hub-accent-pill--violet { border-color: var(--model-hub-violet-4d); background: var(--model-hub-violet-1a); color: var(--violet); }
+.model-hub-accent-pill--cyan { border-color: var(--model-hub-cyan-4d); background: var(--model-hub-cyan-1a); color: var(--cyan-ink); }
+.model-hub-accent-pill--mint { border-color: var(--model-hub-mint-4d); background: var(--model-hub-mint-1a); color: var(--mint-ink); }
+.model-hub-accent-pill--gold { border-color: var(--model-hub-gold-4d); background: var(--model-hub-gold-1a); color: var(--gold-ink); }
+.model-hub-accent-pill--violet { border-color: var(--model-hub-violet-4d); background: var(--model-hub-violet-1a); color: var(--violet-ink); }
.model-hub-accent-pill--neutral { border-color: var(--model-hub-wash-14); background: var(--model-hub-wash-0a); color: var(--muted); }
-.model-hub-ink-mint { color: var(--mint); }
-.model-hub-ink-gold { color: var(--gold); }
-.model-hub-ink-violet { color: var(--violet); }
+.model-hub-ink-mint { color: var(--mint-ink); }
+.model-hub-ink-gold { color: var(--gold-ink); }
+.model-hub-ink-violet { color: var(--violet-ink); }
.model-hub-ink-40 { color: var(--model-hub-ink-40); }
.model-hub-ink-59 { color: var(--model-hub-ink-59); }
.model-hub-ink-73 { color: var(--model-hub-ink-73); }
@@ -141,10 +145,10 @@
.model-hub-fill-0a { background: var(--model-hub-wash-0a); }
.model-hub-border-14 { border-color: var(--model-hub-wash-14); }
.model-hub-border-33 { border-color: var(--model-hub-wash-33); }
-.model-hub-action-mint { color: var(--mint); }
+.model-hub-action-mint { color: var(--mint-ink); }
.model-hub-action-mint:hover { color: var(--model-hub-mint-ink); }
-.model-hub-status-gold { border-color: var(--model-hub-gold-66); background: var(--model-hub-gold-14); color: var(--gold); }
-.model-hub-status-mint { border-color: var(--model-hub-mint-4d); background: var(--model-hub-mint-14); color: var(--mint); }
+.model-hub-status-gold { border-color: var(--model-hub-gold-66); background: var(--model-hub-gold-14); color: var(--gold-ink); }
+.model-hub-status-mint { border-color: var(--model-hub-mint-4d); background: var(--model-hub-mint-14); color: var(--mint-ink); }
.model-hub-add-key-error-ink { color: var(--model-hub-danger-ink); }
.model-hub-shell {
@@ -203,7 +207,7 @@
border-radius: 999px;
background: var(--model-hub-mint-1a);
padding: 3px 8px;
- color: var(--mint);
+ color: var(--mint-ink);
font-size: 10.5px;
font-weight: 600;
letter-spacing: 0;
@@ -218,7 +222,7 @@
.model-hub-runtime-pill--error {
border-color: color-mix(in srgb, var(--destructive) 30%, transparent);
background: color-mix(in srgb, var(--destructive) 10%, transparent);
- color: var(--destructive);
+ color: var(--destructive-ink);
}
.model-hub-runtime-pill--direct {
@@ -244,7 +248,7 @@
border-radius: 999px;
background: var(--model-hub-violet-1a);
padding: 4px 10px;
- color: var(--violet);
+ color: var(--violet-ink);
font-size: 11px;
font-weight: 600;
letter-spacing: 0;
@@ -285,7 +289,7 @@
.model-hub-takeover-chip {
border-color: var(--model-hub-violet-4d);
background: var(--model-hub-violet-1a);
- color: var(--violet);
+ color: var(--violet-ink);
}
.model-hub-overview-body { position: relative; }
@@ -544,7 +548,7 @@
align-items: center;
border-color: var(--model-hub-add-key-success-border);
background: var(--model-hub-add-key-success-fill);
- color: var(--mint);
+ color: var(--mint-ink);
font-size: var(--model-hub-add-key-strip-title-size);
font-weight: 600;
}
@@ -582,7 +586,7 @@
}
.model-hub-add-key-segment.is-selected {
background: var(--model-hub-add-key-success-fill);
- color: var(--mint);
+ color: var(--mint-ink);
}
.model-hub-add-key-foot {
gap: var(--model-hub-add-key-foot-gap);
@@ -669,9 +673,9 @@
.model-hub-route-hop-model { font-size: 10.5px; }
.model-hub-route-grip { width: 14px; height: 14px; color: var(--model-hub-ink-4d); }
.model-hub-route-grip > svg { width: 14px; height: 14px; }
-.model-hub-route-grip[aria-grabbed="true"] { color: var(--mint); }
+.model-hub-route-grip[aria-grabbed="true"] { color: var(--mint-ink); }
.model-hub-route-invalid,
-.model-hub-route-invalid-summary { color: var(--destructive); font-size: 10px; line-height: 14px; }
+.model-hub-route-invalid-summary { color: var(--destructive-ink); font-size: 10px; line-height: 14px; }
.model-hub-route-selector-label { color: var(--model-hub-ink-73); font-size: 10.5px; font-weight: 700; }
.model-hub-route-candidate { min-height: 28px; }
.model-hub-route-remove { width: 26px; height: 26px; border-radius: 6px; color: var(--foreground); }
@@ -1059,7 +1063,7 @@
}
.model-hub-order-grip svg { width: 100%; height: 100%; }
.model-hub-order-grip:disabled { color: var(--model-hub-order-grip-dim); }
-.model-hub-order-grip.is-grabbed { color: var(--mint); }
+.model-hub-order-grip.is-grabbed { color: var(--mint-ink); }
.model-hub-order-ordinal {
width: var(--model-hub-order-ordinal-size);
height: var(--model-hub-order-ordinal-size);
@@ -1074,7 +1078,7 @@
font-size: 11px;
font-weight: 400;
}
-.model-hub-order-ordinal.is-first { background: var(--mint-soft); color: var(--mint); }
+.model-hub-order-ordinal.is-first { background: var(--mint-soft); color: var(--mint-ink); }
.model-hub-order-name { font-size: var(--model-hub-order-name-size); font-weight: 600; }
.model-hub-order-identity {
display: flex;
@@ -1120,7 +1124,7 @@
color: var(--muted);
font-size: 11.5px;
}
-.model-hub-order-state--error { color: var(--destructive); }
+.model-hub-order-state--error { color: var(--destructive-ink); }
.model-hub-order-foot {
min-height: 61px;
padding: var(--model-hub-order-foot-padding-y) var(--model-hub-order-foot-padding-x);
@@ -1220,7 +1224,7 @@
height: var(--model-hub-adopt-bullet-icon);
margin-top: 3px;
flex: none;
- color: var(--mint);
+ color: var(--mint-ink);
}
.model-hub-adopt-failure {
padding: 11px 13px;
diff --git a/ui/src/components/settings/models/sourceStatePresentation.ts b/ui/src/components/settings/models/sourceStatePresentation.ts
index d55167c25..35e5a2932 100644
--- a/ui/src/components/settings/models/sourceStatePresentation.ts
+++ b/ui/src/components/settings/models/sourceStatePresentation.ts
@@ -52,12 +52,12 @@ const STATUS_RULES: Readonly<Record<SourceStatus, Rule>> = {
key: state.detail_key
? NEEDS_ACTION_KEY[state.detail_key as NeedsActionDetailKey] ?? state.detail_key
: 'settings.models.state.needs_action',
- textClass: 'text-destructive',
+ textClass: 'text-destructive-ink',
dotClass: 'bg-destructive',
}),
error: () => ({
key: 'settings.models.sourceDetail.status.error',
- textClass: 'text-destructive',
+ textClass: 'text-destructive-ink',
dotClass: 'bg-destructive',
}),
};
@@ -87,7 +87,7 @@ export const sourceStatePresentation = (
values: adoption.native
? { backend: adoption.backends[0] }
: { backends: adoption.backends.join(locale.startsWith('zh') ? '、' : ', ') },
- textClass: adoption.native ? 'text-cyan' : 'model-hub-ink-mint',
+ textClass: adoption.native ? 'text-cyan-ink' : 'model-hub-ink-mint',
dotClass: adoption.native ? 'bg-cyan' : 'bg-mint',
};
}
diff --git a/ui/src/components/settings/oauth/OAuthFlowParts.tsx b/ui/src/components/settings/oauth/OAuthFlowParts.tsx
index 3165091ce..cef0c01c5 100644
--- a/ui/src/components/settings/oauth/OAuthFlowParts.tsx
+++ b/ui/src/components/settings/oauth/OAuthFlowParts.tsx
@@ -26,7 +26,7 @@ export const OAuthLinkRow: React.FC<{ url: string } & CopyProps> = ({ url, onCop
href={url}
target="_blank"
rel="noopener noreferrer"
- className="inline-flex max-w-full items-center gap-1.5 break-all rounded-md bg-cyan-soft/40 px-2 py-1 font-mono text-[12px] text-cyan transition-colors hover:bg-cyan-soft hover:text-cyan"
+ className="inline-flex max-w-full items-center gap-1.5 break-all rounded-md bg-cyan-soft/40 px-2 py-1 font-mono text-[12px] text-cyan-ink transition-colors hover:bg-cyan-soft hover:text-cyan-ink"
>
<ExternalLink className="size-3 shrink-0" />
<span className="break-all">{url}</span>
@@ -41,7 +41,7 @@ export const OAuthLinkRow: React.FC<{ url: string } & CopyProps> = ({ url, onCop
/** Device code as a spaced mono chip + a copy button. */
export const OAuthDeviceCodeRow: React.FC<{ code: string } & CopyProps> = ({ code, onCopy, copyLabel }) => (
<div className="flex flex-wrap items-center gap-2">
- <code className="rounded-md bg-cyan-soft/40 px-2.5 py-1 font-mono text-[14px] font-semibold tracking-[0.18em] text-cyan">
+ <code className="rounded-md bg-cyan-soft/40 px-2.5 py-1 font-mono text-[14px] font-semibold tracking-[0.18em] text-cyan-ink">
{code}
</code>
<Button type="button" variant="secondary" size="xs" onClick={onCopy}>
diff --git a/ui/src/components/settings/providers/ClaudeProviderConfig.tsx b/ui/src/components/settings/providers/ClaudeProviderConfig.tsx
index 1016f4d94..1e3dd1f32 100644
--- a/ui/src/components/settings/providers/ClaudeProviderConfig.tsx
+++ b/ui/src/components/settings/providers/ClaudeProviderConfig.tsx
@@ -250,7 +250,7 @@ export const ClaudeProviderConfig: React.FC<{
description={t('settings.backends.claudeDescription')}
Icon={Sparkles}
iconTileClassName="bg-cyan-soft"
- iconClassName="text-cyan"
+ iconClassName="text-cyan-ink"
runtime={runtime}
hideEnableToggle={hideEnableToggle}
/>
@@ -394,7 +394,7 @@ export const ClaudeProviderConfig: React.FC<{
size="xs"
onClick={() => void onRemoveApiKey()}
disabled={removingKey || editingKey}
- className="text-destructive hover:bg-destructive/10 hover:text-destructive"
+ className="text-destructive-ink hover:bg-destructive/10 hover:text-destructive-ink"
>
<Trash2 className="size-3" />
{removingKey
@@ -477,9 +477,9 @@ export const ClaudeProviderConfig: React.FC<{
overwrite Claude's own settings.json directly. */}
{authMode === 'api_key' && authState?.settings_conflict && (
<div className="flex items-start gap-2 rounded-lg border border-gold/30 bg-gold/[0.08] px-3 py-2.5">
- <AlertTriangle className="mt-0.5 size-3.5 shrink-0 text-gold" />
+ <AlertTriangle className="mt-0.5 size-3.5 shrink-0 text-gold-ink" />
<div className="flex flex-col gap-1">
- <p className="text-[12px] font-medium text-gold">
+ <p className="text-[12px] font-medium text-gold-ink">
{t('settings.backends.claudeSettingsConflictTitle')}
</p>
<p className="text-[12px] leading-relaxed text-muted">
diff --git a/ui/src/components/settings/providers/CodexProviderConfig.tsx b/ui/src/components/settings/providers/CodexProviderConfig.tsx
index b2c7ca392..f7bf97084 100644
--- a/ui/src/components/settings/providers/CodexProviderConfig.tsx
+++ b/ui/src/components/settings/providers/CodexProviderConfig.tsx
@@ -272,7 +272,7 @@ export const CodexProviderConfig: React.FC<{
// disk key/tokens we cannot tell whether the user is
// signed in via keychain or not — say so honestly rather
// than rendering "no key configured" with an oauth toggle.
- <p className="text-[12px] text-gold">
+ <p className="text-[12px] text-gold-ink">
{t('settings.backends.codexAuthModeUncertain', { store: state.credentials_store })}
</p>
)}
@@ -281,7 +281,7 @@ export const CodexProviderConfig: React.FC<{
// the API-key UX is honest about what saving will do: we pin
// ``cli_auth_credentials_store = "file"`` on save, otherwise
// Codex would ignore ``auth.json`` and keep reading the keychain.
- <p className="text-[12px] text-gold">
+ <p className="text-[12px] text-gold-ink">
{t('settings.backends.codexCredentialsStoreKeyringWarn', { store: state.credentials_store })}
</p>
)}
@@ -375,7 +375,7 @@ export const CodexProviderConfig: React.FC<{
size="xs"
onClick={() => void onRemoveApiKey()}
disabled={removingKey || editingKey}
- className="text-destructive hover:bg-destructive/10 hover:text-destructive"
+ className="text-destructive-ink hover:bg-destructive/10 hover:text-destructive-ink"
>
<Trash2 className="size-3" />
{removingKey
diff --git a/ui/src/components/settings/providers/OpencodeProviderConfig.tsx b/ui/src/components/settings/providers/OpencodeProviderConfig.tsx
index 866b9254e..e0d08c77f 100644
--- a/ui/src/components/settings/providers/OpencodeProviderConfig.tsx
+++ b/ui/src/components/settings/providers/OpencodeProviderConfig.tsx
@@ -782,7 +782,7 @@ export const OpencodeProviderConfig: React.FC<{
description={t('settings.backends.opencodeDescription')}
Icon={Terminal}
iconTileClassName="bg-violet-soft"
- iconClassName="text-violet"
+ iconClassName="text-violet-ink"
runtime={runtime}
hideEnableToggle={hideEnableToggle}
extraSlot={
@@ -808,7 +808,7 @@ export const OpencodeProviderConfig: React.FC<{
<div className="flex flex-col gap-3 md:flex-row md:items-center md:justify-between">
<div className="flex items-center gap-3">
<div className="flex size-11 shrink-0 items-center justify-center rounded-[10px] bg-cyan-soft">
- <Server size={22} className="text-cyan" />
+ <Server size={22} className="text-cyan-ink" />
</div>
<div className="flex flex-col gap-0.5">
<div className="flex flex-wrap items-center gap-2">
@@ -1001,7 +1001,7 @@ export const OpencodeProviderConfig: React.FC<{
</div>
</div>
{customProviderDraft.error && (
- <div className="mt-3 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive">
+ <div className="mt-3 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive-ink">
{customProviderDraft.error}
</div>
)}
@@ -1074,7 +1074,7 @@ export const OpencodeProviderConfig: React.FC<{
disabled={!providers || providers.length === 0}
className="justify-between gap-2 text-[12px]"
>
- <Star className="size-3.5 text-mint" />
+ <Star className="size-3.5 text-mint-ink" />
<span className="text-muted">
{t('settings.backends.opencodeDefaultLabel')}:
</span>
@@ -1157,7 +1157,7 @@ export const OpencodeProviderConfig: React.FC<{
{t('settings.backends.opencodeBadgeUnset')}
</Badge>
)}
- {isCurrent && <Check className="size-3.5 text-mint" />}
+ {isCurrent && <Check className="size-3.5 text-mint-ink" />}
</span>
</Button>
</li>
@@ -1173,9 +1173,9 @@ export const OpencodeProviderConfig: React.FC<{
{/* Server-starting / error banner. */}
{providersError && (
<div className="flex items-start gap-2 rounded-lg border border-gold/30 bg-gold/[0.08] px-3 py-2.5">
- <AlertCircle className="mt-0.5 size-3.5 shrink-0 text-gold" />
+ <AlertCircle className="mt-0.5 size-3.5 shrink-0 text-gold-ink" />
<div className="flex flex-1 flex-col gap-1">
- <p className="text-[12px] font-medium text-gold">
+ <p className="text-[12px] font-medium text-gold-ink">
{serverStartAttempts < SERVER_START_MAX_RETRIES
? t('settings.backends.opencodeServerStarting')
: t('settings.backends.opencodeServerUnreachable')}
@@ -1196,7 +1196,7 @@ export const OpencodeProviderConfig: React.FC<{
{/* Initial loading skeleton. */}
{providersLoading && !providers && (
<div className="rounded-lg border border-border bg-surface-2/60 px-3 py-6 text-center text-[12px] text-muted">
- <RefreshCw className="mx-auto mb-2 size-4 animate-spin text-cyan" />
+ <RefreshCw className="mx-auto mb-2 size-4 animate-spin text-cyan-ink" />
{t('settings.backends.opencodeProvidersLoading')}
</div>
)}
@@ -1297,7 +1297,7 @@ export const OpencodeProviderConfig: React.FC<{
size="xs"
onClick={() => void onRemoveProviderAuth(provider)}
disabled={edit.deletingProvider || edit.saving}
- className="text-destructive"
+ className="text-destructive-ink"
>
{edit.deletingProvider ? (
<RefreshCw className="size-3.5 animate-spin" />
@@ -1324,7 +1324,7 @@ export const OpencodeProviderConfig: React.FC<{
size="xs"
onClick={() => void onDeleteCustomProvider(provider)}
disabled={edit.removing || edit.saving}
- className="text-destructive"
+ className="text-destructive-ink"
>
{edit.removing ? (
<RefreshCw className="size-3.5 animate-spin" />
@@ -1501,7 +1501,7 @@ export const OpencodeProviderConfig: React.FC<{
</div>
{edit.error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-[12px] text-destructive-ink">
{edit.error}
</div>
)}
@@ -1696,7 +1696,7 @@ export const OpencodeProviderConfig: React.FC<{
{edit.removingModelId === model ? (
<RefreshCw className="size-3 animate-spin" />
) : (
- <Trash2 className="size-3 text-destructive" />
+ <Trash2 className="size-3 text-destructive-ink" />
)}
</Button>
)}
diff --git a/ui/src/components/settings/shared/BackendRuntimeCard.tsx b/ui/src/components/settings/shared/BackendRuntimeCard.tsx
index 3bb1c15a1..e8261a129 100644
--- a/ui/src/components/settings/shared/BackendRuntimeCard.tsx
+++ b/ui/src/components/settings/shared/BackendRuntimeCard.tsx
@@ -35,7 +35,7 @@ export interface BackendRuntimeCardProps {
* with the icon-only chip used elsewhere in the design.
*/
iconTileClassName: string;
- /** Tailwind class for the icon glyph colour, e.g. ``"text-cyan"``. */
+ /** Tailwind class for the icon glyph colour, e.g. ``"text-cyan-ink"``. */
iconClassName: string;
/** Runtime state object from ``useBackendRuntime``. */
runtime: BackendRuntimeState;
@@ -149,7 +149,7 @@ export const BackendRuntimeCard: React.FC<BackendRuntimeCardProps> = ({
{runtime.cliStatus === 'missing' && (
<div className="space-y-2 rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2.5">
- <p className="text-[12px] text-cyan">{t('agentDetection.installHint')}</p>
+ <p className="text-[12px] text-cyan-ink">{t('agentDetection.installHint')}</p>
<div className="flex flex-wrap items-center gap-3">
<Button
variant="brand-cyan"
@@ -170,7 +170,7 @@ export const BackendRuntimeCard: React.FC<BackendRuntimeCardProps> = ({
<span
className={clsx(
'text-[12px]',
- runtime.installResult.ok ? 'text-mint' : 'text-destructive',
+ runtime.installResult.ok ? 'text-mint-ink' : 'text-destructive-ink',
)}
>
{runtime.installResult.message}
@@ -182,7 +182,7 @@ export const BackendRuntimeCard: React.FC<BackendRuntimeCardProps> = ({
<button
type="button"
onClick={() => runtime.setInstallOutputOpen((v) => !v)}
- className="inline-flex items-center gap-1 text-[11px] text-cyan transition hover:text-cyan/80"
+ className="inline-flex items-center gap-1 text-[11px] text-cyan-ink transition hover:text-cyan-ink/80"
>
{runtime.installOutputOpen ? (
<ChevronUp size={12} />
diff --git a/ui/src/components/settings/shared/OpencodePermissionSetup.tsx b/ui/src/components/settings/shared/OpencodePermissionSetup.tsx
index 32da7dc5f..526baa786 100644
--- a/ui/src/components/settings/shared/OpencodePermissionSetup.tsx
+++ b/ui/src/components/settings/shared/OpencodePermissionSetup.tsx
@@ -38,7 +38,7 @@ export function OpencodePermissionSetup({
if (!cliReady || permissionAllowed) return null;
return (
<div className={cn('rounded-lg border border-gold/30 bg-gold/10 px-3 py-2.5', className)}>
- <p className="mb-2 text-[12px] text-gold">{t('agentDetection.permissionHintStrong')}</p>
+ <p className="mb-2 text-[12px] text-gold-ink">{t('agentDetection.permissionHintStrong')}</p>
<div className="flex flex-wrap items-center gap-3">
<Button
type="button"
@@ -54,8 +54,8 @@ export function OpencodePermissionSetup({
)}
{t('agentDetection.setupPermission')}
</Button>
- {state === 'success' && <span className="text-[12px] text-mint">{message}</span>}
- {state === 'error' && <span className="text-[12px] text-destructive">{message}</span>}
+ {state === 'success' && <span className="text-[12px] text-mint-ink">{message}</span>}
+ {state === 'error' && <span className="text-[12px] text-destructive-ink">{message}</span>}
</div>
</div>
);
diff --git a/ui/src/components/shared/ProxyUrlField.tsx b/ui/src/components/shared/ProxyUrlField.tsx
index 8d2c95d67..ea808813c 100644
--- a/ui/src/components/shared/ProxyUrlField.tsx
+++ b/ui/src/components/shared/ProxyUrlField.tsx
@@ -36,10 +36,10 @@ export function ProxyUrlField({
type="button"
onClick={() => setExpanded((v) => !v)}
aria-expanded={expanded}
- className="flex w-full items-center justify-between gap-2 text-left text-[12px] font-medium text-foreground transition hover:text-cyan"
+ className="flex w-full items-center justify-between gap-2 text-left text-[12px] font-medium text-foreground transition hover:text-cyan-ink"
>
<span className="flex items-center gap-2">
- <SplitSquareVertical size={14} className="text-cyan" />
+ <SplitSquareVertical size={14} className="text-cyan-ink" />
{t(labelKey)}
<span className="text-[11px] font-normal text-muted">
{t('common.proxyUrlCollapsedHint')}
diff --git a/ui/src/components/shared/RoutingConfigPanel.tsx b/ui/src/components/shared/RoutingConfigPanel.tsx
index b7da106ef..195781982 100644
--- a/ui/src/components/shared/RoutingConfigPanel.tsx
+++ b/ui/src/components/shared/RoutingConfigPanel.tsx
@@ -277,7 +277,7 @@ export const RoutingConfigPanel: React.FC<RoutingConfigPanelProps> = ({
className={clsx(
'inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-[12px] font-medium transition-colors',
checked
- ? 'border-mint/40 bg-mint/15 text-mint'
+ ? 'border-mint/40 bg-mint/15 text-mint-ink'
: 'border-border bg-foreground/[0.02] text-muted hover:border-border-strong hover:text-foreground'
)}
>
diff --git a/ui/src/components/shared/WizardStep.tsx b/ui/src/components/shared/WizardStep.tsx
index f9d91f5cb..01d6d31e2 100644
--- a/ui/src/components/shared/WizardStep.tsx
+++ b/ui/src/components/shared/WizardStep.tsx
@@ -45,7 +45,7 @@ export const StepHeader: React.FC<StepHeaderProps> = ({
<span
className={clsx(
'flex size-7 items-center justify-center rounded-full text-[12px] font-bold transition-colors',
- completed ? 'bg-mint text-primary-foreground' : 'bg-cyan/15 text-cyan'
+ completed ? 'bg-mint text-primary-foreground' : 'bg-cyan/15 text-cyan-ink'
)}
>
{completed ? <Check size={14} /> : step}
diff --git a/ui/src/components/steps/AgentDetection.tsx b/ui/src/components/steps/AgentDetection.tsx
index 73292dd34..41cead61a 100644
--- a/ui/src/components/steps/AgentDetection.tsx
+++ b/ui/src/components/steps/AgentDetection.tsx
@@ -379,7 +379,7 @@ export const AgentDetection: React.FC<AgentDetectionProps> = ({ data, onNext, on
</Button>
{installResults[name]?.message && (
<span
- className={clsx('text-[11px]', installResults[name].ok ? 'text-mint' : 'text-danger')}
+ className={clsx('text-[11px]', installResults[name].ok ? 'text-mint-ink' : 'text-destructive-ink')}
>
{installResults[name].message}
</span>
@@ -392,7 +392,7 @@ export const AgentDetection: React.FC<AgentDetectionProps> = ({ data, onNext, on
<div>
<button
onClick={() => toggleOutput(name)}
- className="inline-flex items-center gap-1 text-[11px] text-cyan transition hover:text-cyan/80"
+ className="inline-flex items-center gap-1 text-[11px] text-cyan-ink transition hover:text-cyan-ink/80"
>
{expandedOutputs[name] ? <ChevronUp size={12} /> : <ChevronDown size={12} />}
{t('agentDetection.showOutput')}
@@ -478,7 +478,7 @@ export const AgentDetection: React.FC<AgentDetectionProps> = ({ data, onNext, on
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{enabledCount} active
</span>
</div>
@@ -503,7 +503,7 @@ export const AgentDetection: React.FC<AgentDetectionProps> = ({ data, onNext, on
)}
<div className="flex flex-1 flex-col items-end gap-1.5 sm:flex-none">
{opencodeNeedsPermission && (
- <p className="text-right text-[12px] text-gold">
+ <p className="text-right text-[12px] text-gold-ink">
{t('agentDetection.permissionGateHint')}
</p>
)}
diff --git a/ui/src/components/steps/ChannelList.tsx b/ui/src/components/steps/ChannelList.tsx
index 70be0e437..9477bd647 100644
--- a/ui/src/components/steps/ChannelList.tsx
+++ b/ui/src/components/steps/ChannelList.tsx
@@ -1086,7 +1086,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
<p className="text-[14px] leading-[1.55] text-muted">{t('wechat.noChannels')}</p>
</div>
<div className="flex flex-col items-center gap-3 rounded-xl border border-cyan/30 bg-cyan/[0.06] px-6 py-10 text-center">
- <div className="flex size-14 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.08] text-cyan">
+ <div className="flex size-14 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.08] text-cyan-ink">
<MessageSquare size={26} />
</div>
<p className="text-[12px] text-muted">{t('wechat.noChannels')}</p>
@@ -1128,7 +1128,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
</div>
</div>
<div className="rounded-2xl border border-border bg-surface-2/40 p-8 text-center shadow-[0_18px_40px_-30px_rgba(0,0,0,0.8)]">
- <div className="w-16 h-16 bg-accent/10 text-accent rounded-full flex items-center justify-center border border-accent/20 mx-auto mb-4">
+ <div className="w-16 h-16 bg-accent/10 text-accent-ink rounded-full flex items-center justify-center border border-accent/20 mx-auto mb-4">
<MessageSquare size={32} />
</div>
<p className="text-muted mb-6">{t('wechat.noChannels')}</p>
@@ -1315,12 +1315,12 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
: 'border-transparent text-muted hover:text-foreground'
)}
>
- <Globe size={16} className={pageTab === 'all' ? 'text-mint' : 'text-muted'} />
+ <Globe size={16} className={pageTab === 'all' ? 'text-mint-ink' : 'text-muted'} />
<span>{t('channelList.allChannelsTab')}</span>
<span
className={clsx(
'rounded-full px-1.5 py-0.5 font-mono text-[10px]',
- pageTab === 'all' ? 'bg-mint-soft text-mint' : 'bg-foreground/[0.06] text-muted'
+ pageTab === 'all' ? 'bg-mint-soft text-mint-ink' : 'bg-foreground/[0.06] text-muted'
)}
>
{allTabCounts.active}
@@ -1346,7 +1346,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
<span
className={clsx(
'rounded-full px-1.5 py-0.5 font-mono text-[10px]',
- active ? 'bg-mint-soft text-mint' : 'bg-foreground/[0.06] text-muted'
+ active ? 'bg-mint-soft text-mint-ink' : 'bg-foreground/[0.06] text-muted'
)}
>
{counts.active}
@@ -1659,7 +1659,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
className={clsx(
'inline-flex items-center gap-1.5 rounded-full border px-2 py-0.5 text-[11px] font-medium',
channelEnabled
- ? 'border-mint/40 bg-mint-soft text-mint'
+ ? 'border-mint/40 bg-mint-soft text-mint-ink'
: 'border-border bg-foreground/[0.04] text-muted'
)}
>
@@ -1837,7 +1837,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
{isPage && (
<div className="flex flex-wrap items-center gap-3 rounded-2xl border border-border bg-surface-2/40 px-4 py-3 text-sm text-muted shadow-[0_18px_40px_-30px_rgba(0,0,0,0.8)]">
- <span className="rounded-full border border-mint/40 bg-mint-soft px-2.5 py-1 text-xs font-medium text-mint">
+ <span className="rounded-full border border-mint/40 bg-mint-soft px-2.5 py-1 text-xs font-medium text-mint-ink">
{t('channelList.enabledCount', { count: selectedCount })}
</span>
<span>{t('dashboard.metricGroupsHint', { count: channels.length })}</span>
@@ -1857,7 +1857,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
className={clsx(
'rounded-full border px-3 py-1.5 text-[12px] font-medium transition-colors',
platform === candidate
- ? 'border-mint/50 bg-mint/[0.16] text-mint shadow-[0_0_20px_-4px_rgba(91,255,160,0.4)]'
+ ? 'border-mint/50 bg-mint/[0.16] text-mint-ink shadow-[0_0_20px_-4px_rgba(91,255,160,0.4)]'
: 'border-border bg-foreground/[0.04] text-foreground hover:border-border-strong'
)}
>
@@ -1914,7 +1914,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
</span>
</span>
{channels.length === 0 && !loading && (
- <span className="text-sm text-warning">{t('channelList.noChannelsFound')}</span>
+ <span className="text-sm text-gold-ink">{t('channelList.noChannelsFound')}</span>
)}
</div>
<span className="text-sm text-muted font-mono">{t('channelList.enabledCount', { count: selectedCount })}</span>
@@ -2049,7 +2049,7 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
}
updateConfig(channel.id, patch);
}}
- className={clsx('shrink-0', channelConfig.enabled ? 'text-accent' : 'text-muted')}
+ className={clsx('shrink-0', channelConfig.enabled ? 'text-accent-ink' : 'text-muted')}
>
{channelConfig.enabled ? <CheckSquare size={20} /> : <Square size={20} />}
</button>
@@ -2075,15 +2075,15 @@ export const ChannelList: React.FC<ChannelListProps> = ({ data = {}, onNext, onB
? 'bg-surface text-foreground border-border'
: platform === 'telegram'
? channel.supports_topics
- ? 'bg-accent/10 text-accent border-accent/20'
+ ? 'bg-accent/10 text-accent-ink border-accent/20'
: channel.type === 'supergroup'
- ? 'bg-success/10 text-success border-success/20'
+ ? 'bg-mint/10 text-mint-ink border-mint/20'
: channel.is_private
- ? 'bg-warning/10 text-warning border-warning/20'
+ ? 'bg-gold/10 text-gold-ink border-gold/20'
: 'bg-surface text-foreground border-border'
: channel.is_private
- ? 'bg-warning/10 text-warning border-warning/20'
- : 'bg-success/10 text-success border-success/20'
+ ? 'bg-gold/10 text-gold-ink border-gold/20'
+ : 'bg-mint/10 text-mint-ink border-mint/20'
)}
>
{platform === 'discord'
diff --git a/ui/src/components/steps/DiscordConfig.tsx b/ui/src/components/steps/DiscordConfig.tsx
index f23d8b7e9..0c8ddd5d1 100644
--- a/ui/src/components/steps/DiscordConfig.tsx
+++ b/ui/src/components/steps/DiscordConfig.tsx
@@ -179,7 +179,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<StepHeader
step={1}
title={t('discordConfig.step1Title')}
- icon={<Plus size={16} className="text-cyan" />}
+ icon={<Plus size={16} className="text-cyan-ink" />}
expanded={expandedSteps[1]}
onToggle={() => toggleStep(1)}
/>
@@ -204,7 +204,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<StepHeader
step={2}
title={t('discordConfig.step2Title')}
- icon={<Settings size={16} className="text-cyan" />}
+ icon={<Settings size={16} className="text-cyan-ink" />}
expanded={expandedSteps[2]}
onToggle={() => toggleStep(2)}
/>
@@ -215,7 +215,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<li>{t('discordConfig.step2Item1')}</li>
<li>{t('discordConfig.step2Item2')}</li>
</ol>
- <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan">
+ <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan-ink">
<strong>{t('slackConfig.tip')}:</strong> {t('discordConfig.step2Tip')}
</div>
</div>
@@ -227,7 +227,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<StepHeader
step={3}
title={t('discordConfig.step3Title')}
- icon={<ExternalLink size={16} className="text-cyan" />}
+ icon={<ExternalLink size={16} className="text-cyan-ink" />}
expanded={expandedSteps[3]}
onToggle={() => toggleStep(3)}
/>
@@ -242,7 +242,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
</ol>
<div className="space-y-2">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <KeyRound size={14} className="text-cyan" /> {t('discordConfig.clientId')}
+ <KeyRound size={14} className="text-cyan-ink" /> {t('discordConfig.clientId')}
</label>
<Input
type="text"
@@ -261,7 +261,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<button
onClick={copyInviteUrl}
disabled={!inviteUrl}
- className="inline-flex items-center gap-1 text-[11px] text-cyan transition hover:text-cyan/80 disabled:cursor-not-allowed disabled:opacity-50"
+ className="inline-flex items-center gap-1 text-[11px] text-cyan-ink transition hover:text-cyan-ink/80 disabled:cursor-not-allowed disabled:opacity-50"
>
{inviteCopied ? <Check size={12} /> : <Copy size={12} />}
{inviteCopied ? t('discordConfig.inviteUrlCopied') : t('discordConfig.inviteUrlCopy')}
@@ -286,11 +286,11 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
</Button>
<div className="space-y-2 rounded-lg border border-gold/30 bg-gold/10 px-3 py-2.5">
- <div className="flex items-center gap-2 text-[12px] font-semibold text-gold">
- <AlertTriangle size={14} className="text-gold" />
+ <div className="flex items-center gap-2 text-[12px] font-semibold text-gold-ink">
+ <AlertTriangle size={14} className="text-gold-ink" />
{t('discordConfig.dmTroubleshootTitle')}
</div>
- <ol className="list-inside list-decimal space-y-1 pl-1 text-[11px] leading-[1.55] text-gold/90">
+ <ol className="list-inside list-decimal space-y-1 pl-1 text-[11px] leading-[1.55] text-gold-ink/90">
<li>{t('discordConfig.dmTroubleshoot1')}</li>
<li>{t('discordConfig.dmTroubleshoot2')}</li>
<li>{t('discordConfig.dmTroubleshoot3')}</li>
@@ -305,7 +305,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<StepHeader
step={4}
title={t('discordConfig.step4Title')}
- icon={<KeyRound size={16} className="text-cyan" />}
+ icon={<KeyRound size={16} className="text-cyan-ink" />}
completed={isValid}
expanded={expandedSteps[4]}
onToggle={() => toggleStep(4)}
@@ -321,7 +321,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <KeyRound size={14} className="text-cyan" /> {t('discordConfig.botToken')}
+ <KeyRound size={14} className="text-cyan-ink" /> {t('discordConfig.botToken')}
</label>
<Input
type="password"
@@ -350,8 +350,8 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
className={clsx(
'inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[12px] font-medium',
authResult.ok
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
- : 'border-danger/30 bg-danger/10 text-danger'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{authResult.ok ? <Check size={14} /> : null}
@@ -365,7 +365,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
{authResult?.ok && (
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <Server size={14} className="text-cyan" /> {t('discordConfig.guild')}
+ <Server size={14} className="text-cyan-ink" /> {t('discordConfig.guild')}
</label>
{guilds.length > 0 && (
<div className="flex flex-wrap items-center justify-between gap-2">
@@ -376,7 +376,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
<button
type="button"
onClick={selectAllGuilds}
- className="text-[11px] font-medium text-cyan transition hover:text-cyan/80"
+ className="text-[11px] font-medium text-cyan-ink transition hover:text-cyan-ink/80"
>
{t('discordConfig.selectAllGuilds')}
</button>
@@ -451,7 +451,7 @@ export const DiscordConfig: React.FC<DiscordConfigProps> = ({ data, onNext, onBa
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completedCount} / 4
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/steps/DoctorPanel.tsx b/ui/src/components/steps/DoctorPanel.tsx
index 9bf5b528f..d391570ef 100644
--- a/ui/src/components/steps/DoctorPanel.tsx
+++ b/ui/src/components/steps/DoctorPanel.tsx
@@ -31,20 +31,20 @@ const STATUS_TONE: Record<
> = {
pass: {
row: '',
- icon: 'text-mint',
+ icon: 'text-mint-ink',
text: 'text-foreground',
iconNode: <CheckCircle className="size-4" />,
},
warn: {
row: 'bg-gold/[0.05]',
- icon: 'text-gold',
- text: 'text-gold font-semibold',
+ icon: 'text-gold-ink',
+ text: 'text-gold-ink font-semibold',
iconNode: <AlertTriangle className="size-4" />,
},
fail: {
- row: 'bg-danger/[0.06]',
- icon: 'text-danger',
- text: 'text-danger font-semibold',
+ row: 'bg-destructive/[0.06]',
+ icon: 'text-destructive-ink',
+ text: 'text-destructive-ink font-semibold',
iconNode: <XCircle className="size-4" />,
},
};
@@ -97,7 +97,7 @@ export const DoctorPanel: React.FC<DoctorPanelProps> = ({
<div className="flex flex-wrap items-center justify-between gap-4 rounded-2xl border border-mint/30 bg-surface-2 px-6 py-5 shadow-[0_16px_32px_-8px_rgba(91,255,160,0.078)]">
<div className="flex min-w-0 items-center gap-3.5">
<div className="flex size-[42px] shrink-0 items-center justify-center rounded-full border border-mint/35 bg-mint/[0.08] shadow-[0_0_16px_-4px_rgba(91,255,160,0.44)]">
- <Activity className="size-5 text-mint" strokeWidth={2.25} />
+ <Activity className="size-5 text-mint-ink" strokeWidth={2.25} />
</div>
<div className="flex min-w-0 flex-col gap-0.5">
<h2 className="text-[16px] font-semibold tracking-[-0.2px] text-foreground">
@@ -199,7 +199,7 @@ export const DoctorPanel: React.FC<DoctorPanelProps> = ({
<span
className={clsx(
'font-mono text-[10px] font-bold',
- groupPass === groupTotal ? 'text-mint' : 'text-gold'
+ groupPass === groupTotal ? 'text-mint-ink' : 'text-gold-ink'
)}
>
{groupPass} / {groupTotal}
@@ -220,7 +220,7 @@ export const DoctorPanel: React.FC<DoctorPanelProps> = ({
<div className="flex min-w-0 flex-1 flex-col gap-1">
<div className={clsx('text-[12px]', tone.text)}>{item.message}</div>
{item.action && (
- <div className="cursor-pointer text-[11px] text-cyan underline-offset-2 hover:underline">
+ <div className="cursor-pointer text-[11px] text-cyan-ink underline-offset-2 hover:underline">
{item.action}
</div>
)}
@@ -245,9 +245,9 @@ const SummaryTile: React.FC<{
icon: React.ReactNode;
}> = ({ tone, label, value, icon }) => {
const cfg = {
- success: 'border-mint/30 bg-mint/[0.06] text-mint',
- warning: 'border-gold/30 bg-gold/[0.06] text-gold',
- danger: 'border-danger/30 bg-danger/[0.06] text-danger',
+ success: 'border-mint/30 bg-mint/[0.06] text-mint-ink',
+ warning: 'border-gold/30 bg-gold/[0.06] text-gold-ink',
+ danger: 'border-destructive/30 bg-destructive/[0.06] text-destructive-ink',
}[tone];
return (
<div className={clsx('flex items-center gap-3 rounded-xl border px-4 py-3', cfg)}>
diff --git a/ui/src/components/steps/LarkConfig.tsx b/ui/src/components/steps/LarkConfig.tsx
index 895e5faf1..0ce17e234 100644
--- a/ui/src/components/steps/LarkConfig.tsx
+++ b/ui/src/components/steps/LarkConfig.tsx
@@ -230,7 +230,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
{/* Domain selector */}
<div className="space-y-2 rounded-xl border border-border bg-background px-5 py-4">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <Globe size={14} className="text-cyan" /> {t('larkConfig.domainLabel')}
+ <Globe size={14} className="text-cyan-ink" /> {t('larkConfig.domainLabel')}
</label>
<div className="flex gap-2">
{(['feishu', 'lark'] as const).map((opt) => (
@@ -244,7 +244,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
className={clsx(
'flex-1 rounded-lg border px-3 py-2 text-[12px] font-semibold transition',
domain === opt
- ? 'border-mint/45 bg-mint/[0.08] text-mint shadow-[0_0_24px_-4px_rgba(91,255,160,0.4)]'
+ ? 'border-mint/45 bg-mint/[0.08] text-mint-ink shadow-[0_0_24px_-4px_rgba(91,255,160,0.4)]'
: 'border-border bg-foreground/[0.04] text-muted hover:border-border-strong hover:text-foreground'
)}
>
@@ -261,7 +261,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<StepHeader
step={1}
title={t('larkConfig.step1Title')}
- icon={<Plus size={16} className="text-cyan" />}
+ icon={<Plus size={16} className="text-cyan-ink" />}
expanded={expandedSteps[1]}
onToggle={() => toggleStep(1)}
/>
@@ -283,7 +283,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<StepHeader
step={2}
title={t('larkConfig.step2Title')}
- icon={<KeyRound size={16} className="text-cyan" />}
+ icon={<KeyRound size={16} className="text-cyan-ink" />}
completed={isValid}
expanded={expandedSteps[2]}
onToggle={() => toggleStep(2)}
@@ -294,7 +294,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <KeyRound size={14} className="text-cyan" /> {t('larkConfig.appId')}
+ <KeyRound size={14} className="text-cyan-ink" /> {t('larkConfig.appId')}
</label>
<Input
type="text"
@@ -308,7 +308,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<div className="space-y-2">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <KeyRound size={14} className="text-cyan" /> {t('larkConfig.appSecret')}
+ <KeyRound size={14} className="text-cyan-ink" /> {t('larkConfig.appSecret')}
</label>
<Input
type="password"
@@ -341,8 +341,8 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
className={clsx(
'inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[12px] font-medium',
authResult.ok
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
- : 'border-danger/30 bg-danger/10 text-danger'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{authResult.ok ? <Check size={14} /> : null}
@@ -357,9 +357,9 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<div
className={clsx(
'inline-flex items-center gap-2 rounded-lg border px-3 py-1.5 text-[12px]',
- wsStatus === 'connecting' && 'border-cyan/30 bg-cyan/[0.06] text-cyan',
- wsStatus === 'connected' && 'border-mint/30 bg-mint/[0.08] text-mint',
- wsStatus === 'error' && 'border-danger/30 bg-danger/10 text-danger'
+ wsStatus === 'connecting' && 'border-cyan/30 bg-cyan/[0.06] text-cyan-ink',
+ wsStatus === 'connected' && 'border-mint/30 bg-mint/[0.08] text-mint-ink',
+ wsStatus === 'error' && 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{wsStatus === 'connecting' && <RefreshCw size={14} className="animate-spin" />}
@@ -372,14 +372,14 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
{authResult?.ok && chats.length > 0 && (
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <MessageSquare size={14} className="text-cyan" /> {t('larkConfig.chatListLabel')}
+ <MessageSquare size={14} className="text-cyan-ink" /> {t('larkConfig.chatListLabel')}
</label>
<p className="text-[11px] text-muted">{t('larkConfig.chatListHint')}</p>
<div className="max-h-32 overflow-y-auto rounded-lg border border-border bg-background px-3 py-2.5">
<ul className="space-y-1 text-[12px] text-foreground">
{chats.map((c: any) => (
<li key={c.id} className="flex items-center gap-2">
- <Check size={12} className="shrink-0 text-mint" />
+ <Check size={12} className="shrink-0 text-mint-ink" />
<span>{c.name}</span>
<span className="font-mono text-[11px] text-muted">({c.id})</span>
</li>
@@ -397,7 +397,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<StepHeader
step={3}
title={t('larkConfig.step3Title')}
- icon={<Shield size={16} className="text-cyan" />}
+ icon={<Shield size={16} className="text-cyan-ink" />}
expanded={expandedSteps[3]}
onToggle={() => toggleStep(3)}
/>
@@ -409,10 +409,10 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<div className="space-y-2 rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2.5">
<div className="flex items-center justify-between">
- <span className="text-[12px] font-semibold text-cyan">{t('larkConfig.step3BatchImport')}</span>
+ <span className="text-[12px] font-semibold text-cyan-ink">{t('larkConfig.step3BatchImport')}</span>
<button
onClick={copyPermissionsJson}
- className="inline-flex items-center gap-1.5 rounded border border-cyan/30 bg-cyan/[0.08] px-2 py-0.5 text-[11px] font-medium text-cyan transition hover:bg-cyan/[0.16]"
+ className="inline-flex items-center gap-1.5 rounded border border-cyan/30 bg-cyan/[0.08] px-2 py-0.5 text-[11px] font-medium text-cyan-ink transition hover:bg-cyan/[0.16]"
>
{copiedJson ? <Check size={12} /> : <Copy size={12} />}
{copiedJson ? t('larkConfig.step3Copied') : t('larkConfig.step3CopyJson')}
@@ -421,11 +421,11 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<pre className="overflow-x-auto whitespace-pre rounded bg-background/80 px-3 py-2 font-mono text-[11px] text-foreground">
{LARK_PERMISSIONS_JSON}
</pre>
- <p className="text-[11px] text-cyan/85">{t('larkConfig.step3BatchImportHint')}</p>
+ <p className="text-[11px] text-cyan-ink/85">{t('larkConfig.step3BatchImportHint')}</p>
</div>
<details className="text-[12px] text-muted">
- <summary className="cursor-pointer font-medium text-foreground transition hover:text-cyan">
+ <summary className="cursor-pointer font-medium text-foreground transition hover:text-cyan-ink">
{t('larkConfig.step3ManualList')}
</summary>
<ul className="mt-2 space-y-1.5 pl-1">
@@ -448,7 +448,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<StepHeader
step={4}
title={t('larkConfig.step4Title')}
- icon={<Radio size={16} className="text-cyan" />}
+ icon={<Radio size={16} className="text-cyan-ink" />}
expanded={expandedSteps[4]}
onToggle={() => toggleStep(4)}
/>
@@ -477,17 +477,17 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
</ol>
</div>
- <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold">
+ <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold-ink">
<strong>{t('slackConfig.important')}:</strong> {t('larkConfig.step4Tip')}
</div>
<div className="space-y-1.5 rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2.5">
- <div className="flex items-center gap-2 text-[12px] font-semibold text-cyan">
+ <div className="flex items-center gap-2 text-[12px] font-semibold text-cyan-ink">
<AlertTriangle size={14} />
{t('larkConfig.step4LongConnFaqTitle')}
</div>
- <p className="text-[11px] text-cyan/85">{t('larkConfig.step4LongConnFaqDesc')}</p>
- <p className="text-[11px] font-medium text-cyan">{t('larkConfig.step4LarkWsWarning')}</p>
+ <p className="text-[11px] text-cyan-ink/85">{t('larkConfig.step4LongConnFaqDesc')}</p>
+ <p className="text-[11px] font-medium text-cyan-ink">{t('larkConfig.step4LarkWsWarning')}</p>
</div>
</div>
)}
@@ -498,7 +498,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<StepHeader
step={5}
title={t('larkConfig.step5Title')}
- icon={<BookOpen size={16} className="text-cyan" />}
+ icon={<BookOpen size={16} className="text-cyan-ink" />}
expanded={expandedSteps[5]}
onToggle={() => toggleStep(5)}
/>
@@ -511,7 +511,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
<ol className="list-inside list-decimal space-y-1.5 pl-1 text-[12px] leading-[1.55] text-muted">
<li>{t('larkConfig.step5Item1')}</li>
</ol>
- <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold">
+ <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold-ink">
<strong>{t('slackConfig.important')}:</strong> {t('larkConfig.step5Tip')}
</div>
</div>
@@ -550,7 +550,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack, em
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completedCount} / 5
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/steps/LogsPanel.tsx b/ui/src/components/steps/LogsPanel.tsx
index 5648f04f0..5f6ed4788 100644
--- a/ui/src/components/steps/LogsPanel.tsx
+++ b/ui/src/components/steps/LogsPanel.tsx
@@ -20,9 +20,9 @@ type LogLevel = 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'ALL';
const LEVEL_PILL: Record<string, string> = {
DEBUG: 'border-border bg-foreground/[0.04] text-muted',
- INFO: 'border-cyan/30 bg-cyan/[0.08] text-cyan',
- WARNING: 'border-gold/30 bg-gold/[0.08] text-gold',
- ERROR: 'border-danger/30 bg-danger/[0.08] text-danger',
+ INFO: 'border-cyan/30 bg-cyan/[0.08] text-cyan-ink',
+ WARNING: 'border-gold/30 bg-gold/[0.08] text-gold-ink',
+ ERROR: 'border-destructive/30 bg-destructive/[0.08] text-destructive-ink',
};
const parseLogMessage = (message: string): { location?: string; content: string } => {
@@ -149,7 +149,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
<div className="flex flex-wrap items-center justify-between gap-3">
{!compactHeader && (
<h2 className="inline-flex items-center gap-2 text-[24px] font-bold tracking-[-0.3px] text-foreground">
- <FileText className="size-5 text-cyan" />
+ <FileText className="size-5 text-cyan-ink" />
{t(titleKey)}
</h2>
)}
@@ -160,7 +160,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
className={clsx(
'inline-flex h-9 items-center gap-1.5 rounded-lg border px-3 text-[12px] font-medium transition',
autoRefresh
- ? 'border-cyan/40 bg-cyan/[0.08] text-cyan'
+ ? 'border-cyan/40 bg-cyan/[0.08] text-cyan-ink'
: 'border-border bg-foreground/[0.04] text-foreground hover:border-border-strong'
)}
>
@@ -219,7 +219,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
className={clsx(
'inline-flex h-7 items-center gap-1 rounded-full border px-3 text-[11px] font-medium transition-colors',
selectedSource === source.key
- ? 'border-mint/35 bg-mint/[0.08] text-mint shadow-[0_0_12px_-4px_rgba(91,255,160,0.5)]'
+ ? 'border-mint/35 bg-mint/[0.08] text-mint-ink shadow-[0_0_12px_-4px_rgba(91,255,160,0.5)]'
: 'border-border bg-foreground/[0.04] text-muted hover:border-border-strong hover:text-foreground'
)}
>
@@ -241,7 +241,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
className={clsx(
'inline-flex h-7 items-center gap-1 rounded-full border px-3 text-[11px] font-medium transition-colors',
levelFilter === level
- ? 'border-cyan/40 bg-cyan/[0.08] text-cyan'
+ ? 'border-cyan/40 bg-cyan/[0.08] text-cyan-ink'
: 'border-border bg-foreground/[0.04] text-muted hover:border-border-strong hover:text-foreground'
)}
>
@@ -263,7 +263,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
<button
type="button"
onClick={scrollToTop}
- className="inline-flex items-center gap-1 text-[11px] font-medium text-cyan transition hover:text-cyan/80"
+ className="inline-flex items-center gap-1 text-[11px] font-medium text-cyan-ink transition hover:text-cyan-ink/80"
>
<ArrowDown className="size-3" /> {t('logs.jumpToLatest')}
</button>
@@ -300,7 +300,7 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
key={i}
className={clsx(
'px-4 py-2.5 transition-colors hover:bg-foreground/[0.02]',
- log.level === 'ERROR' && 'bg-danger/[0.04]',
+ log.level === 'ERROR' && 'bg-destructive/[0.04]',
log.level === 'WARNING' && 'bg-gold/[0.04]'
)}
>
@@ -331,9 +331,9 @@ export const LogsPanel: React.FC<LogsPanelProps> = ({
className={clsx(
'mt-1.5 whitespace-pre-wrap break-words font-mono text-[12px] leading-relaxed',
log.level === 'ERROR'
- ? 'text-danger'
+ ? 'text-destructive-ink'
: log.level === 'WARNING'
- ? 'text-gold'
+ ? 'text-gold-ink'
: 'text-foreground'
)}
>
diff --git a/ui/src/components/steps/ModeSelection.tsx b/ui/src/components/steps/ModeSelection.tsx
index 03835c125..7ce16c7f5 100644
--- a/ui/src/components/steps/ModeSelection.tsx
+++ b/ui/src/components/steps/ModeSelection.tsx
@@ -56,11 +56,11 @@ export const ModeSelection: React.FC<ModeSelectionProps> = ({ data, onNext, onBa
isDisabled ? 'opacity-50 cursor-not-allowed' : 'hover:border-accent/50'
)}
>
- <div className={clsx("p-3 rounded-lg", isSelected ? "bg-accent/10 text-accent" : "bg-muted-soft text-muted")}>
+ <div className={clsx("p-3 rounded-lg", isSelected ? "bg-accent/10 text-accent-ink" : "bg-muted-soft text-muted")}>
<Icon size={24} />
</div>
<div>
- <h3 className={clsx("font-semibold text-lg font-display", isSelected ? "text-accent" : "text-text")}>{m.title}</h3>
+ <h3 className={clsx("font-semibold text-lg font-display", isSelected ? "text-accent-ink" : "text-text")}>{m.title}</h3>
<p className="text-muted mt-1">{m.description}</p>
</div>
</button>
diff --git a/ui/src/components/steps/PlatformSelection.tsx b/ui/src/components/steps/PlatformSelection.tsx
index d581a3eea..71fe2eefc 100644
--- a/ui/src/components/steps/PlatformSelection.tsx
+++ b/ui/src/components/steps/PlatformSelection.tsx
@@ -340,7 +340,7 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe
)}
>
<span className="truncate">{label}</span>
- {active ? <Check className="size-3 text-mint" /> : <Plus className="size-3" />}
+ {active ? <Check className="size-3 text-mint-ink" /> : <Plus className="size-3" />}
</button>
);
})}
@@ -387,7 +387,7 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe
className={clsx(
'h-6 rounded-md border px-2.5 text-[10px] font-medium transition-colors',
activeCredentialPlatform === platform
- ? 'border-mint/40 bg-mint-soft text-mint'
+ ? 'border-mint/40 bg-mint-soft text-mint-ink'
: 'border-border bg-surface-3 text-muted hover:border-border-strong'
)}
>
@@ -471,8 +471,8 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe
className={clsx(
'mt-2 rounded-md border px-2.5 py-1.5 text-[10px]',
currentValidationState === 'success'
- ? 'border-mint/30 bg-mint-soft text-mint'
- : 'border-danger/30 bg-danger/10 text-danger'
+ ? 'border-mint/30 bg-mint-soft text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{currentValidationState === 'success' ? t('platform.validationSuccess') : t('platform.validationFailed')}
@@ -522,12 +522,12 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe
<p className="text-[13px] leading-[1.5] text-muted">{t('platform.workbenchDesc')}</p>
</div>
<div className="flex items-center gap-2 rounded-lg border border-cyan/30 bg-cyan/[0.08] px-3 py-2.5">
- <Smartphone className="size-4 shrink-0 text-cyan" />
+ <Smartphone className="size-4 shrink-0 text-cyan-ink" />
<span className="text-[12px] leading-[1.4] text-foreground">{t('platform.workbenchPwa')}</span>
</div>
<div className="mt-auto flex items-center gap-2">
- <CircleCheckBig className="size-4 shrink-0 text-mint" />
- <span className="text-[12px] font-semibold text-mint">{t('platform.workbenchAlwaysOn')}</span>
+ <CircleCheckBig className="size-4 shrink-0 text-mint-ink" />
+ <span className="text-[12px] font-semibold text-mint-ink">{t('platform.workbenchAlwaysOn')}</span>
</div>
</div>
@@ -581,7 +581,7 @@ export const PlatformSelection: React.FC<PlatformSelectionProps> = ({ data, onNe
{/* Selection indicator on the phone row only; on sm+ the
mint border carries the selected state (design.pen). */}
{active ? (
- <CircleCheckBig className="ml-auto size-5 shrink-0 text-mint sm:hidden" strokeWidth={2.25} />
+ <CircleCheckBig className="ml-auto size-5 shrink-0 text-mint-ink sm:hidden" strokeWidth={2.25} />
) : (
<Circle className="ml-auto size-5 shrink-0 text-muted/40 sm:hidden" strokeWidth={2} />
)}
diff --git a/ui/src/components/steps/SlackConfig.tsx b/ui/src/components/steps/SlackConfig.tsx
index a76fcab3b..aceacdc3b 100644
--- a/ui/src/components/steps/SlackConfig.tsx
+++ b/ui/src/components/steps/SlackConfig.tsx
@@ -156,7 +156,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<StepHeader
step={1}
title={t('slackConfig.step1Title')}
- icon={<Plus size={16} className="text-cyan" />}
+ icon={<Plus size={16} className="text-cyan-ink" />}
expanded={expandedSteps[1]}
onToggle={() => toggleStep(1)}
/>
@@ -188,7 +188,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
</div>
{manifest && (
<details className="group">
- <summary className="flex cursor-pointer items-center gap-1 text-[12px] text-cyan hover:text-cyan/80">
+ <summary className="flex cursor-pointer items-center gap-1 text-[12px] text-cyan-ink hover:text-cyan-ink/80">
<ChevronDown size={14} className="transition-transform group-open:rotate-180" />
{t('slackConfig.viewManifest')}
</summary>
@@ -203,7 +203,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
{t('common.loading')}
</div>
)}
- <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan">
+ <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan-ink">
<strong>{t('slackConfig.tip')}:</strong> {t('slackConfig.step1Tip')}
</div>
</div>
@@ -215,7 +215,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<StepHeader
step={2}
title={t('slackConfig.step2Title')}
- icon={<Shield size={16} className="text-cyan" />}
+ icon={<Shield size={16} className="text-cyan-ink" />}
completed={botToken.startsWith('xoxb-')}
expanded={expandedSteps[2]}
onToggle={() => toggleStep(2)}
@@ -231,7 +231,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
</ol>
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <Key size={14} className="text-cyan" /> {t('slackConfig.botToken')}
+ <Key size={14} className="text-cyan-ink" /> {t('slackConfig.botToken')}
</label>
<Input
type="password"
@@ -254,7 +254,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<StepHeader
step={3}
title={t('slackConfig.step3Title')}
- icon={<Lock size={16} className="text-cyan" />}
+ icon={<Lock size={16} className="text-cyan-ink" />}
completed={appToken.startsWith('xapp-')}
expanded={expandedSteps[3]}
onToggle={() => toggleStep(3)}
@@ -271,7 +271,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
</ol>
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <Key size={14} className="text-cyan" /> {t('slackConfig.appToken')}
+ <Key size={14} className="text-cyan-ink" /> {t('slackConfig.appToken')}
</label>
<Input
type="password"
@@ -285,7 +285,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<code className="rounded bg-foreground/[0.06] px-1.5 py-0.5 text-foreground">xapp-</code>
</p>
</div>
- <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold">
+ <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold-ink">
<strong>{t('slackConfig.important')}:</strong> {t('slackConfig.step3Warning')}
</div>
</div>
@@ -297,7 +297,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<StepHeader
step={4}
title={t('slackConfig.step4Title')}
- icon={<Hash size={16} className="text-cyan" />}
+ icon={<Hash size={16} className="text-cyan-ink" />}
completed={!!authResult?.ok}
expanded={expandedSteps[4]}
onToggle={() => toggleStep(4)}
@@ -325,8 +325,8 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
className={clsx(
'inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[12px] font-medium',
authResult.ok
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
- : 'border-danger/30 bg-danger/10 text-danger'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{authResult.ok ? <Check size={14} /> : null}
@@ -342,7 +342,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
<li>{t('slackConfig.step4Item2')}</li>
<li>{t('slackConfig.step4Item3')}</li>
</ol>
- <div className="rounded-lg border border-mint/30 bg-mint/[0.08] px-3 py-2 text-[12px] leading-[1.55] text-mint">
+ <div className="rounded-lg border border-mint/30 bg-mint/[0.08] px-3 py-2 text-[12px] leading-[1.55] text-mint-ink">
<strong>{t('slackConfig.tip')}:</strong> {t('slackConfig.step4Tip')}
</div>
</div>
@@ -382,7 +382,7 @@ export const SlackConfig: React.FC<SlackConfigProps> = ({ data, onNext, onBack,
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completedCount} / 4
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/steps/Summary.tsx b/ui/src/components/steps/Summary.tsx
index 3cf98281f..c61bde63f 100644
--- a/ui/src/components/steps/Summary.tsx
+++ b/ui/src/components/steps/Summary.tsx
@@ -197,7 +197,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
return (
<div className="flex w-full justify-center">
<WizardCard accent size="hero" className="items-center gap-6 text-center">
- <div className="flex size-[72px] items-center justify-center rounded-full border-2 border-mint/40 bg-mint/[0.08] text-mint shadow-[0_0_48px_-6px_rgba(91,255,160,0.7)]">
+ <div className="flex size-[72px] items-center justify-center rounded-full border-2 border-mint/40 bg-mint/[0.08] text-mint-ink shadow-[0_0_48px_-6px_rgba(91,255,160,0.7)]">
<Check size={36} strokeWidth={2.4} />
</div>
<div className="space-y-2">
@@ -210,7 +210,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
</div>
<div className="w-full max-w-md rounded-xl border border-gold/30 bg-gold/[0.06] px-5 py-4 text-left">
<div className="mb-3 flex items-center gap-3">
- <div className="flex size-10 items-center justify-center rounded-lg border border-gold/30 bg-gold/15 text-gold">
+ <div className="flex size-10 items-center justify-center rounded-lg border border-gold/30 bg-gold/15 text-gold-ink">
<Key size={18} />
</div>
<div>
@@ -226,11 +226,11 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
title="Copy"
aria-label={t('common.copy') as string}
>
- {codeCopied ? <Check size={16} className="text-mint" /> : <Copy size={16} />}
+ {codeCopied ? <Check size={16} className="text-mint-ink" /> : <Copy size={16} />}
</button>
</div>
{codeCopied && (
- <p className="mt-2 text-[11px] text-mint">{t('summary.bindCodeCopied')}</p>
+ <p className="mt-2 text-[11px] text-mint-ink">{t('summary.bindCodeCopied')}</p>
)}
</div>
<Button variant="brand" size="lg" onClick={() => navigate('/')}>
@@ -246,7 +246,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
<div className="flex w-full justify-center">
<WizardCard accent size="hero" className="gap-6">
<div className="flex flex-col items-center gap-5 text-center">
- <div className="flex size-[72px] items-center justify-center rounded-full border-2 border-mint/40 bg-mint/[0.08] text-mint shadow-[0_0_48px_-6px_rgba(91,255,160,0.7)]">
+ <div className="flex size-[72px] items-center justify-center rounded-full border-2 border-mint/40 bg-mint/[0.08] text-mint-ink shadow-[0_0_48px_-6px_rgba(91,255,160,0.7)]">
<Check size={36} strokeWidth={2.4} />
</div>
<div className="space-y-2">
@@ -293,7 +293,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
{/* Quick start tips */}
<div className="rounded-xl border border-cyan/30 bg-cyan/[0.05] px-5 py-4">
<div className="mb-3 flex items-center gap-2">
- <Sparkles size={14} className="text-cyan" />
+ <Sparkles size={14} className="text-cyan-ink" />
<h3 className="text-[13px] font-semibold text-foreground">{t('summary.usageTips')}</h3>
</div>
<div className="space-y-3">
@@ -319,7 +319,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {
</div>
{error && (
- <div className="rounded-lg border border-danger/30 bg-danger/10 px-4 py-3 text-[12px] text-danger">
+ <div className="rounded-lg border border-destructive/30 bg-destructive/10 px-4 py-3 text-[12px] text-destructive-ink">
{error}
</div>
)}
@@ -353,9 +353,9 @@ const Tip: React.FC<{
description: string;
}> = ({ icon, tone, title, description }) => {
const toneClasses = {
- cyan: 'border-cyan/30 bg-cyan/[0.08] text-cyan',
- gold: 'border-gold/30 bg-gold/10 text-gold',
- mint: 'border-mint/30 bg-mint/[0.08] text-mint',
+ cyan: 'border-cyan/30 bg-cyan/[0.08] text-cyan-ink',
+ gold: 'border-gold/30 bg-gold/10 text-gold-ink',
+ mint: 'border-mint/30 bg-mint/[0.08] text-mint-ink',
}[tone];
return (
<div className="flex items-start gap-3">
diff --git a/ui/src/components/steps/TelegramConfig.tsx b/ui/src/components/steps/TelegramConfig.tsx
index 879828c0d..0bf9119a5 100644
--- a/ui/src/components/steps/TelegramConfig.tsx
+++ b/ui/src/components/steps/TelegramConfig.tsx
@@ -157,7 +157,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<StepHeader
step={1}
title={t('telegramConfig.step1Title')}
- icon={<MessageSquare size={16} className="text-cyan" />}
+ icon={<MessageSquare size={16} className="text-cyan-ink" />}
expanded={expandedSteps[1]}
onToggle={() => toggleStep(1)}
/>
@@ -181,11 +181,11 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
size="sm"
onClick={() => copyCommand('/newbot')}
>
- {copiedCommand === '/newbot' ? <Check size={14} className="text-mint" /> : <Copy size={14} />}
+ {copiedCommand === '/newbot' ? <Check size={14} className="text-mint-ink" /> : <Copy size={14} />}
{copiedCommand === '/newbot' ? t('telegramConfig.copiedCommand') : t('telegramConfig.copyNewBotCommand')}
</Button>
</div>
- <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan">
+ <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan-ink">
<strong>{t('slackConfig.tip')}:</strong> {t('telegramConfig.step1Tip')}
</div>
</div>
@@ -197,7 +197,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<StepHeader
step={2}
title={t('telegramConfig.step2Title')}
- icon={<KeyRound size={16} className="text-cyan" />}
+ icon={<KeyRound size={16} className="text-cyan-ink" />}
completed={isValid}
expanded={expandedSteps[2]}
onToggle={() => toggleStep(2)}
@@ -213,7 +213,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<div className="space-y-2 pt-1">
<label className="flex items-center gap-2 text-[12px] font-medium text-foreground">
- <KeyRound size={14} className="text-cyan" />
+ <KeyRound size={14} className="text-cyan-ink" />
{t('telegramConfig.botToken')}
</label>
<Input
@@ -248,8 +248,8 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
className={clsx(
'inline-flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-[12px] font-medium',
authResult.ok
- ? 'border-mint/30 bg-mint/[0.08] text-mint'
- : 'border-danger/30 bg-danger/10 text-danger'
+ ? 'border-mint/30 bg-mint/[0.08] text-mint-ink'
+ : 'border-destructive/30 bg-destructive/10 text-destructive-ink'
)}
>
{authResult.ok ? <Check size={14} /> : null}
@@ -268,7 +268,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<StepHeader
step={3}
title={t('telegramConfig.step3Title')}
- icon={<Shield size={16} className="text-cyan" />}
+ icon={<Shield size={16} className="text-cyan-ink" />}
expanded={expandedSteps[3]}
onToggle={() => toggleStep(3)}
/>
@@ -296,7 +296,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
onClick={() => copyCommand(item.command)}
className="inline-flex items-center gap-1.5 rounded-lg border border-border bg-foreground/[0.04] px-2.5 py-1.5 text-[11px] font-medium text-foreground transition hover:border-border-strong"
>
- {copiedCommand === item.command ? <Check size={12} className="text-mint" /> : <Copy size={12} />}
+ {copiedCommand === item.command ? <Check size={12} className="text-mint-ink" /> : <Copy size={12} />}
<code className="font-mono">
{copiedCommand === item.command ? t('telegramConfig.copiedCommand') : item.command}
</code>
@@ -305,10 +305,10 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
</div>
))}
</div>
- <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold">
+ <div className="rounded-lg border border-gold/30 bg-gold/10 px-3 py-2 text-[12px] leading-[1.55] text-gold-ink">
<strong>{t('telegramConfig.step3TipTitle')}:</strong> {t('telegramConfig.step3Tip')}
</div>
- <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan">
+ <div className="rounded-lg border border-cyan/30 bg-cyan/[0.06] px-3 py-2 text-[12px] leading-[1.55] text-cyan-ink">
<strong>{t('slackConfig.tip')}:</strong> {t('telegramConfig.step3ExtraTip')}
</div>
</div>
@@ -320,7 +320,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<StepHeader
step={4}
title={t('telegramConfig.step4Title')}
- icon={<Settings2 size={16} className="text-cyan" />}
+ icon={<Settings2 size={16} className="text-cyan-ink" />}
expanded={expandedSteps[4]}
onToggle={() => toggleStep(4)}
/>
@@ -344,7 +344,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
<label className="flex cursor-pointer items-start justify-between gap-4 rounded-lg border border-border bg-background px-3 py-2.5">
<div className="pr-4">
<div className="flex items-center gap-2 text-[12px] font-semibold text-foreground">
- <SplitSquareVertical size={14} className="text-cyan" />
+ <SplitSquareVertical size={14} className="text-cyan-ink" />
{t('telegramConfig.forumAutoTopic')}
</div>
<p className="mt-0.5 text-[11px] text-muted">{t('telegramConfig.forumAutoTopicHint')}</p>
@@ -389,7 +389,7 @@ export const TelegramConfig: React.FC<TelegramConfigProps> = ({ data, onNext, on
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completedCount} / 4
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/steps/TelegramTopicList.tsx b/ui/src/components/steps/TelegramTopicList.tsx
index 3d1e07fa4..bac893431 100644
--- a/ui/src/components/steps/TelegramTopicList.tsx
+++ b/ui/src/components/steps/TelegramTopicList.tsx
@@ -51,7 +51,7 @@ export function TelegramTopicList<T extends { enabled: boolean }>({
<div className="mb-3 flex items-start justify-between gap-4">
<div>
<div className="flex items-center gap-2 text-sm font-semibold text-foreground">
- <GitBranch size={15} className="text-cyan" />
+ <GitBranch size={15} className="text-cyan-ink" />
{t('channelList.topicSettingsTitle')}
<span className="rounded-full border border-border bg-foreground/[0.04] px-2 py-0.5 text-[10px] font-medium text-muted">
{topics.length}
@@ -75,7 +75,7 @@ export function TelegramTopicList<T extends { enabled: boolean }>({
)}
>
<div className="flex items-center gap-3 px-3.5 py-3">
- <span className="flex size-7 shrink-0 items-center justify-center rounded-md border border-cyan/25 bg-cyan-soft/20 text-cyan">
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-md border border-cyan/25 bg-cyan-soft/20 text-cyan-ink">
<GitBranch size={14} />
</span>
<span className="min-w-0 flex-1">
@@ -93,7 +93,7 @@ export function TelegramTopicList<T extends { enabled: boolean }>({
className={clsx(
'rounded-full border px-2 py-0.5 text-[10px] font-medium',
customized
- ? 'border-cyan/30 bg-cyan-soft/25 text-cyan'
+ ? 'border-cyan/30 bg-cyan-soft/25 text-cyan-ink'
: 'border-border bg-foreground/[0.04] text-muted',
)}
>
diff --git a/ui/src/components/steps/UserList.tsx b/ui/src/components/steps/UserList.tsx
index 9a5a7f946..688fe1e7d 100644
--- a/ui/src/components/steps/UserList.tsx
+++ b/ui/src/components/steps/UserList.tsx
@@ -66,10 +66,10 @@ interface AggregatedUser {
}
const AVATAR_TONES = [
- { textCls: 'text-mint', bg: 'rgba(91,255,160,0.12)', border: 'rgba(91,255,160,0.33)' },
- { textCls: 'text-cyan', bg: 'rgba(63,224,229,0.12)', border: 'rgba(63,224,229,0.33)' },
- { textCls: 'text-violet', bg: 'rgba(124,91,255,0.12)', border: 'rgba(124,91,255,0.33)' },
- { textCls: 'text-gold', bg: 'rgba(255,200,87,0.12)', border: 'rgba(255,200,87,0.33)' },
+ { textCls: 'text-mint-ink', bg: 'rgba(91,255,160,0.12)', border: 'rgba(91,255,160,0.33)' },
+ { textCls: 'text-cyan-ink', bg: 'rgba(63,224,229,0.12)', border: 'rgba(63,224,229,0.33)' },
+ { textCls: 'text-violet-ink', bg: 'rgba(124,91,255,0.12)', border: 'rgba(124,91,255,0.33)' },
+ { textCls: 'text-gold-ink', bg: 'rgba(255,200,87,0.12)', border: 'rgba(255,200,87,0.33)' },
];
const hashCode = (s: string) => {
@@ -237,7 +237,7 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
variant="secondary"
size="xs"
onClick={() => handleDelete(primary.code)}
- className="text-muted hover:border-danger/40 hover:text-danger"
+ className="text-muted hover:border-destructive/40 hover:text-destructive-ink"
>
{t('bindCode.revoke')}
</Button>
@@ -251,7 +251,7 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
{/* Invite copy — appears below actions on mobile, left on desktop */}
<div className="flex min-w-0 flex-col gap-2.5 md:flex-1">
- <span className="inline-flex w-max items-center gap-1.5 rounded-full border border-mint/40 bg-mint-soft px-2.5 py-1 font-mono text-[10px] font-bold tracking-[0.12em] text-mint">
+ <span className="inline-flex w-max items-center gap-1.5 rounded-full border border-mint/40 bg-mint-soft px-2.5 py-1 font-mono text-[10px] font-bold tracking-[0.12em] text-mint-ink">
<KeyRound size={11} strokeWidth={2.4} />
{t('bindCode.badge')}
</span>
@@ -274,7 +274,7 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
type="radio"
checked={newType === 'one_time'}
onChange={() => setNewType('one_time')}
- className="text-mint"
+ className="text-mint-ink"
/>
{t('bindCode.oneTime')}
</label>
@@ -283,7 +283,7 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
type="radio"
checked={newType === 'expiring'}
onChange={() => setNewType('expiring')}
- className="text-mint"
+ className="text-mint-ink"
/>
{t('bindCode.expiring')}
</label>
@@ -328,9 +328,9 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
<span
className={clsx(
'rounded-full border px-2 py-0.5 text-[10px] font-mono font-bold tracking-[0.12em]',
- status === 'active' && 'border-mint/40 bg-mint-soft text-mint',
+ status === 'active' && 'border-mint/40 bg-mint-soft text-mint-ink',
status === 'used' && 'border-border bg-foreground/[0.04] text-muted',
- status === 'expired' && 'border-gold/40 bg-gold/10 text-gold',
+ status === 'expired' && 'border-gold/40 bg-gold/10 text-gold-ink',
status === 'inactive' && 'border-border bg-foreground/[0.04] text-muted',
)}
>
@@ -355,14 +355,14 @@ const BindCodeCard: React.FC<BindCodeCardProps> = ({ refreshTrigger, onCodesChan
title={t('bindCode.copy')}
className="rounded p-1.5 text-muted transition-colors hover:text-foreground"
>
- {copiedCode === bc.code ? <Check size={14} className="text-mint" /> : <Copy size={14} />}
+ {copiedCode === bc.code ? <Check size={14} className="text-mint-ink" /> : <Copy size={14} />}
</button>
{bc.is_active && (
<button
type="button"
onClick={() => handleDelete(bc.code)}
title={t('bindCode.delete')}
- className="rounded p-1.5 text-muted transition-colors hover:text-danger"
+ className="rounded p-1.5 text-muted transition-colors hover:text-destructive-ink"
>
<Trash2 size={14} />
</button>
@@ -392,7 +392,7 @@ const ActiveCodeBox: React.FC<{
return (
<div className="flex flex-col items-stretch gap-1 md:items-end">
- <span className="font-mono text-[10px] font-bold tracking-[0.12em] text-gold">
+ <span className="font-mono text-[10px] font-bold tracking-[0.12em] text-gold-ink">
{t('bindCode.activeCodeLabel')} · {expiryLabel}
</span>
<button
@@ -402,9 +402,9 @@ const ActiveCodeBox: React.FC<{
style={{ borderColor: 'rgba(255,200,87,0.33)' }}
title={t('bindCode.copy')}
>
- <span className="font-mono text-[18px] font-bold tracking-[0.12em] text-gold">bind {code.code}</span>
+ <span className="font-mono text-[18px] font-bold tracking-[0.12em] text-gold-ink">bind {code.code}</span>
{copied ? (
- <Check size={14} className="shrink-0 text-mint" />
+ <Check size={14} className="shrink-0 text-mint-ink" />
) : (
<Copy size={14} className="shrink-0 text-muted" />
)}
@@ -860,7 +860,7 @@ export const UserList: React.FC = () => {
className={clsx(
'inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-full border px-2 py-0.5 text-[11px] font-medium transition-colors',
userConfig.is_admin
- ? 'border-gold/40 bg-gold/10 font-bold text-gold hover:bg-gold/15'
+ ? 'border-gold/40 bg-gold/10 font-bold text-gold-ink hover:bg-gold/15'
: 'border-border bg-foreground/[0.04] text-muted hover:border-border-strong hover:text-foreground'
)}
>
@@ -902,7 +902,7 @@ export const UserList: React.FC = () => {
size="xs"
onClick={() => handleRemoveUser(u.platform, u.userId)}
title={t('userList.removeUser')}
- className="text-muted hover:border-danger/40 hover:text-danger"
+ className="text-muted hover:border-destructive/40 hover:text-destructive-ink"
>
<Trash2 size={12} />
{t('userList.removeUser')}
diff --git a/ui/src/components/steps/WeChatConfig.tsx b/ui/src/components/steps/WeChatConfig.tsx
index 0813ae317..624db3335 100644
--- a/ui/src/components/steps/WeChatConfig.tsx
+++ b/ui/src/components/steps/WeChatConfig.tsx
@@ -340,7 +340,7 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
isCompleted
? 'bg-mint text-primary-foreground'
: isActive
- ? 'bg-cyan/15 text-cyan'
+ ? 'bg-cyan/15 text-cyan-ink'
: 'bg-foreground/[0.06] text-muted'
)}
>
@@ -367,7 +367,7 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
{isAlreadyBound && (
<div className="rounded-xl border border-border bg-background px-6 py-6">
<div className="flex flex-col items-center gap-4 text-center">
- <div className="flex size-16 items-center justify-center rounded-full border border-mint/30 bg-mint/[0.08] text-mint shadow-[0_0_32px_-6px_rgba(91,255,160,0.5)]">
+ <div className="flex size-16 items-center justify-center rounded-full border border-mint/30 bg-mint/[0.08] text-mint-ink shadow-[0_0_32px_-6px_rgba(91,255,160,0.5)]">
<Check size={32} />
</div>
<div>
@@ -403,7 +403,7 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
{/* Starting */}
{loginState === 'idle' && !botToken && !isAlreadyBound && (
<div className="rounded-xl border border-border bg-background px-6 py-8 text-center">
- <div className="mx-auto flex size-14 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.06] text-cyan">
+ <div className="mx-auto flex size-14 items-center justify-center rounded-full border border-cyan/30 bg-cyan/[0.06] text-cyan-ink">
{starting || autoStartLogin ? (
<Loader2 size={26} className="animate-spin" />
) : (
@@ -432,9 +432,9 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
<div
className={clsx(
'inline-flex items-center gap-2 rounded-lg border px-3 py-1.5 text-[12px] font-medium',
- loginState === 'qr_ready' && 'border-cyan/30 bg-cyan/[0.06] text-cyan',
+ loginState === 'qr_ready' && 'border-cyan/30 bg-cyan/[0.06] text-cyan-ink',
(loginState === 'scanning' || loginState === 'confirming') &&
- 'border-gold/30 bg-gold/10 text-gold'
+ 'border-gold/30 bg-gold/10 text-gold-ink'
)}
>
{loginState === 'qr_ready' && (
@@ -473,14 +473,14 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
{loginState === 'connected' && (
<div className="rounded-xl border border-mint/35 bg-surface-2 px-6 py-6 shadow-[0_8px_32px_-8px_rgba(91,255,160,0.078)]">
<div className="flex flex-col items-center gap-4 text-center">
- <div className="flex size-16 items-center justify-center rounded-full border border-mint/30 bg-mint/[0.08] text-mint shadow-[0_0_32px_-6px_rgba(91,255,160,0.5)]">
+ <div className="flex size-16 items-center justify-center rounded-full border border-mint/30 bg-mint/[0.08] text-mint-ink shadow-[0_0_32px_-6px_rgba(91,255,160,0.5)]">
<Check size={32} />
</div>
<div>
<h3 className="text-[16px] font-semibold text-foreground">{t('wechatConfig.connectedTitle')}</h3>
<p className="mt-1 text-[12px] text-muted">{message}</p>
</div>
- <div className="inline-flex items-center gap-2 rounded-lg border border-mint/30 bg-mint/[0.08] px-3 py-1.5 text-[12px] font-medium text-mint">
+ <div className="inline-flex items-center gap-2 rounded-lg border border-mint/30 bg-mint/[0.08] px-3 py-1.5 text-[12px] font-medium text-mint-ink">
<Wifi size={14} />
{t('wechatConfig.connectionEstablished')}
</div>
@@ -494,14 +494,14 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
{/* Error */}
{loginState === 'error' && (
- <div className="rounded-xl border border-danger/30 bg-danger/10 px-6 py-6">
+ <div className="rounded-xl border border-destructive/30 bg-destructive/10 px-6 py-6">
<div className="flex flex-col items-center gap-4 text-center">
- <div className="flex size-14 items-center justify-center rounded-full border border-danger/30 bg-danger/15 text-danger">
+ <div className="flex size-14 items-center justify-center rounded-full border border-destructive/30 bg-destructive/15 text-destructive-ink">
<AlertTriangle size={28} />
</div>
<div>
<h3 className="text-[14px] font-semibold text-foreground">{t('wechatConfig.errorTitle')}</h3>
- <p className="mt-1 text-[12px] text-danger">{message}</p>
+ <p className="mt-1 text-[12px] text-destructive-ink">{message}</p>
</div>
<Button variant="brand" size="sm" onClick={startLogin} disabled={starting}>
<RefreshCw size={14} strokeWidth={2.25} />
@@ -548,7 +548,7 @@ export const WeChatConfig: React.FC<WeChatConfigProps> = ({
</p>
</div>
<div className="flex items-center gap-2 rounded-full border border-border bg-foreground/[0.04] px-3 py-1.5">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completedDots} / 3
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/steps/Welcome.tsx b/ui/src/components/steps/Welcome.tsx
index 2fd68ff1a..13743482e 100644
--- a/ui/src/components/steps/Welcome.tsx
+++ b/ui/src/components/steps/Welcome.tsx
@@ -18,19 +18,19 @@ export const Welcome: React.FC<WelcomeProps> = ({ onNext }) => {
const features = [
{
Icon: HardDrive,
- iconClass: 'text-mint',
+ iconClass: 'text-mint-ink',
title: t('welcome.card1Title'),
body: t('welcome.feature1'),
},
{
Icon: PlugZap,
- iconClass: 'text-cyan',
+ iconClass: 'text-cyan-ink',
title: t('welcome.card2Title'),
body: t('welcome.feature2'),
},
{
Icon: Sparkles,
- iconClass: 'text-violet',
+ iconClass: 'text-violet-ink',
title: t('welcome.card3Title'),
body: t('welcome.feature3'),
},
@@ -47,7 +47,7 @@ export const Welcome: React.FC<WelcomeProps> = ({ onNext }) => {
className="mx-auto flex size-20 items-center justify-center rounded-[20px] border-2 border-mint/40 bg-mint/[0.16] shadow-[0_0_48px_-8px_rgba(91,255,160,0.44)]"
aria-hidden
>
- <Radio className="size-10 text-mint" strokeWidth={1.75} />
+ <Radio className="size-10 text-mint-ink" strokeWidth={1.75} />
</div>
{/* welHead (OpTFX) gap 14 */}
diff --git a/ui/src/components/ui/badge-variants.ts b/ui/src/components/ui/badge-variants.ts
index 493264320..d2e81cfba 100644
--- a/ui/src/components/ui/badge-variants.ts
+++ b/ui/src/components/ui/badge-variants.ts
@@ -11,13 +11,13 @@ export const badgeVariants = cva(
default: 'border border-border-strong bg-surface text-foreground',
secondary: 'border border-border bg-surface text-muted',
outline: 'border border-border-strong bg-transparent text-foreground',
- success: 'border border-mint/40 bg-mint-soft text-mint',
- warning: 'border border-gold/40 bg-gold/10 text-gold',
- info: 'border border-cyan/40 bg-cyan-soft text-cyan',
- destructive: 'border border-destructive/40 bg-destructive/10 text-destructive',
+ success: 'border border-mint/40 bg-mint-soft text-mint-ink',
+ warning: 'border border-gold/40 bg-gold/10 text-gold-ink',
+ info: 'border border-cyan/40 bg-cyan-soft text-cyan-ink',
+ destructive: 'border border-destructive/40 bg-destructive/10 text-destructive-ink',
// Eyebrow — JetBrains Mono cyan w/ glow (design.pen Badge/Eyebrow mtcmf).
eyebrow:
- 'rounded-full border border-cyan/50 bg-cyan/[0.16] px-3 py-1.5 font-mono text-[11px] font-bold uppercase tracking-[0.14em] text-cyan shadow-[0_0_24px_-4px_rgba(63,224,229,0.33)]',
+ 'rounded-full border border-cyan/50 bg-cyan/[0.16] px-3 py-1.5 font-mono text-[11px] font-bold uppercase tracking-[0.14em] text-cyan-ink shadow-[0_0_24px_-4px_rgba(63,224,229,0.33)]',
},
},
defaultVariants: {
diff --git a/ui/src/components/ui/button-variants.ts b/ui/src/components/ui/button-variants.ts
index f77d6ec17..d05920056 100644
--- a/ui/src/components/ui/button-variants.ts
+++ b/ui/src/components/ui/button-variants.ts
@@ -11,7 +11,9 @@ export const buttonVariants = cva(
// Mint primary — flat, no glow shadow (design.pen Button/Default).
default: 'gap-1.5 bg-primary text-primary-foreground hover:brightness-110',
// Brand CTA — bright bg + brand-color glow shadow + bold text + brighten on hover.
- // Foreground tokens flip in light mode (--primary/--accent/--gold-foreground).
+ // The fill is the accent itself and the label its paired *-foreground, which
+ // is the dark ink in both themes: a brand fill stays vivid under light, so it
+ // takes the same dark label there that it takes on the dark frame.
brand:
'gap-2 bg-mint font-bold text-primary-foreground shadow-[0_0_24px_-4px_rgba(91,255,160,0.6)] hover:brightness-105 disabled:shadow-none',
'brand-cyan':
@@ -26,9 +28,13 @@ export const buttonVariants = cva(
'gap-1.5 border border-border bg-background text-foreground shadow-[0_1px_2px_rgba(0,0,0,0.05)] hover:bg-surface-2',
// Cyan outline — for "Read Vibe Remote" / docs style CTAs.
'outline-cyan':
- 'gap-1.5 border border-cyan/40 bg-cyan/[0.06] text-cyan hover:bg-cyan/[0.10]',
+ 'gap-1.5 border border-cyan/40 bg-cyan/[0.06] text-cyan-ink hover:bg-cyan/[0.10]',
ghost: 'gap-1.5 text-foreground hover:bg-surface-2',
- destructive: 'gap-1.5 bg-destructive text-destructive-foreground hover:opacity-90',
+ // Hover darkens the fill rather than fading it: opacity blends the fill
+ // toward the page surface, which pulls the white label *down* toward AA
+ // (4.70:1 -> ~4.25:1 in light). brightness-95 deepens it instead, so the
+ // label gains contrast on hover, and it matches the other fill variants.
+ destructive: 'gap-1.5 bg-destructive text-destructive-foreground hover:brightness-95',
// Pink-soft destructive — design.pen T09T8Z. Pink fill + pink border
// + pink text/icon, used for in-panel delete CTAs where a full
// destructive shouts too loud. Drives the --pink / --pink-soft tokens
@@ -39,9 +45,9 @@ export const buttonVariants = cva(
// same visual weight as the mint-soft "Run" button it usually sits next
// to — a balanced soft pair rather than a near-invisible wash.
'destructive-soft':
- 'gap-1.5 border border-pink/45 bg-pink/15 text-pink hover:border-pink/60 hover:bg-pink/[0.22]',
- link: 'text-primary underline-offset-4 hover:underline',
- accent: 'gap-1.5 border border-cyan/40 bg-cyan-soft text-cyan hover:bg-cyan/15',
+ 'gap-1.5 border border-pink/45 bg-pink/15 text-pink-ink hover:border-pink/60 hover:bg-pink/[0.22]',
+ link: 'text-primary-ink underline-offset-4 hover:underline',
+ accent: 'gap-1.5 border border-cyan/40 bg-cyan-soft text-cyan-ink hover:bg-cyan/15',
},
size: {
// h-8 toolbar buttons (LogsPanel/DoctorPanel/SettingsServicePage/AgentDetection toolbar).
diff --git a/ui/src/components/ui/combobox.tsx b/ui/src/components/ui/combobox.tsx
index f27463ffc..0976ce057 100644
--- a/ui/src/components/ui/combobox.tsx
+++ b/ui/src/components/ui/combobox.tsx
@@ -95,7 +95,7 @@ export function Combobox({
"flex h-9 flex-1 items-center gap-2 border-mint/50 px-2.5",
)}
>
- <Plus className="size-3.5 shrink-0 text-mint" />
+ <Plus className="size-3.5 shrink-0 text-mint-ink" />
<span className="truncate text-sm text-foreground">{typed}</span>
</span>
<Button type="button" size="sm" onClick={() => commitCreate(typed)}>
@@ -175,15 +175,15 @@ export function Combobox({
key={option.value}
value={option.value}
onSelect={() => commitCreate(option.value)}
- className={cn(active && withFolderIcon && "bg-mint-soft text-mint data-[selected=true]:bg-mint-soft")}
+ className={cn(active && withFolderIcon && "bg-mint-soft text-mint-ink data-[selected=true]:bg-mint-soft")}
>
{withFolderIcon ? (
<>
- <Folder className={cn("mr-2 h-4 w-4 shrink-0", active ? "text-mint" : "text-muted")} />
+ <Folder className={cn("mr-2 h-4 w-4 shrink-0", active ? "text-mint-ink" : "text-muted")} />
<span className={cn("flex-1 truncate", active ? "font-semibold text-foreground" : "text-foreground")}>
{option.label}
</span>
- <Check className={cn("ml-2 h-4 w-4 text-mint", active ? "opacity-100" : "opacity-0")} />
+ <Check className={cn("ml-2 h-4 w-4 text-mint-ink", active ? "opacity-100" : "opacity-0")} />
</>
) : (
<>
diff --git a/ui/src/components/ui/command.tsx b/ui/src/components/ui/command.tsx
index 8cdbd972e..9547ca293 100644
--- a/ui/src/components/ui/command.tsx
+++ b/ui/src/components/ui/command.tsx
@@ -87,7 +87,7 @@ const CommandItem = React.forwardRef<
<CommandPrimitive.Item
ref={ref}
className={cn(
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent/10 data-[selected=true]:text-accent data-[disabled=true]:opacity-50",
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent/10 data-[selected=true]:text-accent-ink data-[disabled=true]:opacity-50",
className
)}
{...props}
diff --git a/ui/src/components/ui/context-menu.tsx b/ui/src/components/ui/context-menu.tsx
index c47490c89..f79bcaa6d 100644
--- a/ui/src/components/ui/context-menu.tsx
+++ b/ui/src/components/ui/context-menu.tsx
@@ -22,7 +22,7 @@ export const ContextMenuItem: React.FC<{
onClick={onClick}
className={clsx(
'flex w-full items-center gap-2.5 rounded-md px-2.5 py-1.5 text-left text-[12.5px] transition',
- danger ? 'text-destructive hover:bg-destructive/[0.1]' : 'text-foreground hover:bg-cyan-soft',
+ danger ? 'text-destructive-ink hover:bg-destructive/[0.1]' : 'text-foreground hover:bg-cyan-soft',
)}
>
{icon !== undefined && <span className="grid size-4 shrink-0 place-items-center">{icon}</span>}
diff --git a/ui/src/components/ui/directory-browser.tsx b/ui/src/components/ui/directory-browser.tsx
index b479828b1..e4f37a26c 100644
--- a/ui/src/components/ui/directory-browser.tsx
+++ b/ui/src/components/ui/directory-browser.tsx
@@ -363,7 +363,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
<span className="size-3 rounded-full bg-[#28C840]" />
</div>
<div className="flex flex-1 items-center justify-center gap-2 text-[13px] font-semibold text-foreground">
- <FolderOpen className="size-3.5 text-mint" />
+ <FolderOpen className="size-3.5 text-mint-ink" />
{t('directoryBrowser.title')}
</div>
<button
@@ -429,12 +429,12 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
<button
type="button"
onClick={submitManualPath}
- className="rounded px-2 py-0.5 text-[10px] font-semibold text-cyan hover:bg-foreground/[0.04]"
+ className="rounded px-2 py-0.5 text-[10px] font-semibold text-cyan-ink hover:bg-foreground/[0.04]"
>
{t('directoryBrowser.editPathDone')}
</button>
</div>
- {pathError && <div className="px-1 text-[10.5px] text-destructive">{pathError}</div>}
+ {pathError && <div className="px-1 text-[10.5px] text-destructive-ink">{pathError}</div>}
</div>
) : (
<div className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto rounded-md border border-border-strong bg-surface-2 px-2 py-1 font-mono text-[11px]">
@@ -447,7 +447,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
title={crumb.isHome ? homePath : undefined}
className={clsx(
'shrink-0 rounded px-1 py-0.5 transition hover:bg-foreground/[0.04]',
- i === breadcrumbs.length - 1 ? 'font-semibold text-cyan' : 'text-muted',
+ i === breadcrumbs.length - 1 ? 'font-semibold text-cyan-ink' : 'text-muted',
)}
>
{crumb.label}
@@ -466,7 +466,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
className={clsx(
'flex size-7 items-center justify-center rounded-md border transition',
pathEditing
- ? 'border-cyan/40 bg-cyan/[0.08] text-cyan'
+ ? 'border-cyan/40 bg-cyan/[0.08] text-cyan-ink'
: 'border-border-strong text-muted hover:text-foreground',
)}
>
@@ -481,7 +481,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
className={clsx(
'flex items-center gap-1.5 rounded-md border px-2.5 py-1.5 text-[11px] font-semibold transition',
showHidden
- ? 'border-cyan/40 bg-cyan/[0.08] text-cyan'
+ ? 'border-cyan/40 bg-cyan/[0.08] text-cyan-ink'
: 'border-border-strong text-muted hover:text-foreground',
)}
>
@@ -534,7 +534,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
{/* Folder list */}
<div className="flex min-w-0 flex-1 flex-col overflow-y-auto px-2 py-2">
{error && (
- <div className="mx-2 mb-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-sm text-destructive">
+ <div className="mx-2 mb-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-sm text-destructive-ink">
{error}
</div>
)}
@@ -555,8 +555,8 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
onClick={() => navigate(dir.path)}
className="group flex items-center gap-2.5 rounded-md px-3 py-2 text-left text-[13px] text-foreground transition hover:bg-foreground/[0.04]"
>
- <Folder className="size-4 shrink-0 text-gold group-hover:hidden" />
- <FolderOpen className="hidden size-4 shrink-0 text-gold group-hover:block" />
+ <Folder className="size-4 shrink-0 text-gold-ink group-hover:hidden" />
+ <FolderOpen className="hidden size-4 shrink-0 text-gold-ink group-hover:block" />
<span className="truncate">{dir.name}</span>
</button>
))}
@@ -572,7 +572,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
{creating ? (
<div className="mt-2 flex flex-col gap-1.5 rounded-md border border-dashed border-border-strong bg-foreground/[0.03] px-3 py-2.5">
<div className="flex items-center gap-2">
- <FolderPlus className="size-4 shrink-0 text-mint" />
+ <FolderPlus className="size-4 shrink-0 text-mint-ink" />
<input
ref={newFolderInputRef}
value={newFolderName}
@@ -608,7 +608,7 @@ export const DirectoryBrowser: React.FC<DirectoryBrowserProps> = ({
{t('directoryBrowser.newFolder')}
</button>
</div>
- {createError && <div className="pl-6 text-[11px] text-destructive">{createError}</div>}
+ {createError && <div className="pl-6 text-[11px] text-destructive-ink">{createError}</div>}
</div>
) : (
<button
diff --git a/ui/src/components/ui/error-fallback.tsx b/ui/src/components/ui/error-fallback.tsx
index 59d5e1318..4f0aae506 100644
--- a/ui/src/components/ui/error-fallback.tsx
+++ b/ui/src/components/ui/error-fallback.tsx
@@ -13,7 +13,7 @@ export const ErrorFallback: React.FC<{ error: unknown; reset: () => void; varian
<div className={clsx('grid h-full w-full place-items-center bg-surface p-6 text-center', variant === 'page' && 'min-h-[60vh]')}>
<div className="flex max-w-sm flex-col items-center gap-3">
<span className="grid size-12 shrink-0 place-items-center rounded-2xl border border-gold/40 bg-gold/[0.08]">
- <AlertTriangle className="size-6 text-gold" />
+ <AlertTriangle className="size-6 text-gold-ink" />
</span>
<div className="text-[15px] font-semibold text-foreground">{t('errorBoundary.title')}</div>
<div className="text-[12.5px] text-muted">{t('errorBoundary.body')}</div>
diff --git a/ui/src/components/ui/file-card.tsx b/ui/src/components/ui/file-card.tsx
index 58a7d5edb..58c25e793 100644
--- a/ui/src/components/ui/file-card.tsx
+++ b/ui/src/components/ui/file-card.tsx
@@ -25,11 +25,11 @@ const DOC_EXT = new Set(['doc', 'docx', 'txt', 'md', 'rtf', 'csv', 'json', 'log'
// Literal class strings (Tailwind can't see interpolated names) so the tint
// utilities are actually generated.
function kindOf(ext: string): { Icon: LucideIcon; tile: string } {
- if (IMAGE_EXT.has(ext)) return { Icon: ImageIcon, tile: 'bg-cyan/15 text-cyan' };
- if (ARCHIVE_EXT.has(ext)) return { Icon: FileArchive, tile: 'bg-gold/15 text-gold' };
- if (ext === 'pdf') return { Icon: FileText, tile: 'bg-cyan/15 text-cyan' };
- if (DOC_EXT.has(ext)) return { Icon: FileText, tile: 'bg-violet/15 text-violet' };
- return { Icon: File, tile: 'bg-mint/15 text-mint' };
+ if (IMAGE_EXT.has(ext)) return { Icon: ImageIcon, tile: 'bg-cyan/15 text-cyan-ink' };
+ if (ARCHIVE_EXT.has(ext)) return { Icon: FileArchive, tile: 'bg-gold/15 text-gold-ink' };
+ if (ext === 'pdf') return { Icon: FileText, tile: 'bg-cyan/15 text-cyan-ink' };
+ if (DOC_EXT.has(ext)) return { Icon: FileText, tile: 'bg-violet/15 text-violet-ink' };
+ return { Icon: File, tile: 'bg-mint/15 text-mint-ink' };
}
function nodeText(node: React.ReactNode): string {
@@ -106,7 +106,7 @@ export const FileCard: React.FC<{ href: string; children?: React.ReactNode }> =
</a>
</Button>
))}
- <Button asChild variant="ghost" size="icon" className="size-8 text-mint" aria-label={t('chat.media.download')}>
+ <Button asChild variant="ghost" size="icon" className="size-8 text-mint-ink" aria-label={t('chat.media.download')}>
<a
href={mediaDownloadHref(href)}
download
diff --git a/ui/src/components/ui/file-viewer-modal.tsx b/ui/src/components/ui/file-viewer-modal.tsx
index 27241b4be..c1fe06352 100644
--- a/ui/src/components/ui/file-viewer-modal.tsx
+++ b/ui/src/components/ui/file-viewer-modal.tsx
@@ -103,7 +103,7 @@ export default function FileViewerModal({ target, onClose }: { target: FilePrevi
</div>
{text != null && (
<Button variant="ghost" size="icon" className="size-8" onClick={copy} aria-label={t('common.copy')}>
- {copied ? <Check className="size-4 text-mint" /> : <Copy className="size-4" />}
+ {copied ? <Check className="size-4 text-mint-ink" /> : <Copy className="size-4" />}
</Button>
)}
{local && localPath ? (
@@ -111,14 +111,14 @@ export default function FileViewerModal({ target, onClose }: { target: FilePrevi
type="button"
variant="ghost"
size="icon"
- className="size-8 text-mint"
+ className="size-8 text-mint-ink"
aria-label={t('chat.media.download')}
onClick={() => downloadFile(localPath)}
>
<Download className="size-4" />
</Button>
) : (
- <Button asChild variant="ghost" size="icon" className="size-8 text-mint" aria-label={t('chat.media.download')}>
+ <Button asChild variant="ghost" size="icon" className="size-8 text-mint-ink" aria-label={t('chat.media.download')}>
<a href={`${mediaUrl}?download=1`} download onClick={(e) => handleMediaDownloadClick(e, mediaUrl || '', name || undefined)}>
<Download className="size-4" />
</a>
diff --git a/ui/src/components/ui/segmented.tsx b/ui/src/components/ui/segmented.tsx
index be19cc3bf..0069d7cd4 100644
--- a/ui/src/components/ui/segmented.tsx
+++ b/ui/src/components/ui/segmented.tsx
@@ -26,9 +26,9 @@ export type SegmentedRadioOption<T extends string> = {
export type SegmentedTone = 'mint' | 'gold' | 'cyan' | 'muted';
const ACTIVE_TONES: Record<SegmentedTone, string> = {
- mint: 'border border-mint/30 bg-mint-soft font-bold text-mint',
- gold: 'border border-gold/40 bg-gold/10 font-bold text-gold',
- cyan: 'border border-cyan/40 bg-cyan-soft font-bold text-cyan',
+ mint: 'border border-mint/30 bg-mint-soft font-bold text-mint-ink',
+ gold: 'border border-gold/40 bg-gold/10 font-bold text-gold-ink',
+ cyan: 'border border-cyan/40 bg-cyan-soft font-bold text-cyan-ink',
muted: 'border border-border-strong bg-foreground/[0.06] font-bold text-foreground',
};
diff --git a/ui/src/components/ui/signing-address-list.tsx b/ui/src/components/ui/signing-address-list.tsx
index 6ebc7916d..23dfc2d61 100644
--- a/ui/src/components/ui/signing-address-list.tsx
+++ b/ui/src/components/ui/signing-address-list.tsx
@@ -37,7 +37,7 @@ const AddressRow: React.FC<{ label: string; value: string }> = ({ label, value }
aria-label={t('vaults.addresses.copy', { label })}
className="shrink-0 text-muted transition-colors hover:text-foreground"
>
- {copied ? <Check className="size-3.5 text-mint" /> : <Copy className="size-3.5" />}
+ {copied ? <Check className="size-3.5 text-mint-ink" /> : <Copy className="size-3.5" />}
</button>
</div>
);
diff --git a/ui/src/components/ui/vault-approval-card.tsx b/ui/src/components/ui/vault-approval-card.tsx
index 8578ef8dd..66c7a7d16 100644
--- a/ui/src/components/ui/vault-approval-card.tsx
+++ b/ui/src/components/ui/vault-approval-card.tsx
@@ -347,7 +347,7 @@ export const VaultApprovalCard: React.FC<{
if (!card) {
return (
<div className="flex flex-col gap-3">
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">
{t('vaults.approval.errors.loadFailed')}
</div>
<div className="flex justify-end">
@@ -369,7 +369,7 @@ export const VaultApprovalCard: React.FC<{
<div
className={cn(
'flex size-10 shrink-0 items-center justify-center rounded-xl',
- isSign ? 'bg-violet/15 text-violet' : 'bg-gold/15 text-gold',
+ isSign ? 'bg-violet/15 text-violet-ink' : 'bg-gold/15 text-gold-ink',
)}
>
{isSign ? <PenTool className="size-5" /> : <LockKeyhole className="size-5" />}
@@ -404,7 +404,7 @@ export const VaultApprovalCard: React.FC<{
<Badge variant="secondary">{t('vaults.standard')}</Badge>
)}
{isKeypair ? (
- <Badge variant="outline" className="border-violet/40 bg-violet-soft text-violet">
+ <Badge variant="outline" className="border-violet/40 bg-violet-soft text-violet-ink">
<Wallet className="size-3" />
{t('vaults.signing')}
</Badge>
@@ -460,7 +460,7 @@ export const VaultApprovalCard: React.FC<{
aria-label={t('vaults.approval.copyDigest')}
className="shrink-0 pt-1 text-muted transition-colors hover:text-foreground"
>
- {copiedDigest ? <Check className="size-3.5 text-mint" /> : <Copy className="size-3.5" />}
+ {copiedDigest ? <Check className="size-3.5 text-mint-ink" /> : <Copy className="size-3.5" />}
</button>
</div>
{delivery.scheme ? <Badge variant="secondary" className="self-start">{delivery.scheme}</Badge> : null}
@@ -505,7 +505,7 @@ export const VaultApprovalCard: React.FC<{
of the approval operation, so this card only shows the design's operation note. */}
{needsProtectedApproval ? (
<span className="flex items-start gap-2 rounded-lg bg-mint-soft px-3 py-2.5 text-[11.5px] text-foreground">
- <ShieldCheck className="mt-0.5 size-[15px] shrink-0 text-mint" />
+ <ShieldCheck className="mt-0.5 size-[15px] shrink-0 text-mint-ink" />
{isSign ? t('vaults.approval.signNote') : t('vaults.approval.accessNote')}
</span>
) : null}
@@ -538,7 +538,7 @@ export const VaultApprovalCard: React.FC<{
) : null}
{error ? (
- <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">
{error}
</div>
) : null}
diff --git a/ui/src/components/ui/vault-chat-requests.tsx b/ui/src/components/ui/vault-chat-requests.tsx
index ea8d21e0e..8eb9bee5f 100644
--- a/ui/src/components/ui/vault-chat-requests.tsx
+++ b/ui/src/components/ui/vault-chat-requests.tsx
@@ -110,7 +110,7 @@ export const VaultApprovalFloat: React.FC<{ offscreen: VaultRequest[]; pending:
onClick={() => setReviewing(oldestOffscreen)}
className="flex w-full items-center gap-2.5 rounded-xl border border-gold/40 bg-gold/[0.08] px-3 py-2.5 text-left transition-colors hover:bg-gold/[0.12]"
>
- <span className="flex size-7 shrink-0 items-center justify-center rounded-lg bg-gold/15 text-gold">
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-lg bg-gold/15 text-gold-ink">
<KeyRound className="size-4" />
</span>
<span className="min-w-0 flex-1 truncate text-[12.5px] font-medium text-foreground">
diff --git a/ui/src/components/ui/vault-lock-indicator.tsx b/ui/src/components/ui/vault-lock-indicator.tsx
index bab34d950..28eb121a0 100644
--- a/ui/src/components/ui/vault-lock-indicator.tsx
+++ b/ui/src/components/ui/vault-lock-indicator.tsx
@@ -29,7 +29,7 @@ export function VaultLockIndicator({ className }: { className?: string }) {
className={cn('flex items-center gap-2 rounded-full border border-mint/40 bg-mint-soft py-1 pl-3 pr-1', className)}
title={t('vaults.lock.windowTooltip')}
>
- <Unlock className="size-3.5 shrink-0 text-mint" />
+ <Unlock className="size-3.5 shrink-0 text-mint-ink" />
<span className="text-xs font-medium text-foreground">
{t('vaults.lock.unlocked')} · <span className="tabular-nums">{formatRemaining(remainingMs)}</span>
</span>
diff --git a/ui/src/components/ui/vault-protected-unlock.tsx b/ui/src/components/ui/vault-protected-unlock.tsx
index 34160d735..cf7ac5a68 100644
--- a/ui/src/components/ui/vault-protected-unlock.tsx
+++ b/ui/src/components/ui/vault-protected-unlock.tsx
@@ -73,8 +73,8 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
if (vault.status === 'error') {
return (
<div className="flex flex-col gap-2 rounded-2xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm">
- <span className="font-medium text-destructive">{t('vaults.protectedUnlock.errorTitle')}</span>
- {vault.error && <span className="text-xs text-destructive">{friendlyError(t, vault.error)}</span>}
+ <span className="font-medium text-destructive-ink">{t('vaults.protectedUnlock.errorTitle')}</span>
+ {vault.error && <span className="text-xs text-destructive-ink">{friendlyError(t, vault.error)}</span>}
<Button type="button" variant="secondary" size="sm" className="self-start" onClick={() => run(vault.refresh)} disabled={busy}>
{busy ? <Loader2 className="size-3.5 animate-spin" /> : <RefreshCw className="size-3.5" />}
{t('vaults.protectedUnlock.retry')}
@@ -85,7 +85,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
if (vault.status === 'unlocked') {
return (
- <div className="flex items-center gap-2 rounded-2xl border border-mint/40 bg-mint-soft px-4 py-3 text-sm text-mint">
+ <div className="flex items-center gap-2 rounded-2xl border border-mint/40 bg-mint-soft px-4 py-3 text-sm text-mint-ink">
<ShieldCheck className="size-4 shrink-0" />
<span className="font-medium">{t('vaults.protectedUnlock.unlocked')}</span>
<Button type="button" variant="ghost" size="sm" className="ml-auto h-7 text-muted" onClick={vault.lock} disabled={busy}>
@@ -104,7 +104,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
<div className={PANEL}>
<div className="flex flex-col items-center gap-4">
<span className="flex size-13 items-center justify-center rounded-2xl bg-mint-soft">
- <ShieldCheck className="size-7 text-mint" />
+ <ShieldCheck className="size-7 text-mint-ink" />
</span>
<div className="flex flex-col items-center gap-1.5">
<span className="text-center text-[17px] font-bold text-foreground">{t('vaults.protectedUnlock.setupTitle')}</span>
@@ -117,8 +117,8 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
{/* Ack sits ABOVE the button: the natural order is read-the-risk → check → the
(now-enabled) Add-Passkey button right below it. The button gates on `ackLoss`. */}
{canUsePasskey && (
- <div className="flex flex-col gap-2 rounded-xl border border-warning/40 bg-warning/10 p-3">
- <span className="text-[11.5px] leading-snug text-warning">{t('vaults.protectedUnlock.passkeyUnrecoverableWarning')}</span>
+ <div className="flex flex-col gap-2 rounded-xl border border-gold/40 bg-gold/10 p-3">
+ <span className="text-[11.5px] leading-snug text-gold-ink">{t('vaults.protectedUnlock.passkeyUnrecoverableWarning')}</span>
<label className="flex items-start gap-2 text-[11.5px] leading-snug text-muted-foreground">
<input type="checkbox" checked={ackLoss} onChange={(e) => setAckLoss(e.target.checked)} className="mt-0.5 shrink-0" />
<span>{t('vaults.protectedUnlock.passkeyAck')}</span>
@@ -139,7 +139,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
<span className="text-center text-[11.5px] text-muted-foreground">{t('vaults.protectedUnlock.passkeyCaption')}</span>
</div>
) : (
- <div className="rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs leading-snug text-warning">
+ <div className="rounded-md border border-gold/40 bg-gold/10 px-3 py-2 text-xs leading-snug text-gold-ink">
{t('vaults.protectedUnlock.unlockUnavailableHere')}
</div>
)}
@@ -154,7 +154,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
</button>
)}
- {vault.error && <div className="text-center text-xs text-destructive">{friendlyError(t, vault.error)}</div>}
+ {vault.error && <div className="text-center text-xs text-destructive-ink">{friendlyError(t, vault.error)}</div>}
</div>
);
}
@@ -165,7 +165,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
<div className={PANEL}>
<div className="flex flex-col items-center gap-4">
<span className="flex size-13 items-center justify-center rounded-2xl bg-gold/15">
- <ScanFace className="size-7 text-gold" />
+ <ScanFace className="size-7 text-gold-ink" />
</span>
<div className="flex flex-col items-center gap-1.5">
<span className="text-center text-[17px] font-bold text-foreground">{t('vaults.protectedUnlock.unlockTitle')}</span>
@@ -188,14 +188,14 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
)}
{!showUnlockPasskey && (
- <div className="rounded-md border border-warning/40 bg-warning/10 px-2.5 py-1.5 text-xs text-warning">
+ <div className="rounded-md border border-gold/40 bg-gold/10 px-2.5 py-1.5 text-xs text-gold-ink">
{t('vaults.protectedUnlock.unlockUnavailableHere')}
</div>
)}
{/* Mint factor-safety note. */}
<div className="flex items-start gap-2 rounded-lg bg-mint-soft px-3 py-2.5">
- <ShieldCheck className="mt-0.5 size-[15px] shrink-0 text-mint" />
+ <ShieldCheck className="mt-0.5 size-[15px] shrink-0 text-mint-ink" />
<span className="text-[11px] leading-snug text-foreground">{t('vaults.protectedUnlock.factorNote')}</span>
</div>
@@ -209,7 +209,7 @@ export const VaultProtectedUnlock: React.FC<{ vault: Vault; secretName?: string;
</button>
)}
- {vault.error && <div className="text-center text-xs text-destructive">{friendlyError(t, vault.error)}</div>}
+ {vault.error && <div className="text-center text-xs text-destructive-ink">{friendlyError(t, vault.error)}</div>}
</div>
);
};
diff --git a/ui/src/components/ui/vault-request-card.tsx b/ui/src/components/ui/vault-request-card.tsx
index 481dc3d06..2c9bb70fa 100644
--- a/ui/src/components/ui/vault-request-card.tsx
+++ b/ui/src/components/ui/vault-request-card.tsx
@@ -123,10 +123,10 @@ export const VaultRequestCard: React.FC<{ request: VaultRequest; onResolved: ()
const meta =
type === 'provision'
- ? { icon: <KeyRound className="size-4" />, tint: 'bg-accent/15 text-accent', title: t('vaults.request.title'), action: t('vaults.request.provide') }
+ ? { icon: <KeyRound className="size-4" />, tint: 'bg-accent/15 text-accent-ink', title: t('vaults.request.title'), action: t('vaults.request.provide') }
: type === 'sign'
- ? { icon: <PenTool className="size-4" />, tint: 'bg-violet/15 text-violet', title: t('vaults.approval.signTitle'), action: t('vaults.requests.review') }
- : { icon: <LockKeyhole className="size-4" />, tint: 'bg-gold/15 text-gold', title: t('vaults.approval.accessTitle'), action: t('vaults.requests.review') };
+ ? { icon: <PenTool className="size-4" />, tint: 'bg-violet/15 text-violet-ink', title: t('vaults.approval.signTitle'), action: t('vaults.requests.review') }
+ : { icon: <LockKeyhole className="size-4" />, tint: 'bg-gold/15 text-gold-ink', title: t('vaults.approval.accessTitle'), action: t('vaults.requests.review') };
if (type === 'provision' && provisionDialog?.isDismissed(request.id)) return null;
@@ -141,7 +141,7 @@ export const VaultRequestCard: React.FC<{ request: VaultRequest; onResolved: ()
{extra > 0 ? <Badge variant="secondary">+{extra}</Badge> : null}
{isProtected ? <Badge variant="warning">{t('vaults.protected')}</Badge> : null}
{card.kind === 'keypair' ? (
- <Badge variant="outline" className="gap-1 border-violet/40 bg-violet-soft text-violet">
+ <Badge variant="outline" className="gap-1 border-violet/40 bg-violet-soft text-violet-ink">
<Wallet className="size-3" />
{t('vaults.signing')}
</Badge>
diff --git a/ui/src/components/ui/vault-request-session-link.tsx b/ui/src/components/ui/vault-request-session-link.tsx
index 7912bd694..c6d3f21d3 100644
--- a/ui/src/components/ui/vault-request-session-link.tsx
+++ b/ui/src/components/ui/vault-request-session-link.tsx
@@ -20,7 +20,7 @@ export const VaultRequestSessionLink: React.FC<{
<Link
to={`/chat/${encodeURIComponent(session.id)}`}
className={cn(
- 'min-w-0 truncate font-medium text-foreground transition-colors hover:text-cyan hover:underline',
+ 'min-w-0 truncate font-medium text-foreground transition-colors hover:text-cyan-ink hover:underline',
className,
)}
>
diff --git a/ui/src/components/ui/vault-secret-dialog.tsx b/ui/src/components/ui/vault-secret-dialog.tsx
index 087838706..1358a4075 100644
--- a/ui/src/components/ui/vault-secret-dialog.tsx
+++ b/ui/src/components/ui/vault-secret-dialog.tsx
@@ -78,7 +78,7 @@ export const VaultSecretDialog: React.FC<{
{/* Accessible name; the visible heading is the branded header below. */}
<DialogTitle className="sr-only">{title}</DialogTitle>
<div className="flex items-start gap-3 pr-6">
- <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-accent/15 text-accent">
+ <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-accent/15 text-accent-ink">
<HeaderIcon className="size-5" />
</span>
<div className="flex flex-col gap-0.5">
diff --git a/ui/src/components/ui/vault-secret-form.tsx b/ui/src/components/ui/vault-secret-form.tsx
index 7afacb19e..6418eded9 100644
--- a/ui/src/components/ui/vault-secret-form.tsx
+++ b/ui/src/components/ui/vault-secret-form.tsx
@@ -778,7 +778,7 @@ export const VaultSecretForm: React.FC<{
/>
{selectedFile ? (
<div className="flex items-center gap-2.5">
- <span className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-mint/40 bg-mint-soft text-mint">
+ <span className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-mint/40 bg-mint-soft text-mint-ink">
<FileText className="size-4" />
</span>
<div className="flex min-w-0 flex-1 flex-col">
@@ -899,9 +899,9 @@ export const VaultSecretForm: React.FC<{
)}
>
<span className="flex items-center gap-2">
- <Icon className={cn('size-4', selected ? 'text-mint' : 'text-muted')} />
+ <Icon className={cn('size-4', selected ? 'text-mint-ink' : 'text-muted')} />
<span className="flex-1 text-[13.5px] font-semibold text-foreground">{title}</span>
- {selected && <Check className="size-4 text-mint" />}
+ {selected && <Check className="size-4 text-mint-ink" />}
</span>
<span className="text-[11.5px] leading-snug text-muted-foreground">{desc}</span>
</button>
@@ -944,7 +944,7 @@ export const VaultSecretForm: React.FC<{
</div>
)}
{protection === 'standard' && !checkingAvault && !p2Ready && (
- <div className="rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-sm text-warning">
+ <div className="rounded-lg border border-gold/40 bg-gold/10 px-3 py-2 text-sm text-gold-ink">
{t('vaults.dialog.p2Unavailable', {
version: AVAULT_P2_MIN_VERSION,
installed: avaultDep?.version ?? 'unknown',
@@ -952,7 +952,7 @@ export const VaultSecretForm: React.FC<{
</div>
)}
{error && (
- <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">
{error}
</div>
)}
@@ -1031,7 +1031,7 @@ export const VaultSecretForm: React.FC<{
{!isKeypair && advancedSection}
{error && (
- <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive">{error}</div>
+ <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">{error}</div>
)}
<div className="mt-1 flex justify-end gap-2">
@@ -1056,7 +1056,7 @@ export const VaultSecretForm: React.FC<{
<form className={cn('flex min-w-0 flex-col gap-4', className)} onSubmit={onSubmit}>
{/* Name highlight — the secret the agent is waiting on (design.pen `F4N19`). */}
<div className="flex items-center gap-3 rounded-xl bg-accent/15 p-3.5">
- <Asterisk className="size-[18px] shrink-0 text-accent" />
+ <Asterisk className="size-[18px] shrink-0 text-accent-ink" />
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
<span className="text-[10px] font-semibold uppercase tracking-wide text-muted">{t('vaults.dialog.nameUpper')}</span>
<span className="whitespace-normal break-all font-mono text-[15px] font-semibold text-foreground">{secretName}</span>
@@ -1254,10 +1254,10 @@ export const VaultSecretForm: React.FC<{
</div>
)}
- {signingError && <span className="text-xs text-destructive">{signingError}</span>}
+ {signingError && <span className="text-xs text-destructive-ink">{signingError}</span>}
{!p2Ready && (
- <div className="rounded-md border border-warning/40 bg-warning/10 px-2.5 py-1.5 text-xs text-warning">
+ <div className="rounded-md border border-gold/40 bg-gold/10 px-2.5 py-1.5 text-xs text-gold-ink">
{t('vaults.dialog.signingNeedsAvault', { version: AVAULT_P2_MIN_VERSION })}
</div>
)}
@@ -1291,7 +1291,7 @@ export const VaultSecretForm: React.FC<{
<span className="text-xs text-muted-foreground">{t('vaults.dialog.signingKeyProtectedBornHint')}</span>
</div>
)}
- {keypairError && <span className="text-xs text-destructive">{keypairError}</span>}
+ {keypairError && <span className="text-xs text-destructive-ink">{keypairError}</span>}
</div>
)}
diff --git a/ui/src/components/ui/vault-settings-dialog.tsx b/ui/src/components/ui/vault-settings-dialog.tsx
index 42259781f..61115f855 100644
--- a/ui/src/components/ui/vault-settings-dialog.tsx
+++ b/ui/src/components/ui/vault-settings-dialog.tsx
@@ -146,7 +146,7 @@ export const VaultSettingsDialog: React.FC<{ open: boolean; onOpenChange: (open:
<DialogContent>
<DialogTitle className="sr-only">{t('vaults.settings.title')}</DialogTitle>
<div className="flex items-start gap-3 pr-6">
- <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-mint-soft text-mint">
+ <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-mint-soft text-mint-ink">
<ShieldCheck className="size-5" />
</span>
<div className="flex flex-col gap-0.5">
@@ -192,7 +192,7 @@ export const VaultSettingsDialog: React.FC<{ open: boolean; onOpenChange: (open:
)}
{error ? (
- <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-ink">
{error}
</div>
) : null}
diff --git a/ui/src/components/visual/EmbeddedConfigShell.tsx b/ui/src/components/visual/EmbeddedConfigShell.tsx
index f8df26baf..dbf3728c2 100644
--- a/ui/src/components/visual/EmbeddedConfigShell.tsx
+++ b/ui/src/components/visual/EmbeddedConfigShell.tsx
@@ -29,7 +29,7 @@ export const EmbeddedConfigShell: React.FC<EmbeddedConfigShellProps> = ({
return (
<div className="space-y-4">
<div className="flex items-center justify-end gap-2">
- <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[11px] font-bold uppercase tracking-[0.16em] text-mint-ink">
{completed} / {total}
</span>
<div className="flex gap-1">
diff --git a/ui/src/components/visual/EyebrowBadge.tsx b/ui/src/components/visual/EyebrowBadge.tsx
index 6bdd87bd7..4efe8cf4a 100644
--- a/ui/src/components/visual/EyebrowBadge.tsx
+++ b/ui/src/components/visual/EyebrowBadge.tsx
@@ -10,10 +10,10 @@ interface EyebrowBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
// Mirrors design.pen Badge/Eyebrow (mtcmf): JetBrains Mono, 11px, weight 700,
// letterSpacing 1.4, cyan glow shadow. Used for `01 — STEP` style labels.
const TONE_CLASSES: Record<Tone, string> = {
- cyan: 'border-cyan/50 bg-cyan/[0.16] text-cyan shadow-[0_0_24px_-4px_rgba(63,224,229,0.33)]',
- mint: 'border-mint/50 bg-mint/[0.16] text-mint shadow-[0_0_24px_-4px_rgba(91,255,160,0.33)]',
- violet: 'border-violet/50 bg-violet/[0.16] text-violet shadow-[0_0_24px_-4px_rgba(124,91,255,0.33)]',
- gold: 'border-gold/50 bg-gold/[0.16] text-gold shadow-[0_0_24px_-4px_rgba(255,200,87,0.33)]',
+ cyan: 'border-cyan/50 bg-cyan/[0.16] text-cyan-ink shadow-[0_0_24px_-4px_rgba(63,224,229,0.33)]',
+ mint: 'border-mint/50 bg-mint/[0.16] text-mint-ink shadow-[0_0_24px_-4px_rgba(91,255,160,0.33)]',
+ violet: 'border-violet/50 bg-violet/[0.16] text-violet-ink shadow-[0_0_24px_-4px_rgba(124,91,255,0.33)]',
+ gold: 'border-gold/50 bg-gold/[0.16] text-gold-ink shadow-[0_0_24px_-4px_rgba(255,200,87,0.33)]',
};
export const EyebrowBadge = React.forwardRef<HTMLSpanElement, EyebrowBadgeProps>(
diff --git a/ui/src/components/visual/StatusPill.tsx b/ui/src/components/visual/StatusPill.tsx
index 8770a3f47..26fd96dfb 100644
--- a/ui/src/components/visual/StatusPill.tsx
+++ b/ui/src/components/visual/StatusPill.tsx
@@ -12,7 +12,7 @@ interface StatusPillProps extends React.HTMLAttributes<HTMLSpanElement> {
const TONE_CLASSES: Record<Tone, { wrapper: string; dot: string }> = {
running: { wrapper: 'border-mint/40 bg-mint/[0.12] text-foreground', dot: 'bg-mint shadow-[0_0_8px_rgba(91,255,160,0.6)]' },
stopped: { wrapper: 'border-border-strong bg-surface-2 text-muted', dot: 'bg-muted' },
- warning: { wrapper: 'border-gold/40 bg-gold/[0.12] text-gold', dot: 'bg-gold' },
+ warning: { wrapper: 'border-gold/40 bg-gold/[0.12] text-gold-ink', dot: 'bg-gold' },
idle: { wrapper: 'border-border bg-surface text-muted', dot: 'bg-muted' },
};
diff --git a/ui/src/components/visual/StepCard.tsx b/ui/src/components/visual/StepCard.tsx
index b3e61e400..4d30f3ff3 100644
--- a/ui/src/components/visual/StepCard.tsx
+++ b/ui/src/components/visual/StepCard.tsx
@@ -31,11 +31,11 @@ export const StepCard: React.FC<StepCardProps> = ({
{...props}
>
{icon ? (
- <span className="inline-flex size-12 items-center justify-center rounded-[10px] border border-mint/[0.33] bg-mint/[0.12] text-mint [&>svg]:size-[22px]">
+ <span className="inline-flex size-12 items-center justify-center rounded-[10px] border border-mint/[0.33] bg-mint/[0.12] text-mint-ink [&>svg]:size-[22px]">
{icon}
</span>
) : null}
- <span className="font-mono text-[12px] font-semibold uppercase tracking-[0.16em] text-mint">
+ <span className="font-mono text-[12px] font-semibold uppercase tracking-[0.16em] text-mint-ink">
{eyebrow}
</span>
<h3 className="text-[22px] font-bold leading-tight tracking-[-0.4px] text-foreground">{title}</h3>
diff --git a/ui/src/components/workbench/AgentActivityGroup.tsx b/ui/src/components/workbench/AgentActivityGroup.tsx
index 38d64c406..0e8c88701 100644
--- a/ui/src/components/workbench/AgentActivityGroup.tsx
+++ b/ui/src/components/workbench/AgentActivityGroup.tsx
@@ -51,10 +51,10 @@ const PreviewJson = lazy(() => import('../ui/preview-json'));
// Shared status → icon + tint. ``running`` and ``done`` are mint (success family),
// ``failed`` destructive, ``interrupted`` gold — mirrors the design states A–E.
const STATUS_TINT: Record<ActivityStatus, string> = {
- running: 'text-mint',
- done: 'text-mint',
- failed: 'text-destructive',
- interrupted: 'text-gold',
+ running: 'text-mint-ink',
+ done: 'text-mint-ink',
+ failed: 'text-destructive-ink',
+ interrupted: 'text-gold-ink',
};
// Status → chip/header border+background tint (shared by the collapsed chip and the
@@ -78,9 +78,9 @@ const TOOL_ICON: Record<ToolIconKind, LucideIcon> = {
// File operation → badge glyph + i18n key (the mint-soft "+ 新增" style chip in A).
const FILE_OP_META: Record<FileOp, { glyph: string; i18nKey: string; className: string }> = {
- create: { glyph: '+', i18nKey: 'chat.agentActivity.opCreate', className: 'border-mint/30 bg-mint/[0.08] text-mint' },
- modify: { glyph: '~', i18nKey: 'chat.agentActivity.opModify', className: 'border-cyan/30 bg-cyan/[0.08] text-cyan' },
- delete: { glyph: '−', i18nKey: 'chat.agentActivity.opDelete', className: 'border-gold/30 bg-gold/[0.08] text-gold' },
+ create: { glyph: '+', i18nKey: 'chat.agentActivity.opCreate', className: 'border-mint/30 bg-mint/[0.08] text-mint-ink' },
+ modify: { glyph: '~', i18nKey: 'chat.agentActivity.opModify', className: 'border-cyan/30 bg-cyan/[0.08] text-cyan-ink' },
+ delete: { glyph: '−', i18nKey: 'chat.agentActivity.opDelete', className: 'border-gold/30 bg-gold/[0.08] text-gold-ink' },
};
const stepLabel = (t: (k: string, o?: Record<string, unknown>) => string, count: number): string =>
@@ -142,7 +142,7 @@ const ToolJsonDialog: React.FC<{ open: boolean; onClose: () => void; parsed: Par
onClick={copy}
className="inline-flex shrink-0 items-center gap-1 rounded-md border border-border px-2 py-1 text-[11px] font-medium text-foreground/80 transition-colors hover:bg-foreground/[0.06]"
>
- {copied ? <Check className="size-3.5 text-mint" /> : <Copy className="size-3.5" />}
+ {copied ? <Check className="size-3.5 text-mint-ink" /> : <Copy className="size-3.5" />}
{copied ? t('chat.agentActivity.copied') : t('chat.agentActivity.copy')}
</button>
</div>
@@ -328,7 +328,7 @@ const ActivityToolRow: React.FC<{ row: ActivityRow }> = ({ row }) => {
// existing Markdown renderer in a compact style. -----
const ActivityAssistantRow: React.FC<{ row: ActivityRow }> = ({ row }) => (
<div className="flex items-start gap-2 px-1.5 py-1">
- <Sparkles className="mt-0.5 size-3.5 shrink-0 text-mint" aria-hidden="true" />
+ <Sparkles className="mt-0.5 size-3.5 shrink-0 text-mint-ink" aria-hidden="true" />
<div className="min-w-0 flex-1 text-[12px] leading-relaxed text-foreground/90 [&_p]:my-0.5 [&_pre]:max-w-full [&_pre]:overflow-x-auto">
{row.text ? (
<Markdown content={row.text} className="vr-markdown--inherit-size" />
@@ -457,8 +457,8 @@ export const ActivityCard: React.FC<{
aria-expanded={expanded}
className="flex min-w-0 flex-1 items-center gap-2 text-left"
>
- <Loader2 className="size-3.5 shrink-0 animate-spin text-mint" aria-hidden="true" />
- <span className="text-[12px] font-medium text-mint">{t('chat.agentActivity.running')}</span>
+ <Loader2 className="size-3.5 shrink-0 animate-spin text-mint-ink" aria-hidden="true" />
+ <span className="text-[12px] font-medium text-mint-ink">{t('chat.agentActivity.running')}</span>
{rows.length > 0 && <span className="text-[12px] text-muted">· {stepLabel(t, rows.length)}</span>}
<span className="ml-auto shrink-0 font-mono text-[11px] text-muted">{clock}</span>
</button>
@@ -491,7 +491,7 @@ export const ActivityCard: React.FC<{
if (el) el.scrollTop = el.scrollHeight;
setFollowing(true);
}}
- className="absolute bottom-2 left-1/2 -translate-x-1/2 rounded-full border border-mint/40 bg-background/90 px-2.5 py-1 text-[11px] font-medium text-mint shadow-sm backdrop-blur"
+ className="absolute bottom-2 left-1/2 -translate-x-1/2 rounded-full border border-mint/40 bg-background/90 px-2.5 py-1 text-[11px] font-medium text-mint-ink shadow-sm backdrop-blur"
>
{t('chat.agentActivity.jumpToLatest')}
</button>
@@ -566,7 +566,7 @@ export const ActivityChip: React.FC<{
<button
type="button"
onClick={onRetry}
- className="shrink-0 rounded-md border border-border px-2 py-0.5 text-[11px] font-medium text-cyan transition-colors hover:bg-surface-2"
+ className="shrink-0 rounded-md border border-border px-2 py-0.5 text-[11px] font-medium text-cyan-ink transition-colors hover:bg-surface-2"
>
{t('chat.agentActivity.retry')}
</button>
diff --git a/ui/src/components/workbench/AgentGraphDetail.tsx b/ui/src/components/workbench/AgentGraphDetail.tsx
index 2f789e1ff..8414eb172 100644
--- a/ui/src/components/workbench/AgentGraphDetail.tsx
+++ b/ui/src/components/workbench/AgentGraphDetail.tsx
@@ -241,7 +241,7 @@ export const AgentGraphDetail: React.FC<AgentGraphDetailProps> = ({
<button
type="button"
onClick={() => onSelectNode(lineage.spawnedBy!)}
- className="inline-flex items-center gap-1.5 text-mint hover:underline"
+ className="inline-flex items-center gap-1.5 text-mint-ink hover:underline"
>
<CornerLeftUp className="size-3" />
{callerTitle(lineage.spawnedBy)}
@@ -255,7 +255,7 @@ export const AgentGraphDetail: React.FC<AgentGraphDetailProps> = ({
</Fact>
<Fact label={t('agents.graph.detail.reportsTo')}>
{lineage.callbackTo ? (
- <span className="inline-flex items-center gap-1.5 text-cyan">
+ <span className="inline-flex items-center gap-1.5 text-cyan-ink">
<CornerDownRight className="size-3" />
{callerTitle(lineage.callbackTo)}
<span className="text-muted">· {t(`agents.graph.detail.callback.${lineage.callbackStatus ?? 'pending'}`)}</span>
@@ -276,7 +276,7 @@ export const AgentGraphDetail: React.FC<AgentGraphDetailProps> = ({
<span className="font-mono text-[10px] font-bold uppercase tracking-[0.12em] text-muted">
{t('agents.graph.detail.runsTitle')}
</span>
- <Link to="/harness?tab=runs" className="text-[11px] font-medium text-cyan hover:underline">
+ <Link to="/harness?tab=runs" className="text-[11px] font-medium text-cyan-ink hover:underline">
{t('agents.graph.detail.viewAllInHarness')}
</Link>
</div>
@@ -305,7 +305,7 @@ export const AgentGraphDetail: React.FC<AgentGraphDetailProps> = ({
{node.openable_in_chat && (
<Link
to={`/chat/${encodeURIComponent(node.session_id)}`}
- className="inline-flex h-9 items-center justify-center gap-2 rounded-lg border border-mint/40 bg-mint-soft text-[13px] font-semibold text-mint transition hover:brightness-110"
+ className="inline-flex h-9 items-center justify-center gap-2 rounded-lg border border-mint/40 bg-mint-soft text-[13px] font-semibold text-mint-ink transition hover:brightness-110"
>
<MessageSquare className="size-3.5" />
{t('agents.graph.detail.openChat')}
@@ -368,10 +368,10 @@ function runStatus(status: string): AgentGraphStatus {
}
function statusPillClass(tone: string): string {
- if (tone === 'mint') return 'border-mint/40 bg-mint-soft text-mint';
- if (tone === 'gold') return 'border-gold/40 bg-gold/10 text-gold';
- if (tone === 'cyan') return 'border-cyan/40 bg-cyan-soft text-cyan';
- if (tone === 'destructive') return 'border-destructive/40 bg-destructive/10 text-destructive';
+ if (tone === 'mint') return 'border-mint/40 bg-mint-soft text-mint-ink';
+ if (tone === 'gold') return 'border-gold/40 bg-gold/10 text-gold-ink';
+ if (tone === 'cyan') return 'border-cyan/40 bg-cyan-soft text-cyan-ink';
+ if (tone === 'destructive') return 'border-destructive/40 bg-destructive/10 text-destructive-ink';
return 'border-border-strong bg-foreground/[0.04] text-muted';
}
diff --git a/ui/src/components/workbench/AgentGraphMobileList.tsx b/ui/src/components/workbench/AgentGraphMobileList.tsx
index 4006bc11f..1a802915d 100644
--- a/ui/src/components/workbench/AgentGraphMobileList.tsx
+++ b/ui/src/components/workbench/AgentGraphMobileList.tsx
@@ -57,7 +57,7 @@ export const AgentGraphMobileList: React.FC<AgentGraphMobileListProps> = ({
onClick={() => onSelectTrigger(trigger.definition_id)}
title={trigger.name ?? trigger.definition_id}
className={clsx(
- 'inline-flex w-fit items-center gap-1 rounded-md border border-violet/40 bg-violet-soft px-1.5 py-0.5 text-[10px] font-medium text-violet transition hover:brightness-110',
+ 'inline-flex w-fit items-center gap-1 rounded-md border border-violet/40 bg-violet-soft px-1.5 py-0.5 text-[10px] font-medium text-violet-ink transition hover:brightness-110',
!trigger.enabled && 'opacity-60',
)}
>
diff --git a/ui/src/components/workbench/AgentGraphNodeCard.tsx b/ui/src/components/workbench/AgentGraphNodeCard.tsx
index 779993aa6..f3593467a 100644
--- a/ui/src/components/workbench/AgentGraphNodeCard.tsx
+++ b/ui/src/components/workbench/AgentGraphNodeCard.tsx
@@ -111,7 +111,7 @@ const StatusGlyph: React.FC<{ node: AgentGraphNode }> = ({ node }) => {
const meta = statusMeta(node.status);
if (meta.glyph === 'check') return <Check className="size-3 shrink-0 text-muted" />;
if (meta.glyph === 'cross') {
- return <X className={clsx('size-3 shrink-0', meta.tone === 'destructive' ? 'text-destructive' : 'text-muted')} />;
+ return <X className={clsx('size-3 shrink-0', meta.tone === 'destructive' ? 'text-destructive-ink' : 'text-muted')} />;
}
return <span className={clsx('size-2 shrink-0 rounded-full', meta.dotClass, node.status === 'active' && 'animate-pulse')} />;
};
diff --git a/ui/src/components/workbench/AgentGraphSearch.tsx b/ui/src/components/workbench/AgentGraphSearch.tsx
index be930885a..e600a04d2 100644
--- a/ui/src/components/workbench/AgentGraphSearch.tsx
+++ b/ui/src/components/workbench/AgentGraphSearch.tsx
@@ -202,7 +202,7 @@ const ResultRow: React.FC<{
</>
) : (
<>
- <span className="shrink-0 rounded bg-violet/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-violet">
+ <span className="shrink-0 rounded bg-violet/15 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-violet-ink">
{t('agents.graph.search.triggerTag')}
</span>
<span className="min-w-0 flex-1 truncate font-medium text-foreground">
@@ -212,7 +212,7 @@ const ResultRow: React.FC<{
</>
)}
{outside && (
- <span className="shrink-0 rounded bg-gold/15 px-1.5 py-0.5 text-[10px] font-medium text-gold">
+ <span className="shrink-0 rounded bg-gold/15 px-1.5 py-0.5 text-[10px] font-medium text-gold-ink">
{t('agents.graph.search.outsideFilters')}
</span>
)}
diff --git a/ui/src/components/workbench/AgentGraphTab.tsx b/ui/src/components/workbench/AgentGraphTab.tsx
index 60c812bb7..139fc949e 100644
--- a/ui/src/components/workbench/AgentGraphTab.tsx
+++ b/ui/src/components/workbench/AgentGraphTab.tsx
@@ -579,7 +579,7 @@ export const AgentGraphTab: React.FC = () => {
<div className="flex flex-wrap items-center gap-3">
<p className="min-w-0 flex-1 text-[12.5px] text-muted">{t('agents.graph.subtitle')}</p>
{counts && (
- <span className="inline-flex shrink-0 items-center gap-1.5 rounded-full border border-mint/40 bg-mint-soft px-3 py-1 text-[12px] font-semibold text-mint">
+ <span className="inline-flex shrink-0 items-center gap-1.5 rounded-full border border-mint/40 bg-mint-soft px-3 py-1 text-[12px] font-semibold text-mint-ink">
<span className="size-1.5 rounded-full bg-mint" />
{t('agents.graph.livePill', { active: counts.active, queued: counts.queued })}
</span>
@@ -672,14 +672,14 @@ export const AgentGraphTab: React.FC = () => {
</div>
{graph?.live_unreachable && (
- <div className="flex items-center gap-2 rounded-lg border border-gold/40 bg-gold/[0.06] px-3 py-2 text-[12px] text-gold">
+ <div className="flex items-center gap-2 rounded-lg border border-gold/40 bg-gold/[0.06] px-3 py-2 text-[12px] text-gold-ink">
<ServerCrash className="size-3.5" />
{t('agents.graph.unreachable')}
</div>
)}
{graph?.truncated && (
- <div className="flex items-center gap-2 rounded-lg border border-gold/40 bg-gold/[0.06] px-3 py-2 text-[12px] text-gold">
+ <div className="flex items-center gap-2 rounded-lg border border-gold/40 bg-gold/[0.06] px-3 py-2 text-[12px] text-gold-ink">
<AlertTriangle className="size-3.5 shrink-0" />
{t('agents.graph.truncated')}
</div>
@@ -820,7 +820,7 @@ const DropdownItem: React.FC<{ active: boolean; onClick: () => void; children: R
onClick={onClick}
className={clsx(
'flex w-full items-center gap-2 truncate rounded px-2 py-1.5 text-left text-[12px] transition',
- active ? 'bg-cyan-soft text-cyan' : 'text-foreground hover:bg-foreground/[0.04]',
+ active ? 'bg-cyan-soft text-cyan-ink' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
{children}
diff --git a/ui/src/components/workbench/AgentGraphTriggerChip.tsx b/ui/src/components/workbench/AgentGraphTriggerChip.tsx
index 55d226002..de7706529 100644
--- a/ui/src/components/workbench/AgentGraphTriggerChip.tsx
+++ b/ui/src/components/workbench/AgentGraphTriggerChip.tsx
@@ -48,12 +48,12 @@ export const AgentGraphTriggerChip: React.FC<AgentGraphTriggerChipProps> = ({
className,
)}
>
- <span className="flex size-7 shrink-0 items-center justify-center rounded-lg border border-violet/30 bg-violet/[0.12] text-violet">
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-lg border border-violet/30 bg-violet/[0.12] text-violet-ink">
<Icon className="size-3.5" />
</span>
<div className="flex min-w-0 flex-col">
<span className="truncate text-[12px] font-semibold text-foreground">{name}</span>
- <span className="truncate font-mono text-[10px] uppercase tracking-wide text-violet">
+ <span className="truncate font-mono text-[10px] uppercase tracking-wide text-violet-ink">
{kindLabel}
{disabled && <span className="text-muted"> · {t('agents.graph.trigger.disabled')}</span>}
{trigger.schedule_label && <span className="text-muted"> · {trigger.schedule_label}</span>}
diff --git a/ui/src/components/workbench/AgentGraphTriggerDetail.tsx b/ui/src/components/workbench/AgentGraphTriggerDetail.tsx
index 222eb8cf1..ab5511b45 100644
--- a/ui/src/components/workbench/AgentGraphTriggerDetail.tsx
+++ b/ui/src/components/workbench/AgentGraphTriggerDetail.tsx
@@ -307,7 +307,7 @@ export const AgentGraphTriggerDetail: React.FC<AgentGraphTriggerDetailProps> = (
<div className="flex flex-col gap-3.5">
{/* Header: type + enabled pills + close */}
<div className="flex items-center gap-2">
- <span className="inline-flex items-center gap-1.5 rounded-full border border-violet/40 bg-violet-soft px-2.5 py-0.5 text-[11px] font-semibold text-violet">
+ <span className="inline-flex items-center gap-1.5 rounded-full border border-violet/40 bg-violet-soft px-2.5 py-0.5 text-[11px] font-semibold text-violet-ink">
{isWatch ? <Eye className="size-3" /> : <CalendarClock className="size-3" />}
{t(isWatch ? 'agents.graph.triggerDetail.watchType' : 'agents.graph.triggerDetail.taskType')}
</span>
@@ -315,7 +315,7 @@ export const AgentGraphTriggerDetail: React.FC<AgentGraphTriggerDetailProps> = (
className={clsx(
'inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-[10px] font-semibold',
enabled
- ? 'border-mint/40 bg-mint-soft text-mint'
+ ? 'border-mint/40 bg-mint-soft text-mint-ink'
: 'border-border-strong bg-foreground/[0.04] text-muted',
)}
>
@@ -399,7 +399,7 @@ export const AgentGraphTriggerDetail: React.FC<AgentGraphTriggerDetailProps> = (
<div className="flex flex-col gap-1.5">
<div className="flex items-center justify-between">
<SectionLabel>{t('agents.graph.triggerDetail.runsTitle')}</SectionLabel>
- <Link to="/harness?tab=runs" className="text-[11px] font-medium text-cyan hover:underline">
+ <Link to="/harness?tab=runs" className="text-[11px] font-medium text-cyan-ink hover:underline">
{t('agents.graph.detail.viewAllInHarness')}
</Link>
</div>
diff --git a/ui/src/components/workbench/AgentRoutePicker.tsx b/ui/src/components/workbench/AgentRoutePicker.tsx
index 9b3737f66..0dd55b1ea 100644
--- a/ui/src/components/workbench/AgentRoutePicker.tsx
+++ b/ui/src/components/workbench/AgentRoutePicker.tsx
@@ -256,7 +256,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({
{backend && (
<span
className={clsx(
- 'shrink-0 items-center gap-1 rounded border border-cyan/30 bg-cyan/[0.08] px-1.5 py-0.5 font-mono text-[9px] font-bold uppercase text-cyan',
+ 'shrink-0 items-center gap-1 rounded border border-cyan/30 bg-cyan/[0.08] px-1.5 py-0.5 font-mono text-[9px] font-bold uppercase text-cyan-ink',
compactMobile ? 'hidden md:inline-flex' : 'inline-flex',
)}
>
@@ -317,7 +317,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({
})
}
>
- <Sparkles className="size-3.5 shrink-0 text-cyan" />
+ <Sparkles className="size-3.5 shrink-0 text-cyan-ink" />
<span className="flex-1 truncate font-semibold">{defaultLabel}</span>
</RouteItem>
)}
@@ -362,7 +362,7 @@ export const AgentRoutePicker: React.FC<AgentRoutePickerProps> = ({
// that tab explicitly instead of resuming the remembered one.
navigate('/agents?tab=definitions');
}}
- className="mt-1 h-auto w-full justify-start gap-1.5 rounded px-2 py-1.5 text-[11px] font-medium text-cyan hover:bg-cyan/[0.08] hover:text-cyan"
+ className="mt-1 h-auto w-full justify-start gap-1.5 rounded px-2 py-1.5 text-[11px] font-medium text-cyan-ink hover:bg-cyan/[0.08] hover:text-cyan-ink"
>
<Plus className="size-3.5" />
{t('chat.picker.newAgent')}
@@ -467,7 +467,7 @@ const RouteItem: React.FC<{
disabled={disabled}
className={clsx(
'h-auto w-full justify-start gap-2 rounded px-2 py-1.5 text-left text-[12px] font-normal',
- active ? 'bg-cyan/[0.10] text-cyan hover:bg-cyan/[0.10] hover:text-cyan' : 'text-foreground hover:bg-foreground/[0.04]',
+ active ? 'bg-cyan/[0.10] text-cyan-ink hover:bg-cyan/[0.10] hover:text-cyan-ink' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
{children}
diff --git a/ui/src/components/workbench/AgentsPage.tsx b/ui/src/components/workbench/AgentsPage.tsx
index 2cb09f16f..78d480fb1 100644
--- a/ui/src/components/workbench/AgentsPage.tsx
+++ b/ui/src/components/workbench/AgentsPage.tsx
@@ -472,14 +472,14 @@ export const AgentsPage: React.FC = () => {
className={clsx(
'flex shrink-0 items-center gap-2 whitespace-nowrap px-4 py-3 text-[13px] transition',
active
- ? 'border-b-2 border-violet font-bold text-violet'
+ ? 'border-b-2 border-violet font-bold text-violet-ink'
: 'font-medium text-muted hover:text-foreground',
)}
>
{key === 'definitions' ? (
- <Layers className={clsx('size-3.5', active ? 'text-violet' : 'text-muted')} />
+ <Layers className={clsx('size-3.5', active ? 'text-violet-ink' : 'text-muted')} />
) : (
- <Activity className={clsx('size-3.5', active ? 'text-violet' : 'text-muted')} />
+ <Activity className={clsx('size-3.5', active ? 'text-violet-ink' : 'text-muted')} />
)}
{t(`agents.tabs.${key}`)}
{key === 'running' && (
@@ -487,7 +487,7 @@ export const AgentsPage: React.FC = () => {
className={clsx(
'rounded-full border px-1.5 py-0 font-mono text-[9px] font-bold',
active
- ? 'border-violet/30 bg-violet/[0.10] text-violet'
+ ? 'border-violet/30 bg-violet/[0.10] text-violet-ink'
: 'border-border-strong bg-foreground/[0.04] text-muted',
)}
>
@@ -547,7 +547,7 @@ export const AgentsPage: React.FC = () => {
</div>
{activeTab === 'definitions' && error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
@@ -669,7 +669,7 @@ const OrganizationAgentOnboarding: React.FC<OrganizationAgentOnboardingProps> =
<div className="flex flex-col gap-4 px-1 sm:px-4">
<div className="flex flex-col gap-3 lg:flex-row lg:items-center">
<div className="flex min-w-0 flex-1 items-start gap-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-md border border-mint/30 bg-mint-soft text-mint">
+ <span className="grid size-9 shrink-0 place-items-center rounded-md border border-mint/30 bg-mint-soft text-mint-ink">
<ShieldCheck className="size-4" />
</span>
<div className="min-w-0">
@@ -700,7 +700,7 @@ const OrganizationAgentOnboarding: React.FC<OrganizationAgentOnboardingProps> =
type="button"
aria-expanded={expanded}
onClick={() => onExpandedChange(!expanded)}
- className="flex min-w-0 items-center gap-2 text-[12px] font-medium text-foreground hover:text-mint"
+ className="flex min-w-0 items-center gap-2 text-[12px] font-medium text-foreground hover:text-mint-ink"
>
<ChevronRight className={clsx('size-3.5 shrink-0 transition-transform', expanded && 'rotate-90')} />
{t('agents.onboarding.inventory', { count: counts.total })}
@@ -842,7 +842,7 @@ const BackendFilter: React.FC<BackendFilterProps> = ({ value, onChange }) => {
}}
className={clsx(
'flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-[12px] transition',
- value === key ? 'bg-cyan-soft text-cyan' : 'text-foreground hover:bg-foreground/[0.04]',
+ value === key ? 'bg-cyan-soft text-cyan-ink' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
{key !== 'all' && <Bot className={clsx('size-3.5', BACKEND_ICON_CLASS[key])} />}
@@ -1219,7 +1219,7 @@ const AgentDetailPanel: React.FC<DetailProps> = ({ agent, isDefault, canEdit, on
}}
className={clsx(
'truncate rounded-md px-1 py-1.5 text-[11px] capitalize transition disabled:cursor-not-allowed',
- active ? 'bg-mint-soft font-bold text-mint' : 'font-medium text-muted hover:text-foreground',
+ active ? 'bg-mint-soft font-bold text-mint-ink' : 'font-medium text-muted hover:text-foreground',
!canEdit && !active && 'opacity-70 hover:text-muted',
)}
>
@@ -1300,7 +1300,7 @@ const AgentDetailPanel: React.FC<DetailProps> = ({ agent, isDefault, canEdit, on
variant="outline"
size="xs"
onClick={() => setRunning(true)}
- className="border-mint/40 bg-mint-soft text-mint hover:brightness-110"
+ className="border-mint/40 bg-mint-soft text-mint-ink hover:brightness-110"
>
<Play className="size-3" />
{t('agents.detail.run')}
diff --git a/ui/src/components/workbench/AnnotationMessage.tsx b/ui/src/components/workbench/AnnotationMessage.tsx
index 61f0eaa7b..fb2f300da 100644
--- a/ui/src/components/workbench/AnnotationMessage.tsx
+++ b/ui/src/components/workbench/AnnotationMessage.tsx
@@ -48,7 +48,7 @@ export const AnnotationMessage: React.FC<AnnotationMessageProps> = ({
// Rule 02: two title values, and the action never enters the title. A resolved
// agent mark is still titled "Agent 批注" — the marker below says it is done.
const label = (
- <span className={clsx('text-[11px] font-medium', fromUser ? 'text-cyan' : 'text-mint')}>
+ <span className={clsx('text-[11px] font-medium', fromUser ? 'text-cyan-ink' : 'text-mint-ink')}>
{t(annotationTitleKey(view.direction))}
</span>
);
@@ -74,7 +74,7 @@ export const AnnotationMessage: React.FC<AnnotationMessageProps> = ({
// Rule 07.
const resolvedNode = view.resolved ? (
<div className="mt-[9px] flex w-full">
- <span className="inline-flex items-center gap-1 rounded-full border border-mint/35 bg-mint-soft px-[9px] py-[3px] text-[10.5px] font-semibold text-mint">
+ <span className="inline-flex items-center gap-1 rounded-full border border-mint/35 bg-mint-soft px-[9px] py-[3px] text-[10.5px] font-semibold text-mint-ink">
<Check className="size-[11px] shrink-0" />
{t('chat.annotation.resolved')}
</span>
diff --git a/ui/src/components/workbench/AppsEditorPage.tsx b/ui/src/components/workbench/AppsEditorPage.tsx
index 34eec54db..10876b784 100644
--- a/ui/src/components/workbench/AppsEditorPage.tsx
+++ b/ui/src/components/workbench/AppsEditorPage.tsx
@@ -181,7 +181,7 @@ const MobileEditor: React.FC<{
) : (
<div className="flex min-h-0 flex-1 flex-col items-center justify-center gap-4 p-8 text-center">
<span className="grid size-12 place-items-center rounded-2xl border border-violet/50 bg-violet/[0.1]">
- <CodeXml className="size-6 text-violet" />
+ <CodeXml className="size-6 text-violet-ink" />
</span>
<div className="flex flex-col gap-1">
<div className="text-[15px] font-semibold text-foreground">{t('apps.editor.empty')}</div>
diff --git a/ui/src/components/workbench/AppsFileBrowserPage.tsx b/ui/src/components/workbench/AppsFileBrowserPage.tsx
index b91d0a227..1509ab4b6 100644
--- a/ui/src/components/workbench/AppsFileBrowserPage.tsx
+++ b/ui/src/components/workbench/AppsFileBrowserPage.tsx
@@ -1379,7 +1379,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
onClick={() => setSearchMode((m) => (m === 'content' ? 'name' : 'content'))}
className={clsx(
'grid size-5 shrink-0 place-items-center rounded transition',
- searchMode === 'content' ? 'bg-cyan-soft text-cyan' : 'text-muted hover:bg-foreground/10 hover:text-foreground',
+ searchMode === 'content' ? 'bg-cyan-soft text-cyan-ink' : 'text-muted hover:bg-foreground/10 hover:text-foreground',
)}
>
<FileSearch className="size-3.5" />
@@ -1407,7 +1407,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
<Button type="button" size="sm" variant="ghost" className="h-7 gap-1.5 px-2 text-[12px]" onClick={() => void downloadItems(selectedItems)} disabled={selectedItems.length === 0}>
<Download className="size-3.5" /> {t('apps.fileBrowser.download')}
</Button>
- <Button type="button" size="sm" variant="ghost" className="h-7 gap-1.5 px-2 text-[12px] text-destructive" onClick={() => removeItems(selectedItems)} disabled={selectedItems.length === 0}>
+ <Button type="button" size="sm" variant="ghost" className="h-7 gap-1.5 px-2 text-[12px] text-destructive-ink" onClick={() => removeItems(selectedItems)} disabled={selectedItems.length === 0}>
<Trash2 className="size-3.5" /> {t('apps.fileBrowser.delete')}
</Button>
<Button type="button" size="icon" variant="ghost" className="size-7 text-muted" aria-label={t('apps.fileBrowser.clearSelection')} onClick={clearSelection}>
@@ -1484,7 +1484,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
active ? 'border-cyan/40 bg-cyan-soft text-foreground' : 'border-border-strong text-muted',
)}
>
- <Folder className={clsx('size-3.5 shrink-0', active ? 'text-cyan' : 'text-cyan/70')} />
+ <Folder className={clsx('size-3.5 shrink-0', active ? 'text-cyan-ink' : 'text-cyan-ink/70')} />
<span className="max-w-[140px] truncate">{f.label}</span>
</button>
);
@@ -1492,7 +1492,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
</div>
)}
- {error && <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive">{error}</div>}
+ {error && <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive-ink">{error}</div>}
<div className="flex min-h-0 flex-1 overflow-hidden">
{/* Rail: Favorites THEN Projects (design nknn2 order). Folders here are drop targets too. */}
@@ -1519,7 +1519,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
{projectFavs.map((f) => (
<RailRow
key={f.path}
- icon={<Folder className="size-3.5 text-cyan" />}
+ icon={<Folder className="size-3.5 text-cyan-ink" />}
label={f.label}
active={cwd === f.path}
dropActive={dropTarget === f.path}
@@ -1565,7 +1565,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
// menu (paste) instead of our blank-space New menu from the container below.
<div className="flex items-center px-3 py-1.5" onContextMenu={(e) => e.stopPropagation()}>
<span className="flex min-w-0 flex-1 items-center gap-2">
- {newEntry.kind === 'folder' ? <Folder className="size-4 shrink-0 text-cyan" /> : <FileIcon className="size-4 shrink-0 text-muted" />}
+ {newEntry.kind === 'folder' ? <Folder className="size-4 shrink-0 text-cyan-ink" /> : <FileIcon className="size-4 shrink-0 text-muted" />}
<InlineNameInput
initial=""
placeholder={t(newEntry.kind === 'folder' ? 'apps.fileBrowser.newFolderPlaceholder' : 'apps.fileBrowser.newFilePrompt')}
@@ -1719,7 +1719,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
type="button"
size="sm"
variant="ghost"
- className="h-6 shrink-0 gap-1 px-2 text-[12px] text-cyan"
+ className="h-6 shrink-0 gap-1 px-2 text-[12px] text-cyan-ink"
disabled={undoBusy}
onClick={() => void performUndo()}
>
@@ -1744,7 +1744,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
{t('apps.fileBrowser.showHidden')}
</label>
{uploadProgress && (
- <span className="flex items-center gap-1.5 text-cyan">
+ <span className="flex items-center gap-1.5 text-cyan-ink">
<Loader2 className="size-3 animate-spin" />
{t('apps.fileBrowser.uploading', { done: uploadProgress.done, total: uploadProgress.total })}
</span>
@@ -1798,7 +1798,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
type="button"
size="icon"
variant="ghost"
- className="size-7 shrink-0 text-mint"
+ className="size-7 shrink-0 text-mint-ink"
aria-label={t('apps.fileBrowser.download')}
onClick={() => downloadFile(preview.path)}
>
@@ -1903,7 +1903,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
onClick={() => copyRowsToClipboard(menu.items)}
/>
<ContextMenuItem
- icon={<FolderInput className="size-3.5 text-cyan" />}
+ icon={<FolderInput className="size-3.5 text-cyan-ink" />}
label={t('apps.fileBrowser.move')}
onClick={() => {
const items = menu.items;
@@ -1912,7 +1912,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
}}
/>
<ContextMenuItem
- icon={<Download className="size-3.5 text-mint" />}
+ icon={<Download className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.download')}
onClick={() => void downloadItems(menu.items)}
/>
@@ -1921,7 +1921,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
) : (
<>
<ContextMenuItem
- icon={menu.item.entry.kind === 'dir' ? <Folder className="size-3.5 text-cyan" /> : <FileText className="size-3.5 text-cyan" />}
+ icon={menu.item.entry.kind === 'dir' ? <Folder className="size-3.5 text-cyan-ink" /> : <FileText className="size-3.5 text-cyan-ink" />}
label={t('apps.fileBrowser.open')}
onClick={() => {
const it = menu.item as RowItem;
@@ -1931,7 +1931,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
/>
{menuPreviewable && menuEntry && (
<ContextMenuItem
- icon={<Eye className="size-3.5 text-cyan" />}
+ icon={<Eye className="size-3.5 text-cyan-ink" />}
label={t('apps.fileBrowser.preview')}
onClick={() => {
const it = menu.item as RowItem;
@@ -1944,7 +1944,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
)}
{menuEditable && (
<ContextMenuItem
- icon={<FileCode2 className="size-3.5 text-mint" />}
+ icon={<FileCode2 className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.openInEditor')}
onClick={() => {
const it = menu.item as RowItem;
@@ -1956,7 +1956,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
)}
{menu.item.entry.kind === 'dir' && (
<ContextMenuItem
- icon={<SquareTerminal className="size-3.5 text-mint" />}
+ icon={<SquareTerminal className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.openTerminalHere')}
onClick={() => {
const it = menu.item as RowItem;
@@ -1967,7 +1967,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
)}
{menu.item.entry.kind !== 'dir' && (
<ContextMenuItem
- icon={<Download className="size-3.5 text-mint" />}
+ icon={<Download className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.download')}
onClick={() => {
const it = menu.item as RowItem;
@@ -1977,7 +1977,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
/>
)}
<ContextMenuItem icon={<Copy className="size-3.5" />} label={t('apps.fileBrowser.copy')} onClick={() => copyRowsToClipboard(menu.items)} />
- <ContextMenuItem icon={<Copy className="size-3.5 text-gold" />} label={t('apps.fileBrowser.duplicate')} onClick={() => void duplicateItem(menu.item as RowItem)} />
+ <ContextMenuItem icon={<Copy className="size-3.5 text-gold-ink" />} label={t('apps.fileBrowser.duplicate')} onClick={() => void duplicateItem(menu.item as RowItem)} />
<ContextMenuItem
icon={<Pencil className="size-3.5" />}
label={t('apps.fileBrowser.rename')}
@@ -1993,10 +1993,10 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
) : (
<>
{clipboard.length > 0 && cwd && (
- <ContextMenuItem icon={<ClipboardPaste className="size-3.5 text-cyan" />} label={t('apps.fileBrowser.paste')} onClick={() => void pasteRows(clipboard, cwd)} />
+ <ContextMenuItem icon={<ClipboardPaste className="size-3.5 text-cyan-ink" />} label={t('apps.fileBrowser.paste')} onClick={() => void pasteRows(clipboard, cwd)} />
)}
<ContextMenuItem
- icon={<FilePlus className="size-3.5 text-mint" />}
+ icon={<FilePlus className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.newFile')}
onClick={() => {
closeMenu();
@@ -2004,7 +2004,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
}}
/>
<ContextMenuItem
- icon={<FolderPlus className="size-3.5 text-gold" />}
+ icon={<FolderPlus className="size-3.5 text-gold-ink" />}
label={t('apps.fileBrowser.newFolder')}
onClick={() => {
closeMenu();
@@ -2013,7 +2013,7 @@ export const AppsFileBrowserPage: React.FC<{ windowed?: boolean; windowId?: stri
/>
{cwd && (
<ContextMenuItem
- icon={<SquareTerminal className="size-3.5 text-mint" />}
+ icon={<SquareTerminal className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.openTerminalHere')}
onClick={() => {
closeMenu();
diff --git a/ui/src/components/workbench/AppsPreviewPage.tsx b/ui/src/components/workbench/AppsPreviewPage.tsx
index 876b8abb9..00e99d4a1 100644
--- a/ui/src/components/workbench/AppsPreviewPage.tsx
+++ b/ui/src/components/workbench/AppsPreviewPage.tsx
@@ -57,7 +57,7 @@ export const AppsPreviewPage: React.FC<{ windowId?: string; params?: Record<stri
type="button"
size="icon"
variant="ghost"
- className="size-7 text-mint"
+ className="size-7 text-mint-ink"
aria-label={t('apps.fileBrowser.download')}
onClick={() => downloadFile(path)}
>
diff --git a/ui/src/components/workbench/ArchiveSessionDialog.tsx b/ui/src/components/workbench/ArchiveSessionDialog.tsx
index 1474e5501..0d56f3e27 100644
--- a/ui/src/components/workbench/ArchiveSessionDialog.tsx
+++ b/ui/src/components/workbench/ArchiveSessionDialog.tsx
@@ -109,7 +109,7 @@ export function ArchiveSessionDialog({
<DialogContent className="max-w-[420px]">
<DialogHeader>
<DialogTitle className="flex items-center gap-2">
- <span className="grid size-7 shrink-0 place-items-center rounded-full bg-destructive/12 text-destructive">
+ <span className="grid size-7 shrink-0 place-items-center rounded-full bg-destructive/12 text-destructive-ink">
<AlertTriangle className="size-4" />
</span>
{t('workbench.archiveSession.title')}
@@ -126,10 +126,10 @@ export function ArchiveSessionDialog({
{t('workbench.archiveSession.checking')}
</span>
) : previewError ? (
- <span className="text-pink">{t('workbench.archiveSession.previewError')}</span>
+ <span className="text-pink-ink">{t('workbench.archiveSession.previewError')}</span>
) : reclaimItems.length > 0 ? (
<>
- <p className="mb-1.5 font-medium text-destructive">{t('workbench.archiveSession.reclaimIntro')}</p>
+ <p className="mb-1.5 font-medium text-destructive-ink">{t('workbench.archiveSession.reclaimIntro')}</p>
<ul className="list-disc space-y-0.5 pl-4 text-muted">
{reclaimItems.map((item) => (
<li key={item}>{item}</li>
diff --git a/ui/src/components/workbench/CapabilityTabs.tsx b/ui/src/components/workbench/CapabilityTabs.tsx
index fd575d436..92f866948 100644
--- a/ui/src/components/workbench/CapabilityTabs.tsx
+++ b/ui/src/components/workbench/CapabilityTabs.tsx
@@ -46,7 +46,7 @@ export const CapabilityTabs: React.FC = () => {
to={to}
className={clsx(
'flex shrink-0 items-center gap-1.5 rounded-full border px-3.5 py-1.5 text-[12.5px] font-medium transition',
- active ? 'border-mint/40 bg-mint-soft text-mint' : 'border-border-strong text-muted',
+ active ? 'border-mint/40 bg-mint-soft text-mint-ink' : 'border-border-strong text-muted',
)}
>
<Icon className="size-3.5" />
diff --git a/ui/src/components/workbench/ChatPage.tsx b/ui/src/components/workbench/ChatPage.tsx
index d3479b3cc..2a2064a75 100644
--- a/ui/src/components/workbench/ChatPage.tsx
+++ b/ui/src/components/workbench/ChatPage.tsx
@@ -2316,12 +2316,12 @@ export const ChatPage: React.FC = () => {
<button
type="button"
onClick={goBack}
- className="inline-flex items-center gap-1.5 text-[12px] text-cyan hover:underline"
+ className="inline-flex items-center gap-1.5 text-[12px] text-cyan-ink hover:underline"
>
<ArrowLeft className="size-3.5" />
{t('chat.back')}
</button>
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error ?? t('chat.notFound')}
</div>
</div>
@@ -2372,7 +2372,7 @@ export const ChatPage: React.FC = () => {
container, whose drop handler stages them on the composer. */}
{fileDragging && (
<div className="pointer-events-none absolute inset-0 z-10 m-2 flex items-center justify-center rounded-2xl border-2 border-dashed border-mint/60 bg-background/85 backdrop-blur-sm md:m-3">
- <div className="flex flex-col items-center gap-2 text-mint">
+ <div className="flex flex-col items-center gap-2 text-mint-ink">
<UploadCloud className="size-7" />
<span className="text-[13px] font-medium">{t('chat.compose.dropOverlay')}</span>
</div>
@@ -2436,7 +2436,7 @@ export const ChatPage: React.FC = () => {
of being discarded on unmount. */}
<div className={clsx('flex min-h-0 flex-1 flex-col', showPageActive && 'hidden')}>
{error && (
- <div className="mx-auto mt-3 w-full max-w-[1080px] rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="mx-auto mt-3 w-full max-w-[1080px] rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
@@ -2601,7 +2601,7 @@ export const QueueRow: React.FC<{
>
{annotationView && (
<>
- <span className="mr-2 inline-flex items-center gap-[5px] align-middle text-[10.5px] font-medium text-cyan">
+ <span className="mr-2 inline-flex items-center gap-[5px] align-middle text-[10.5px] font-medium text-cyan-ink">
<MessageSquareQuote className="size-[11px] shrink-0" />
{t(annotationTitleKey(annotationView.direction))}
</span>
@@ -2644,7 +2644,7 @@ export const QueueRow: React.FC<{
onClick={() => onRemove(item.id)}
aria-label={t('chat.queue.remove')}
title={t('chat.queue.remove')}
- className="size-6 shrink-0 text-muted hover:text-destructive"
+ className="size-6 shrink-0 text-muted hover:text-destructive-ink"
>
<X className="size-3.5" />
</Button>
@@ -2663,10 +2663,10 @@ const ACTIVITY_ITEM_ICON: Record<SessionActivityItemKind, LucideIcon> = {
};
const ACTIVITY_ITEM_TINT: Record<SessionActivityItemKind, string> = {
- backend_activity: 'bg-mint/15 text-mint',
- watch: 'bg-cyan/15 text-cyan',
- task: 'bg-gold/15 text-gold',
- agent_run: 'bg-violet/15 text-violet',
+ backend_activity: 'bg-mint/15 text-mint-ink',
+ watch: 'bg-cyan/15 text-cyan-ink',
+ task: 'bg-gold/15 text-gold-ink',
+ agent_run: 'bg-violet/15 text-violet-ink',
};
// One expanded popover row: colored kind icon box + two-line label / subtitle.
@@ -2708,7 +2708,7 @@ const ActivityRow: React.FC<{
{isHarness ? (
<ChevronRight className="size-4 shrink-0 self-center text-muted" aria-hidden="true" />
) : (
- <span className="shrink-0 self-center text-[11px] font-medium text-mint">
+ <span className="shrink-0 self-center text-[11px] font-medium text-mint-ink">
{t('chat.activities.status.running')}
</span>
)}
@@ -2779,11 +2779,11 @@ const ActivityStrip: React.FC<{
indicator={
active.length > 0 ? (
<Activity
- className={clsx('size-3.5 shrink-0', queuedOnly ? 'text-muted' : 'text-mint')}
+ className={clsx('size-3.5 shrink-0', queuedOnly ? 'text-muted' : 'text-mint-ink')}
aria-hidden="true"
/>
) : (
- <Loader2 className="size-3.5 shrink-0 animate-spin text-mint" aria-hidden="true" />
+ <Loader2 className="size-3.5 shrink-0 animate-spin text-mint-ink" aria-hidden="true" />
)
}
label={
@@ -2841,7 +2841,7 @@ const ActivityStrip: React.FC<{
<button
type="button"
onClick={() => navigateTo('/harness')}
- className="flex shrink-0 items-center justify-center gap-1 border-t border-border/60 px-2 py-2 text-[12px] font-medium text-cyan transition-colors hover:bg-surface-2"
+ className="flex shrink-0 items-center justify-center gap-1 border-t border-border/60 px-2 py-2 text-[12px] font-medium text-cyan-ink transition-colors hover:bg-surface-2"
>
{t('chat.activities.manageInHarness')}
<ArrowRight className="size-3.5" aria-hidden="true" />
@@ -2868,11 +2868,11 @@ export const QueueStrip: React.FC<{
<div className="shrink-0 px-4 md:px-8">
<div className="mx-auto w-full max-w-[1080px] rounded-xl border border-cyan/25 bg-cyan/[0.04] p-2">
<div className="flex items-center justify-between px-1 pb-1.5">
- <span className="inline-flex items-center gap-1.5 font-mono text-[10px] font-bold uppercase tracking-[0.1em] text-cyan">
+ <span className="inline-flex items-center gap-1.5 font-mono text-[10px] font-bold uppercase tracking-[0.1em] text-cyan-ink">
<Clock className="size-3" />
{t('chat.queue.title', { count: queue.length })}
</span>
- <Button type="button" variant="ghost" size="sm" onClick={onSendNow} className="h-6 px-2 text-[11px] text-cyan">
+ <Button type="button" variant="ghost" size="sm" onClick={onSendNow} className="h-6 px-2 text-[11px] text-cyan-ink">
{t('chat.queue.sendNow')}
</Button>
</div>
@@ -3813,7 +3813,7 @@ const ForkSourceBanner: React.FC<{ sourceSessionId: string; sourceTitle: string
<div className="flex w-full justify-center">
<Link
to={`/chat/${encodeURIComponent(sourceSessionId)}`}
- className="inline-flex max-w-full items-center gap-2 rounded-full border border-cyan/30 bg-cyan/[0.08] px-3 py-1.5 text-[12px] text-cyan transition-colors hover:border-cyan/50 hover:bg-cyan/[0.12]"
+ className="inline-flex max-w-full items-center gap-2 rounded-full border border-cyan/30 bg-cyan/[0.08] px-3 py-1.5 text-[12px] text-cyan-ink transition-colors hover:border-cyan/50 hover:bg-cyan/[0.12]"
>
<GitFork className="size-3.5 shrink-0" />
<span className="shrink-0">{t('chat.forkedFromPrefix')}</span>
@@ -4055,15 +4055,15 @@ export const MessageRow = memo(function MessageRow({
return (
<div data-message-id={message.id} className={rowClass('justify-start')}>
<div className="group/message flex max-w-[min(92%,860px)] flex-col items-start gap-1">
- <div className="inline-flex w-fit max-w-full items-start gap-1.5 rounded-2xl rounded-tl-md border border-gold/30 bg-gold/[0.08] px-3 py-1.5 text-[12px] text-gold">
+ <div className="inline-flex w-fit max-w-full items-start gap-1.5 rounded-2xl rounded-tl-md border border-gold/30 bg-gold/[0.08] px-3 py-1.5 text-[12px] text-gold-ink">
<Bell className="mt-px size-3 shrink-0" />
<span className="min-w-0 break-words">
<span className="font-semibold">{t(isVaultNotification ? 'chat.source.vault' : 'chat.notifyLabel')}</span>
{vaultStatusKey && (
- <span className="font-normal text-gold/80"> · {t(vaultStatusKey)}</span>
+ <span className="font-normal text-gold-ink/80"> · {t(vaultStatusKey)}</span>
)}
{resultPresentation.body && (
- <span className="font-normal text-gold/80"> · {resultPresentation.body}</span>
+ <span className="font-normal text-gold-ink/80"> · {resultPresentation.body}</span>
)}
</span>
</div>
@@ -4103,13 +4103,13 @@ export const MessageRow = memo(function MessageRow({
<button
type="button"
onClick={() => navigate(triggerLink.to)}
- className="inline-flex items-center gap-1 text-[11px] font-medium text-cyan hover:underline"
+ className="inline-flex items-center gap-1 text-[11px] font-medium text-cyan-ink hover:underline"
>
{t(harnessChipLabelKey(message))}
<ArrowUpRight className="size-3 shrink-0" />
</button>
) : (
- <span className="shrink-0 text-[11px] font-medium text-cyan">
+ <span className="shrink-0 text-[11px] font-medium text-cyan-ink">
{t(harnessChipLabelKey(message))}
</span>
)}
@@ -4126,7 +4126,7 @@ export const MessageRow = memo(function MessageRow({
<button
type="button"
onClick={() => navigate(triggerLink.to)}
- className="inline-flex min-w-0 items-center gap-1 text-[11px] font-medium text-cyan hover:underline"
+ className="inline-flex min-w-0 items-center gap-1 text-[11px] font-medium text-cyan-ink hover:underline"
>
<span className="min-w-0 truncate">{triggerLink.label}</span>
<ArrowUpRight className="size-3 shrink-0" />
@@ -4192,12 +4192,12 @@ const ChatMissing: React.FC<{ onBack: () => void }> = ({ onBack }) => {
<button
type="button"
onClick={onBack}
- className="inline-flex items-center gap-1.5 text-[12px] text-cyan hover:underline"
+ className="inline-flex items-center gap-1.5 text-[12px] text-cyan-ink hover:underline"
>
<ArrowLeft className="size-3.5" />
{t('chat.back')}
</button>
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{t('chat.missingSessionId')}
</div>
</div>
diff --git a/ui/src/components/workbench/Composer.tsx b/ui/src/components/workbench/Composer.tsx
index ea0fea34a..26fecf389 100644
--- a/ui/src/components/workbench/Composer.tsx
+++ b/ui/src/components/workbench/Composer.tsx
@@ -1271,11 +1271,11 @@ export const Composer = forwardRef<ComposerHandle, ComposerProps>(function Compo
) : att.kind === 'image' && att.url ? (
<img src={att.url} alt="" className="size-7 rounded object-cover" />
) : (
- <span className="grid size-7 place-items-center rounded bg-cyan/15 text-cyan">
+ <span className="grid size-7 place-items-center rounded bg-cyan/15 text-cyan-ink">
<Paperclip className="size-3.5" />
</span>
)}
- <span className={clsx('max-w-[160px] truncate', att.status === 'error' ? 'text-pink' : 'text-foreground')}>
+ <span className={clsx('max-w-[160px] truncate', att.status === 'error' ? 'text-pink-ink' : 'text-foreground')}>
{att.name}
</span>
{att.status === 'error' && att.retryable && (
diff --git a/ui/src/components/workbench/CreateViaChatDialog.tsx b/ui/src/components/workbench/CreateViaChatDialog.tsx
index ac8827002..0dc350268 100644
--- a/ui/src/components/workbench/CreateViaChatDialog.tsx
+++ b/ui/src/components/workbench/CreateViaChatDialog.tsx
@@ -113,7 +113,7 @@ export const CreateViaChatDialog: React.FC<CreateViaChatDialogProps> = ({ kind,
</button>
{/* Hero icon — 64x64 violet-soft tile with glow */}
- <div className="flex size-16 items-center justify-center rounded-2xl border border-violet/30 bg-violet-soft text-violet shadow-[0_0_28px_-6px_rgba(124,91,255,0.6)]">
+ <div className="flex size-16 items-center justify-center rounded-2xl border border-violet/30 bg-violet-soft text-violet-ink shadow-[0_0_28px_-6px_rgba(124,91,255,0.6)]">
<Sparkles className="size-[30px]" />
</div>
@@ -159,7 +159,7 @@ export const CreateViaChatDialog: React.FC<CreateViaChatDialogProps> = ({ kind,
</div>
{error && (
- <div className="w-full rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="w-full rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
diff --git a/ui/src/components/workbench/EditorApp.tsx b/ui/src/components/workbench/EditorApp.tsx
index 55e007b17..3ae8a9045 100644
--- a/ui/src/components/workbench/EditorApp.tsx
+++ b/ui/src/components/workbench/EditorApp.tsx
@@ -730,7 +730,7 @@ export const EditorApp: React.FC<{
<button
type="button"
onClick={openFolder}
- className="flex items-center justify-center gap-1.5 rounded-md border border-mint/40 bg-mint/[0.08] px-2.5 py-1.5 text-[12px] font-semibold text-mint transition hover:bg-mint/[0.14]"
+ className="flex items-center justify-center gap-1.5 rounded-md border border-mint/40 bg-mint/[0.08] px-2.5 py-1.5 text-[12px] font-semibold text-mint-ink transition hover:bg-mint/[0.14]"
>
<FolderOpen className="size-3.5" />
{t('apps.editor.openFolder')}
@@ -783,9 +783,9 @@ export const EditorApp: React.FC<{
className="flex items-center gap-1.5"
>
{tab.kind === 'preview' ? (
- previewRenderKind(tab.name) === 'image' ? <ImageIcon className="size-3.5 text-violet" /> : <FileText className="size-3.5 text-violet" />
+ previewRenderKind(tab.name) === 'image' ? <ImageIcon className="size-3.5 text-violet-ink" /> : <FileText className="size-3.5 text-violet-ink" />
) : (
- <CodeXml className="size-3.5 text-cyan" />
+ <CodeXml className="size-3.5 text-cyan-ink" />
)}
{tab.name}
{dirty[tab.id] && <span className="size-1.5 rounded-full bg-mint" />}
@@ -898,8 +898,8 @@ const Welcome: React.FC<{
// needed. Kept in state only so a 404'd file can be dropped from the view below.
const [recents, setRecents] = useState<EditorRecents>(() => loadEditorRecents());
const actions: { Icon: typeof FolderOpen; color: string; label: string; onClick: () => void; sc?: string }[] = [
- { Icon: FolderOpen, color: 'text-cyan', label: t('apps.editor.openFolder'), onClick: onOpenFolder, sc: '⌘O' },
- { Icon: FilePlus, color: 'text-mint', label: t('apps.fileBrowser.newFile'), onClick: onNewFile, sc: '⌘N' },
+ { Icon: FolderOpen, color: 'text-cyan-ink', label: t('apps.editor.openFolder'), onClick: onOpenFolder, sc: '⌘O' },
+ { Icon: FilePlus, color: 'text-mint-ink', label: t('apps.fileBrowser.newFile'), onClick: onNewFile, sc: '⌘N' },
];
const hasRecents = recents.folders.length > 0 || recents.files.length > 0;
@@ -918,7 +918,7 @@ const Welcome: React.FC<{
<div className="flex max-h-full w-[440px] max-w-full flex-col gap-6 overflow-y-auto">
<div className="flex items-center gap-3.5">
<span className="grid size-14 place-items-center rounded-2xl border border-cyan/60 bg-cyan-soft">
- <CodeXml className="size-7 text-cyan" />
+ <CodeXml className="size-7 text-cyan-ink" />
</span>
<div className="flex flex-col gap-1">
<div className="text-[24px] font-bold text-foreground">{t('apps.editor.label')}</div>
@@ -941,10 +941,10 @@ const Welcome: React.FC<{
// Folders first, then files — each a compact row: name + its containing directory (dimmed).
<div className="flex flex-col gap-0.5">
{recents.folders.map((path) => (
- <RecentRow key={`d:${path}`} Icon={FolderOpen} iconColor="text-cyan" name={recentPathLabel(path)} dir={parentDir(path)} onClick={() => onOpenRecentFolder(path)} />
+ <RecentRow key={`d:${path}`} Icon={FolderOpen} iconColor="text-cyan-ink" name={recentPathLabel(path)} dir={parentDir(path)} onClick={() => onOpenRecentFolder(path)} />
))}
{recents.files.map((file) => (
- <RecentRow key={`f:${file.path}`} Icon={FileText} iconColor="text-violet" name={file.name} dir={parentDir(file.path)} onClick={() => void openRecentFile(file)} />
+ <RecentRow key={`f:${file.path}`} Icon={FileText} iconColor="text-violet-ink" name={file.name} dir={parentDir(file.path)} onClick={() => void openRecentFile(file)} />
))}
</div>
) : (
diff --git a/ui/src/components/workbench/EditorSearchView.tsx b/ui/src/components/workbench/EditorSearchView.tsx
index c05cab969..44a7be872 100644
--- a/ui/src/components/workbench/EditorSearchView.tsx
+++ b/ui/src/components/workbench/EditorSearchView.tsx
@@ -83,7 +83,7 @@ const Toggle: React.FC<{ on: boolean; label: string; onClick: () => void; childr
title={label}
aria-label={label}
onClick={onClick}
- className={clsx('grid size-5 place-items-center rounded transition', on ? 'bg-cyan-soft text-cyan' : 'text-muted hover:bg-foreground/10 hover:text-foreground')}
+ className={clsx('grid size-5 place-items-center rounded transition', on ? 'bg-cyan-soft text-cyan-ink' : 'text-muted hover:bg-foreground/10 hover:text-foreground')}
>
{children}
</button>
@@ -242,7 +242,7 @@ export const EditorSearchView: React.FC<Props> = ({ root, focusNonce, onOpenFold
<button
type="button"
onClick={onOpenFolder}
- className="flex items-center justify-center gap-1.5 rounded-md border border-mint/40 bg-mint/[0.08] px-2.5 py-1.5 text-[12px] font-semibold text-mint transition hover:bg-mint/[0.14]"
+ className="flex items-center justify-center gap-1.5 rounded-md border border-mint/40 bg-mint/[0.08] px-2.5 py-1.5 text-[12px] font-semibold text-mint-ink transition hover:bg-mint/[0.14]"
>
<FolderOpen className="size-3.5" />
{t('apps.editor.openFolder')}
@@ -346,7 +346,7 @@ export const EditorSearchView: React.FC<Props> = ({ root, focusNonce, onOpenFold
<Loader2 className="size-3 animate-spin" /> {t('apps.editor.search.searching')}
</span>
) : error ? (
- <span className="text-destructive">{error}</span>
+ <span className="text-destructive-ink">{error}</span>
) : data ? (
<span>{t('apps.editor.search.summary', { matches: data.total_matches, files: data.total_files })}</span>
) : query ? null : (
@@ -355,13 +355,13 @@ export const EditorSearchView: React.FC<Props> = ({ root, focusNonce, onOpenFold
</div>
{data?.truncated && !loading && (
- <div className="mx-3 mb-1 rounded border border-gold/30 bg-gold/[0.08] px-2 py-1 text-[11px] text-gold">
+ <div className="mx-3 mb-1 rounded border border-gold/30 bg-gold/[0.08] px-2 py-1 text-[11px] text-gold-ink">
{t(data.truncated_reason === 'files' ? 'apps.editor.search.truncatedFiles' : 'apps.editor.search.truncatedMatches')}
</div>
)}
{undo && (
- <div className="mx-3 mb-1 flex items-center gap-2 rounded border border-mint/30 bg-mint/[0.08] px-2 py-1 text-[11px] text-mint">
+ <div className="mx-3 mb-1 flex items-center gap-2 rounded border border-mint/30 bg-mint/[0.08] px-2 py-1 text-[11px] text-mint-ink">
<span className="flex-1">
{t('apps.editor.search.replaced', { total: undo.total, files: undo.files })}
{undo.skipped > 0 ? ` ${t('apps.editor.search.replaceSkipped', { n: undo.skipped })}` : ''}
@@ -372,7 +372,7 @@ export const EditorSearchView: React.FC<Props> = ({ root, focusNonce, onOpenFold
</div>
)}
- {notice && <div className="mx-3 mb-1 rounded border border-gold/30 bg-gold/[0.08] px-2 py-1 text-[11px] text-gold">{notice}</div>}
+ {notice && <div className="mx-3 mb-1 rounded border border-gold/30 bg-gold/[0.08] px-2 py-1 text-[11px] text-gold-ink">{notice}</div>}
{/* Results tree. `?? []` is defense-in-depth: parse() now rejects a non-JSON response so
`data` is always a valid SearchResponse or null, but never crash the panel on a stray shape. */}
@@ -409,7 +409,7 @@ const FileGroup: React.FC<{
className="flex items-center gap-1.5 rounded px-1.5 py-1 text-left transition hover:bg-foreground/[0.05]"
>
{collapsed ? <ChevronRight className="size-3 shrink-0 text-muted" /> : <ChevronDown className="size-3 shrink-0 text-muted" />}
- <CodeXml className="size-3.5 shrink-0 text-cyan" />
+ <CodeXml className="size-3.5 shrink-0 text-cyan-ink" />
<span className="shrink-0 text-[12.5px] font-semibold text-foreground">{name}</span>
{dir && <span className="min-w-0 flex-1 truncate text-[11px] text-muted">{dir}</span>}
<span className="ml-auto shrink-0 rounded-full bg-surface-3 px-1.5 font-mono text-[10px] text-muted">{file.match_count}</span>
@@ -437,8 +437,8 @@ const MatchRow: React.FC<{ match: SearchMatch; previewer: ((line: string, start:
{pre}
{replaced != null ? (
<>
- <span className="rounded-sm bg-destructive/20 text-destructive line-through">{hit}</span>
- {replaced && <span className="rounded-sm bg-mint/20 text-mint">{replaced}</span>}
+ <span className="rounded-sm bg-destructive/20 text-destructive-ink line-through">{hit}</span>
+ {replaced && <span className="rounded-sm bg-mint/20 text-mint-ink">{replaced}</span>}
</>
) : (
<span className="rounded-sm bg-gold/25 font-semibold text-foreground">{hit}</span>
diff --git a/ui/src/components/workbench/FileEditorPane.tsx b/ui/src/components/workbench/FileEditorPane.tsx
index 89d076dec..1fe02e4f3 100644
--- a/ui/src/components/workbench/FileEditorPane.tsx
+++ b/ui/src/components/workbench/FileEditorPane.tsx
@@ -431,7 +431,7 @@ export const FileEditorPane: React.FC<{
)}
{error && (
- <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive">
+ <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive-ink">
{error}
</div>
)}
@@ -441,9 +441,9 @@ export const FileEditorPane: React.FC<{
single-file page; wraps to two rows on narrow widths. Hidden while the Compare overlay is
open, which carries its own copy of the actions. */}
{conflict && !comparing && (
- <div className="flex flex-wrap items-center gap-x-3 gap-y-1.5 border-b border-warning/40 bg-warning/[0.08] px-3 py-2">
+ <div className="flex flex-wrap items-center gap-x-3 gap-y-1.5 border-b border-gold/40 bg-gold/[0.08] px-3 py-2">
<div className="flex min-w-0 flex-1 items-center gap-1.5 text-[11.5px] text-foreground">
- <AlertTriangle className="size-3.5 shrink-0 text-warning" />
+ <AlertTriangle className="size-3.5 shrink-0 text-gold-ink" />
<span className="min-w-0">{t('apps.editor.conflict.message')}</span>
</div>
{conflictActions('bar')}
diff --git a/ui/src/components/workbench/FilePicker.tsx b/ui/src/components/workbench/FilePicker.tsx
index 9087ab647..fb374a6a2 100644
--- a/ui/src/components/workbench/FilePicker.tsx
+++ b/ui/src/components/workbench/FilePicker.tsx
@@ -216,7 +216,7 @@ export const FilePicker: React.FC<{
</Button>
</div>
- {error && <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive">{error}</div>}
+ {error && <div className="border-b border-destructive/40 bg-destructive/[0.06] px-3 py-1.5 text-[11.5px] text-destructive-ink">{error}</div>}
<div className="flex min-h-0 flex-1 overflow-hidden">
{/* Rail: favorites + projects */}
@@ -274,7 +274,7 @@ export const FilePicker: React.FC<{
isDir ? 'text-foreground hover:bg-foreground/[0.06]' : 'cursor-default text-muted/60',
)}
>
- {isDir ? <Folder className="size-4 shrink-0 text-cyan" /> : <FileIcon className="size-4 shrink-0 text-muted" />}
+ {isDir ? <Folder className="size-4 shrink-0 text-cyan-ink" /> : <FileIcon className="size-4 shrink-0 text-muted" />}
<span className="truncate">{e.name}</span>
</button>
);
diff --git a/ui/src/components/workbench/FileTree.tsx b/ui/src/components/workbench/FileTree.tsx
index fc404ddce..e79afa542 100644
--- a/ui/src/components/workbench/FileTree.tsx
+++ b/ui/src/components/workbench/FileTree.tsx
@@ -225,7 +225,7 @@ const Dir: React.FC<{ path: string; name: string; depth: number }> = ({ path, na
type="button"
onClick={load}
style={{ paddingLeft: 8 + (depth + 1) * 14 }}
- className="flex w-full items-center gap-1 truncate py-1 pr-2 text-left text-[11.5px] text-destructive transition hover:bg-destructive/[0.06]"
+ className="flex w-full items-center gap-1 truncate py-1 pr-2 text-left text-[11.5px] text-destructive-ink transition hover:bg-destructive/[0.06]"
title={`${error} — ${t('common.retry')}`}
>
<span className="truncate">{error}</span>
@@ -375,7 +375,7 @@ export const FileTree: React.FC<{
root folder. */}
<div onContextMenu={(e) => openMenu(e, rootPath, null)}>
{error && (
- <div className="mx-1 mb-1 flex items-start gap-1 rounded border border-destructive/40 bg-destructive/[0.06] px-2 py-1 text-[11px] text-destructive">
+ <div className="mx-1 mb-1 flex items-start gap-1 rounded border border-destructive/40 bg-destructive/[0.06] px-2 py-1 text-[11px] text-destructive-ink">
<span className="min-w-0 flex-1">{error}</span>
<button type="button" onClick={() => setError(null)} className="shrink-0 font-bold">
×
@@ -389,7 +389,7 @@ export const FileTree: React.FC<{
<ContextMenu x={menu.x} y={menu.y} onClose={closeMenu} itemCount={menuItemCount}>
{menu.entry && menu.entry.kind === 'file' && (
<ContextMenuItem
- icon={<FileText className="size-3.5 text-cyan" />}
+ icon={<FileText className="size-3.5 text-cyan-ink" />}
label={t('apps.fileBrowser.open')}
onClick={() => {
const e = menu.entry as FsEntry;
@@ -401,7 +401,7 @@ export const FileTree: React.FC<{
{(!menu.entry || menu.entry.kind === 'dir') && (
<>
<ContextMenuItem
- icon={<FilePlus className="size-3.5 text-mint" />}
+ icon={<FilePlus className="size-3.5 text-mint-ink" />}
label={t('apps.fileBrowser.newFile')}
onClick={() => {
startEdit({ dir: menu.entry ? joinPath(menu.dir, menu.entry.name) : menu.dir, mode: 'new-file' });
@@ -409,7 +409,7 @@ export const FileTree: React.FC<{
}}
/>
<ContextMenuItem
- icon={<FolderPlus className="size-3.5 text-gold" />}
+ icon={<FolderPlus className="size-3.5 text-gold-ink" />}
label={t('apps.fileBrowser.newFolder')}
onClick={() => {
startEdit({ dir: menu.entry ? joinPath(menu.dir, menu.entry.name) : menu.dir, mode: 'new-folder' });
diff --git a/ui/src/components/workbench/GlobalPromptsDialog.tsx b/ui/src/components/workbench/GlobalPromptsDialog.tsx
index 926f4c352..ea711c250 100644
--- a/ui/src/components/workbench/GlobalPromptsDialog.tsx
+++ b/ui/src/components/workbench/GlobalPromptsDialog.tsx
@@ -193,7 +193,7 @@ export const GlobalPromptsDialog: React.FC<{ open: boolean; onClose: () => void
<div className="flex flex-col gap-0.5 border-b border-border bg-surface-2 px-5 py-2">
<span className="font-mono text-[11px] text-foreground">{activeMeta.path}</span>
{activeMeta.readError ? (
- <span className="text-[11px] leading-relaxed text-gold">{t('globalPrompts.readError')}</span>
+ <span className="text-[11px] leading-relaxed text-gold-ink">{t('globalPrompts.readError')}</span>
) : (
<span className="text-[11px] leading-relaxed text-muted">
{t('globalPrompts.tipEffect', { backend: BACKEND_LABEL[active] })}
diff --git a/ui/src/components/workbench/HarnessPage.test.tsx b/ui/src/components/workbench/HarnessPage.test.tsx
index 62337971b..6f50a46a9 100644
--- a/ui/src/components/workbench/HarnessPage.test.tsx
+++ b/ui/src/components/workbench/HarnessPage.test.tsx
@@ -411,7 +411,7 @@ describe('HealthBadge', () => {
// Muted, not pink or amber: a fault in the reporting path is not a verdict
// that the definition itself is failing.
expect(html).toContain('text-muted');
- expect(html).not.toContain('text-pink');
+ expect(html).not.toContain('text-pink-ink');
expect(html).not.toContain('text-amber');
});
@@ -436,7 +436,7 @@ describe('HealthBadge', () => {
const html = render(<HealthBadge row={watch({ health: 'failing', consecutive_failures: 4, recent_failures: 4 })} />);
expect(html).toContain(`>${i18n.t('harness.health.failing')} 4<`);
- expect(html).toContain('text-pink');
+ expect(html).toContain('text-pink-ink');
});
it('never exposes raw stderr through the default badge tooltip', () => {
@@ -485,7 +485,7 @@ describe('ProcessingHealthBadge', () => {
expect(render(<HealthBadge row={row} />)).toBe('');
const html = render(<ProcessingHealthBadge row={row} />);
expect(html).toContain(`>${i18n.t('harness.processingHealth.failing')} 2<`);
- expect(html).toContain('text-pink');
+ expect(html).toContain('text-pink-ink');
});
it('stays quiet when event processing is healthy', () => {
@@ -783,7 +783,7 @@ describe('TaskDetail command task', () => {
'<span class="font-mono text-[11px] text-muted">0</span>',
);
expect(detail(task({ shell_command: 'make test', last_exit_code: 1 }))).toContain(
- '<span class="font-mono text-[11px] text-pink">1</span>',
+ '<span class="font-mono text-[11px] text-pink-ink">1</span>',
);
});
@@ -912,7 +912,7 @@ describe('WatchDetail runtime', () => {
[
'enabled and stopped',
watch({ enabled: true, process_alive: false }),
- { runtime: true, line: '<span class="text-[12px] text-pink">process exited</span>', pid: null },
+ { runtime: true, line: '<span class="text-[12px] text-pink-ink">process exited</span>', pid: null },
],
[
'disabled and alive',
@@ -1055,7 +1055,7 @@ describe('WatchDetail runtime', () => {
);
expect(html).toContain(en.harness.failure.generic);
- expect(html).toContain('<span class="font-mono text-[11px] text-pink">1</span>');
+ expect(html).toContain('<span class="font-mono text-[11px] text-pink-ink">1</span>');
expect(html).toContain(raw);
expect(html).toMatch(/<details(?![^>]*\bopen\b)[^>]*>/);
});
diff --git a/ui/src/components/workbench/HarnessPage.tsx b/ui/src/components/workbench/HarnessPage.tsx
index be127bb80..d069081a4 100644
--- a/ui/src/components/workbench/HarnessPage.tsx
+++ b/ui/src/components/workbench/HarnessPage.tsx
@@ -606,7 +606,7 @@ export const HarnessPage: React.FC = () => {
<CapabilityTabs />
{/* Header */}
<div className="flex items-center gap-4">
- <div className="flex size-12 shrink-0 items-center justify-center rounded-2xl border border-violet/30 bg-violet/[0.08] text-violet shadow-[0_0_24px_-6px_rgba(124,91,255,0.5)]">
+ <div className="flex size-12 shrink-0 items-center justify-center rounded-2xl border border-violet/30 bg-violet/[0.08] text-violet-ink shadow-[0_0_24px_-6px_rgba(124,91,255,0.5)]">
<Activity className="size-5" />
</div>
<div className="flex flex-1 flex-col">
@@ -660,7 +660,7 @@ export const HarnessPage: React.FC = () => {
}}
className={clsx(
'flex shrink-0 items-center gap-2 whitespace-nowrap px-4 py-3 text-[13px] transition',
- active ? 'border-b-2 border-violet font-bold text-violet' : 'font-medium text-muted hover:text-foreground',
+ active ? 'border-b-2 border-violet font-bold text-violet-ink' : 'font-medium text-muted hover:text-foreground',
)}
>
<HarnessTabIcon tab={key} active={active} />
@@ -669,7 +669,7 @@ export const HarnessPage: React.FC = () => {
className={clsx(
'rounded-full border px-1.5 py-0 font-mono text-[9px] font-bold',
active
- ? 'border-violet/30 bg-violet/[0.10] text-violet'
+ ? 'border-violet/30 bg-violet/[0.10] text-violet-ink'
: 'border-border-strong bg-foreground/[0.04] text-muted',
)}
>
@@ -705,7 +705,7 @@ export const HarnessPage: React.FC = () => {
className={clsx(
'rounded px-2.5 py-1 text-[11px] font-medium transition',
activeStatus === opt
- ? 'bg-violet/[0.12] text-violet'
+ ? 'bg-violet/[0.12] text-violet-ink'
: 'text-muted hover:text-foreground',
)}
>
@@ -713,7 +713,7 @@ export const HarnessPage: React.FC = () => {
<span
className={clsx(
'ml-1 tabular-nums',
- activeStatus === opt ? 'text-violet/70' : 'text-muted/70',
+ activeStatus === opt ? 'text-violet-ink/70' : 'text-muted/70',
)}
>
{statusCount(opt)}
@@ -744,7 +744,7 @@ export const HarnessPage: React.FC = () => {
</select>
)}
{sessionFilter && (
- <span className="inline-flex items-center gap-1.5 rounded-full border border-cyan/30 bg-cyan/[0.10] py-1 pl-2.5 pr-1.5 text-[11px] font-medium text-cyan">
+ <span className="inline-flex items-center gap-1.5 rounded-full border border-cyan/30 bg-cyan/[0.10] py-1 pl-2.5 pr-1.5 text-[11px] font-medium text-cyan-ink">
<Filter className="size-3 shrink-0" />
<span className="max-w-[180px] truncate">
{t('harness.sessionFilter.chip', { id: sessionFilter })}
@@ -754,7 +754,7 @@ export const HarnessPage: React.FC = () => {
onClick={clearSessionFilter}
aria-label={t('harness.sessionFilter.clear')}
title={t('harness.sessionFilter.clear')}
- className="rounded-full p-0.5 text-cyan/80 transition-colors hover:bg-cyan/20 hover:text-cyan"
+ className="rounded-full p-0.5 text-cyan-ink/80 transition-colors hover:bg-cyan/20 hover:text-cyan-ink"
>
<X className="size-3" />
</button>
@@ -768,7 +768,7 @@ export const HarnessPage: React.FC = () => {
</div>
{error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
@@ -887,7 +887,7 @@ interface TabIconProps {
}
const HarnessTabIcon: React.FC<TabIconProps> = ({ tab, active }) => {
- const cls = clsx('size-3.5', active ? 'text-violet' : 'text-muted');
+ const cls = clsx('size-3.5', active ? 'text-violet-ink' : 'text-muted');
if (tab === 'tasks') return <Calendar className={cls} />;
if (tab === 'watches') return <Eye className={cls} />;
return <History className={cls} />;
@@ -1002,12 +1002,12 @@ function stateDotClass(state: HarnessLifecycleState | null): string {
}
const ALERT_CLASS: Record<HarnessRowAlert, string> = {
- error: 'text-pink',
+ error: 'text-pink-ink',
timeout: 'text-amber',
// A waiter that is supposed to be waiting but whose process is gone. It is
// not an error the store recorded — it is the absence of one, which is
// exactly why nothing used to show it.
- dead: 'text-pink',
+ dead: 'text-pink-ink',
// Recovered but not clean: the newest verdict succeeded while a failure is
// still in the window. Amber rather than pink — it is a "look at this", not a
// "this is broken right now".
@@ -1046,7 +1046,7 @@ export const HealthBadge: React.FC<{ row: HarnessTask | HarnessWatch }> = ({ row
variant="secondary"
className={clsx(
'shrink-0 font-mono text-[9px] uppercase',
- health === 'failing' ? 'text-pink' : health === 'degraded' ? 'text-amber' : 'text-muted',
+ health === 'failing' ? 'text-pink-ink' : health === 'degraded' ? 'text-amber' : 'text-muted',
)}
title={failureSummaryKey ? t(failureSummaryKey) : undefined}
>
@@ -1076,7 +1076,7 @@ export const ProcessingHealthBadge: React.FC<{ row: HarnessWatch }> = ({ row })
variant="secondary"
className={clsx(
'shrink-0 font-mono text-[9px] uppercase',
- health === 'failing' ? 'text-pink' : health === 'degraded' ? 'text-amber' : 'text-muted',
+ health === 'failing' ? 'text-pink-ink' : health === 'degraded' ? 'text-amber' : 'text-muted',
)}
>
{t(`harness.processingHealth.${health}`)}
@@ -1211,7 +1211,7 @@ const RowActions: React.FC<RowActionsProps> = ({ enabled, pending, onToggle, onD
'flex size-7 items-center justify-center rounded-md border transition',
enabled
? 'border-border-strong text-muted hover:bg-foreground/[0.06] hover:text-foreground'
- : 'border-mint/40 bg-mint/[0.08] text-mint hover:brightness-110',
+ : 'border-mint/40 bg-mint/[0.08] text-mint-ink hover:brightness-110',
pending && 'cursor-wait opacity-60',
)}
>
@@ -1234,7 +1234,7 @@ const RowActions: React.FC<RowActionsProps> = ({ enabled, pending, onToggle, onD
title={t('harness.row.delete')}
className={clsx(
'flex size-7 items-center justify-center rounded-md border border-border-strong text-muted transition',
- 'hover:border-pink/40 hover:bg-pink/[0.08] hover:text-pink',
+ 'hover:border-pink/40 hover:bg-pink/[0.08] hover:text-pink-ink',
pending && 'cursor-wait opacity-60',
)}
>
@@ -1335,7 +1335,7 @@ export const TaskDetail: React.FC<TaskDetailProps> = ({ task, agent, onToggleEna
return (
<div className="flex min-w-0 flex-col gap-4">
<div className="flex min-w-0 items-center gap-2">
- <Calendar className="size-4 shrink-0 text-violet" />
+ <Calendar className="size-4 shrink-0 text-violet-ink" />
<div className="min-w-0 flex-1 truncate text-[15px] font-bold text-foreground" title={title}>
{title}
</div>
@@ -1464,7 +1464,7 @@ export const TaskDetail: React.FC<TaskDetailProps> = ({ task, agent, onToggleEna
<span
className={clsx(
'font-mono text-[11px]',
- definitionExitCodeTone(task) === 'failure' ? 'text-pink' : 'text-muted',
+ definitionExitCodeTone(task) === 'failure' ? 'text-pink-ink' : 'text-muted',
)}
>
{task.last_exit_code}
@@ -1559,7 +1559,7 @@ export const WatchDetail: React.FC<WatchDetailProps> = ({ watch, agent, onToggle
return (
<div className="flex min-w-0 flex-col gap-4">
<div className="flex min-w-0 items-center gap-2">
- <Eye className="size-4 shrink-0 text-violet" />
+ <Eye className="size-4 shrink-0 text-violet-ink" />
<div className="min-w-0 flex-1 truncate text-[15px] font-bold text-foreground" title={title}>
{title}
</div>
@@ -1614,7 +1614,7 @@ export const WatchDetail: React.FC<WatchDetailProps> = ({ watch, agent, onToggle
{showRuntime && (
<DetailField label={t('harness.detail.runtime')}>
<span
- className={clsx('text-[12px]', watch.process_alive ? 'text-foreground' : 'text-pink')}
+ className={clsx('text-[12px]', watch.process_alive ? 'text-foreground' : 'text-pink-ink')}
>
{t(watch.process_alive ? 'harness.row.processAlive' : 'harness.row.processDead')}
</span>
@@ -1632,7 +1632,7 @@ export const WatchDetail: React.FC<WatchDetailProps> = ({ watch, agent, onToggle
<span
className={clsx(
'font-mono text-[11px]',
- definitionExitCodeTone(watch) === 'failure' ? 'text-pink' : 'text-muted',
+ definitionExitCodeTone(watch) === 'failure' ? 'text-pink-ink' : 'text-muted',
)}
>
{watch.last_exit_code}
@@ -1770,7 +1770,7 @@ export const RunTriggerChip: React.FC<{ run: HarnessRun }> = ({ run }) => {
<Link
to={`/harness?tab=${run.definition_kind === 'watch' ? 'watches' : 'tasks'}&definition=${encodeURIComponent(run.definition_id!)}`}
onClick={(e) => e.stopPropagation()}
- className="pointer-events-auto inline-flex min-w-0 items-center gap-1 text-violet hover:underline"
+ className="pointer-events-auto inline-flex min-w-0 items-center gap-1 text-violet-ink hover:underline"
>
{body}
</Link>
@@ -1888,7 +1888,7 @@ export const RunDetail: React.FC<RunDetailProps> = ({ run, agent }) => {
<DetailField label={t('harness.detail.parentRun')}>
<Link
to={`/harness?tab=runs&run=${encodeURIComponent(run.parent_run_id)}`}
- className="inline-flex items-center gap-1 font-mono text-[11px] text-violet hover:underline"
+ className="inline-flex items-center gap-1 font-mono text-[11px] text-violet-ink hover:underline"
>
{run.parent_run_id}
<ArrowUpRight className="size-3" />
@@ -1911,7 +1911,7 @@ export const RunDetail: React.FC<RunDetailProps> = ({ run, agent }) => {
)}
</div>
{run.callback_error && (
- <div className="mt-1 rounded-md border border-destructive/40 bg-destructive/[0.06] px-2 py-1 text-[11px] text-destructive">
+ <div className="mt-1 rounded-md border border-destructive/40 bg-destructive/[0.06] px-2 py-1 text-[11px] text-destructive-ink">
{run.callback_error}
</div>
)}
@@ -1943,7 +1943,7 @@ export const RunDetail: React.FC<RunDetailProps> = ({ run, agent }) => {
)}
{run.error && (
<DetailField label={t('harness.detail.error')}>
- <pre className="max-h-32 overflow-auto whitespace-pre-wrap rounded-md border border-destructive/40 bg-destructive/[0.06] p-2 font-mono text-[11px] text-destructive">
+ <pre className="max-h-32 overflow-auto whitespace-pre-wrap rounded-md border border-destructive/40 bg-destructive/[0.06] p-2 font-mono text-[11px] text-destructive-ink">
{run.error}
</pre>
</DetailField>
@@ -1980,19 +1980,19 @@ export const RunDetail: React.FC<RunDetailProps> = ({ run, agent }) => {
// ---------------------------------------------------------------------------
const STATUS_PILL_CLASS: Record<HarnessRunStatus, string> = {
- queued: 'border-cyan/30 bg-cyan/[0.08] text-cyan',
- running: 'border-violet/30 bg-violet/[0.08] text-violet',
- succeeded: 'border-mint/30 bg-mint/[0.08] text-mint',
- failed: 'border-pink/30 bg-pink/[0.08] text-pink',
+ queued: 'border-cyan/30 bg-cyan/[0.08] text-cyan-ink',
+ running: 'border-violet/30 bg-violet/[0.08] text-violet-ink',
+ succeeded: 'border-mint/30 bg-mint/[0.08] text-mint-ink',
+ failed: 'border-pink/30 bg-pink/[0.08] text-pink-ink',
canceled: 'border-border-strong bg-foreground/[0.04] text-muted',
};
const RunStatusIcon: React.FC<{ status: HarnessRunStatus }> = ({ status }) => {
const cls = 'size-4 shrink-0';
- if (status === 'succeeded') return <CheckCircle2 className={clsx(cls, 'text-mint')} />;
- if (status === 'failed') return <XCircle className={clsx(cls, 'text-pink')} />;
- if (status === 'running') return <Loader2 className={clsx(cls, 'animate-spin text-violet')} />;
- if (status === 'queued') return <Clock className={clsx(cls, 'text-cyan')} />;
+ if (status === 'succeeded') return <CheckCircle2 className={clsx(cls, 'text-mint-ink')} />;
+ if (status === 'failed') return <XCircle className={clsx(cls, 'text-pink-ink')} />;
+ if (status === 'running') return <Loader2 className={clsx(cls, 'animate-spin text-violet-ink')} />;
+ if (status === 'queued') return <Clock className={clsx(cls, 'text-cyan-ink')} />;
if (status === 'canceled') return <AlertTriangle className={clsx(cls, 'text-muted')} />;
return <Activity className={clsx(cls, 'text-muted')} />;
};
@@ -2048,7 +2048,7 @@ const DetailAgent: React.FC<{ agentName: string | null; agent?: VibeAgentBrief }
: '';
return (
<div className="flex min-w-0 items-center gap-2">
- <Bot className="size-3.5 shrink-0 text-violet" />
+ <Bot className="size-3.5 shrink-0 text-violet-ink" />
<span className="shrink-0 text-[12px] font-medium text-foreground">{agent?.display_name || agentName}</span>
{meta && <span className="min-w-0 flex-1 truncate font-mono text-[10px] text-muted">{meta}</span>}
{!agent?.archived && (
@@ -2056,7 +2056,7 @@ const DetailAgent: React.FC<{ agentName: string | null; agent?: VibeAgentBrief }
// This opens the agent's definition, so it asks for the Definitions tab
// explicitly rather than resuming whichever tab was left on.
to="/agents?tab=definitions"
- className="ml-auto inline-flex shrink-0 items-center gap-0.5 text-[11px] font-medium text-violet hover:underline"
+ className="ml-auto inline-flex shrink-0 items-center gap-0.5 text-[11px] font-medium text-violet-ink hover:underline"
>
{t('harness.detail.openInAgents')}
<ArrowUpRight className="size-3" />
@@ -2099,7 +2099,7 @@ export const DetailSession: React.FC<{ summary: HarnessSessionSummary; sessionId
const body =
state === 'workbench' ? (
<>
- <MessageSquare className="size-3.5 shrink-0 text-cyan" />
+ <MessageSquare className="size-3.5 shrink-0 text-cyan-ink" />
<span className="min-w-0 flex-1 truncate text-[12px] font-medium text-foreground">
{summary.session_title || sessionId || '—'}
</span>
@@ -2123,7 +2123,7 @@ export const DetailSession: React.FC<{ summary: HarnessSessionSummary; sessionId
return (
<Link to={`/chat/${sessionId}`} className="flex min-w-0 items-center gap-2 hover:underline">
{body}
- <ArrowUpRight className="size-3.5 shrink-0 text-cyan" />
+ <ArrowUpRight className="size-3.5 shrink-0 text-cyan-ink" />
</Link>
);
};
@@ -2176,7 +2176,7 @@ const FailureDetails: React.FC<{
<div
className={clsx(
'flex min-w-0 flex-wrap items-center gap-2 text-[12px]',
- circuitPaused ? 'text-amber' : 'text-pink',
+ circuitPaused ? 'text-amber' : 'text-pink-ink',
)}
>
<span>{t(summaryKey)}</span>
diff --git a/ui/src/components/workbench/InboxPage.tsx b/ui/src/components/workbench/InboxPage.tsx
index 817e8240d..59cbae2e3 100644
--- a/ui/src/components/workbench/InboxPage.tsx
+++ b/ui/src/components/workbench/InboxPage.tsx
@@ -120,11 +120,11 @@ export const InboxPage: React.FC = () => {
<div className="mx-auto flex w-full max-w-4xl flex-col gap-6 py-2">
{/* Header */}
<div className="flex flex-wrap items-center gap-4">
- <div className="flex size-12 shrink-0 items-center justify-center rounded-2xl border border-mint/30 bg-mint/[0.08] text-mint shadow-[0_0_24px_-6px_rgba(91,255,160,0.5)]">
+ <div className="flex size-12 shrink-0 items-center justify-center rounded-2xl border border-mint/30 bg-mint/[0.08] text-mint-ink shadow-[0_0_24px_-6px_rgba(91,255,160,0.5)]">
<Inbox className="size-5" />
</div>
<div className="flex flex-1 flex-col">
- <div className="font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-mint">
+ <div className="font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-mint-ink">
{t('workbench.inbox.eyebrow')}
</div>
<h1 className="text-2xl font-bold text-foreground">{t('workbench.inbox.title')}</h1>
@@ -181,7 +181,7 @@ export const InboxPage: React.FC = () => {
className={clsx(
'flex flex-1 items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-[12px] font-semibold transition sm:flex-none',
filter === key
- ? 'bg-mint/[0.10] text-mint shadow-[0_0_12px_-4px_rgba(91,255,160,0.5)]'
+ ? 'bg-mint/[0.10] text-mint-ink shadow-[0_0_12px_-4px_rgba(91,255,160,0.5)]'
: 'text-muted hover:text-foreground',
)}
>
@@ -201,7 +201,7 @@ export const InboxPage: React.FC = () => {
'flex shrink-0 items-center gap-1.5 rounded-md border px-3 py-1.5 text-[12px] font-semibold transition',
totalUnread === 0
? 'cursor-not-allowed border-border bg-foreground/[0.02] text-muted'
- : 'border-mint/30 bg-mint/[0.06] text-mint hover:bg-mint/[0.12]',
+ : 'border-mint/30 bg-mint/[0.06] text-mint-ink hover:bg-mint/[0.12]',
)}
>
<CheckCheck className="size-3.5" />
@@ -214,7 +214,7 @@ export const InboxPage: React.FC = () => {
{/* Empty state */}
{showEmpty ? (
<div className="flex flex-col items-center gap-3 rounded-2xl border border-dashed border-border bg-surface px-6 py-16 text-center">
- <CheckCheck className="size-8 text-mint" />
+ <CheckCheck className="size-8 text-mint-ink" />
<div className="text-[15px] font-semibold text-foreground">
{filter === 'unread' ? t('workbench.inbox.allClearTitle') : t('workbench.inbox.emptyTitle')}
</div>
@@ -246,7 +246,7 @@ export const InboxPage: React.FC = () => {
)}
>
<div className="flex items-center gap-2 text-[11px]">
- <span className="inline-flex max-w-[40%] items-center gap-1 truncate rounded-md border border-border-strong bg-surface-2 px-2 py-0.5 font-semibold text-cyan">
+ <span className="inline-flex max-w-[40%] items-center gap-1 truncate rounded-md border border-border-strong bg-surface-2 px-2 py-0.5 font-semibold text-cyan-ink">
{projectLabel}
</span>
<span className="text-muted">·</span>
@@ -254,7 +254,7 @@ export const InboxPage: React.FC = () => {
{sessionLabel}
</span>
{s.replied && (
- <span className="inline-flex items-center gap-1 rounded-md border border-cyan/30 bg-cyan/[0.08] px-1.5 py-0.5 text-[10px] font-semibold text-cyan">
+ <span className="inline-flex items-center gap-1 rounded-md border border-cyan/30 bg-cyan/[0.08] px-1.5 py-0.5 text-[10px] font-semibold text-cyan-ink">
<MessageSquareReply className="size-2.5" />
{t('workbench.inbox.replied')}
</span>
@@ -263,7 +263,7 @@ export const InboxPage: React.FC = () => {
</div>
<div className="flex flex-col gap-1">
- <div className="text-[10px] font-bold uppercase tracking-wider text-mint">
+ <div className="text-[10px] font-bold uppercase tracking-wider text-mint-ink">
{t('workbench.inbox.agent')}
</div>
{s.preview_text ? (
@@ -284,7 +284,7 @@ export const InboxPage: React.FC = () => {
<button
type="button"
onClick={() => openSession(s)}
- className="inline-flex items-center gap-1.5 rounded-md border border-mint/30 bg-mint/[0.06] px-3 py-1.5 text-[11px] font-semibold text-mint transition hover:bg-mint/[0.12]"
+ className="inline-flex items-center gap-1.5 rounded-md border border-mint/30 bg-mint/[0.06] px-3 py-1.5 text-[11px] font-semibold text-mint-ink transition hover:bg-mint/[0.12]"
>
{unread > 0 && (
<span className="inline-flex min-w-[1.1rem] items-center justify-center rounded-full bg-mint px-1.5 font-mono text-[9px] font-bold text-primary-foreground">
diff --git a/ui/src/components/workbench/MentionEditor.tsx b/ui/src/components/workbench/MentionEditor.tsx
index 6fb716e83..5c6ab52f9 100644
--- a/ui/src/components/workbench/MentionEditor.tsx
+++ b/ui/src/components/workbench/MentionEditor.tsx
@@ -126,9 +126,9 @@ export interface MentionEditorProps {
// Chip styling for the mention nodes inside the editor — Tailwind utilities that
// mirror Badge's success (agent) / info (session) variants.
const MENTION_THEME = {
- '@': 'rounded-full border border-mint/40 bg-mint-soft px-1.5 py-px font-medium text-mint',
+ '@': 'rounded-full border border-mint/40 bg-mint-soft px-1.5 py-px font-medium text-mint-ink',
'@Focused': 'ring-1 ring-mint/60',
- '#': 'rounded-full border border-cyan/40 bg-cyan-soft px-1.5 py-px font-medium text-cyan',
+ '#': 'rounded-full border border-cyan/40 bg-cyan-soft px-1.5 py-px font-medium text-cyan-ink',
'#Focused': 'ring-1 ring-cyan/60',
};
@@ -748,7 +748,7 @@ const MentionMenuItem = forwardRef<HTMLLIElement, BeautifulMentionsMenuItemProps
ref={ref}
className={cn(
'flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none',
- selected ? 'bg-accent/10 text-accent' : 'text-text',
+ selected ? 'bg-accent/10 text-accent-ink' : 'text-text',
)}
{...props}
>
diff --git a/ui/src/components/workbench/MorePage.tsx b/ui/src/components/workbench/MorePage.tsx
index 1543f4520..0138bf963 100644
--- a/ui/src/components/workbench/MorePage.tsx
+++ b/ui/src/components/workbench/MorePage.tsx
@@ -43,7 +43,7 @@ export const MoreAccountSection: React.FC = () => {
return (
<div className="overflow-hidden rounded-xl border border-border bg-surface">
<div className="flex items-center gap-3 px-4 py-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-full border border-cyan/35 bg-cyan/[0.08] text-[13px] font-semibold text-cyan">
+ <span className="grid size-9 shrink-0 place-items-center rounded-full border border-cyan/35 bg-cyan/[0.08] text-[13px] font-semibold text-cyan-ink">
{(email.split('@')[0]?.[0] ?? '?').toUpperCase()}
</span>
<div className="min-w-0 flex-1">
@@ -55,7 +55,7 @@ export const MoreAccountSection: React.FC = () => {
type="button"
onClick={signOut}
disabled={signingOut}
- className="flex w-full items-center gap-2 border-t border-border px-4 py-3 text-left text-sm font-medium text-destructive transition hover:bg-destructive/[0.06] disabled:opacity-60"
+ className="flex w-full items-center gap-2 border-t border-border px-4 py-3 text-left text-sm font-medium text-destructive-ink transition hover:bg-destructive/[0.06] disabled:opacity-60"
>
<LogOut className="size-4" />
{signingOut ? t('appShell.signingOut') : t('appShell.signOut')}
diff --git a/ui/src/components/workbench/NewAgentDialog.tsx b/ui/src/components/workbench/NewAgentDialog.tsx
index bbe485cce..5ef7a6dd5 100644
--- a/ui/src/components/workbench/NewAgentDialog.tsx
+++ b/ui/src/components/workbench/NewAgentDialog.tsx
@@ -146,9 +146,9 @@ export const NewAgentDialog: React.FC<NewAgentDialogProps> = ({ open, onClose, o
};
const colorClasses: Record<BackendOption['color'], { border: string; bg: string; text: string }> = {
- mint: { border: 'border-mint', bg: 'bg-mint/[0.08]', text: 'text-mint' },
- cyan: { border: 'border-cyan', bg: 'bg-cyan/[0.08]', text: 'text-cyan' },
- violet: { border: 'border-violet', bg: 'bg-violet/[0.08]', text: 'text-violet' },
+ mint: { border: 'border-mint', bg: 'bg-mint/[0.08]', text: 'text-mint-ink' },
+ cyan: { border: 'border-cyan', bg: 'bg-cyan/[0.08]', text: 'text-cyan-ink' },
+ violet: { border: 'border-violet', bg: 'bg-violet/[0.08]', text: 'text-violet-ink' },
};
return (
@@ -277,7 +277,7 @@ export const NewAgentDialog: React.FC<NewAgentDialogProps> = ({ open, onClose, o
onClick={() => setEffort(opt)}
className={clsx(
'truncate rounded px-0.5 text-[11px] capitalize transition',
- effort === opt ? 'bg-mint-soft font-bold text-mint' : 'font-medium text-muted hover:text-foreground',
+ effort === opt ? 'bg-mint-soft font-bold text-mint-ink' : 'font-medium text-muted hover:text-foreground',
)}
>
{opt}
@@ -321,7 +321,7 @@ export const NewAgentDialog: React.FC<NewAgentDialogProps> = ({ open, onClose, o
</div>
{error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
diff --git a/ui/src/components/workbench/NewProjectDialog.tsx b/ui/src/components/workbench/NewProjectDialog.tsx
index f8a8adaa7..2c9010514 100644
--- a/ui/src/components/workbench/NewProjectDialog.tsx
+++ b/ui/src/components/workbench/NewProjectDialog.tsx
@@ -70,7 +70,7 @@ export const NewProjectDialog: React.FC<NewProjectDialogProps> = ({ onClose, onC
onClick={(e) => e.stopPropagation()}
>
<div className="flex items-start gap-3">
- <div className="flex size-9 items-center justify-center rounded-lg border border-mint/30 bg-mint/[0.08] text-mint">
+ <div className="flex size-9 items-center justify-center rounded-lg border border-mint/30 bg-mint/[0.08] text-mint-ink">
<Folder className="size-4" />
</div>
<div className="flex flex-1 flex-col gap-0.5">
@@ -98,7 +98,7 @@ export const NewProjectDialog: React.FC<NewProjectDialogProps> = ({ onClose, onC
onClick={() => setPhase('pick')}
className="flex items-center gap-2 rounded-md border border-border-strong bg-surface-2 px-3 py-2 text-left text-[12px] font-mono text-foreground transition hover:bg-foreground/[0.04]"
>
- <FolderOpen className="size-3.5 shrink-0 text-gold" />
+ <FolderOpen className="size-3.5 shrink-0 text-gold-ink" />
<span className="flex-1 truncate">{folderPath || '—'}</span>
<span className="shrink-0 text-[10px] text-muted">{t('workbench.newProjectDialog.pickFolder')}</span>
</button>
@@ -127,7 +127,7 @@ export const NewProjectDialog: React.FC<NewProjectDialogProps> = ({ onClose, onC
</div>
{error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
diff --git a/ui/src/components/workbench/NewSessionSheet.tsx b/ui/src/components/workbench/NewSessionSheet.tsx
index 710fbf806..10ce41663 100644
--- a/ui/src/components/workbench/NewSessionSheet.tsx
+++ b/ui/src/components/workbench/NewSessionSheet.tsx
@@ -109,7 +109,7 @@ export const NewSessionSheet: React.FC<NewSessionSheetProps> = ({ open, onClose,
</div>
{ns.error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{ns.error}
</div>
)}
diff --git a/ui/src/components/workbench/ProjectAgentsMdDialog.tsx b/ui/src/components/workbench/ProjectAgentsMdDialog.tsx
index 14f5ccda6..167eea6ec 100644
--- a/ui/src/components/workbench/ProjectAgentsMdDialog.tsx
+++ b/ui/src/components/workbench/ProjectAgentsMdDialog.tsx
@@ -99,7 +99,7 @@ export const ProjectAgentsMdDialog: React.FC<{
<span className="text-[12px] leading-relaxed text-foreground">
{t('agentsMd.symlinkToggle')}
{symlink && data.claude_is_regular_file && (
- <span className="mt-0.5 block text-[11px] text-gold">
+ <span className="mt-0.5 block text-[11px] text-gold-ink">
{t('agentsMd.symlinkMigrateWarning')}
</span>
)}
diff --git a/ui/src/components/workbench/ProjectPicker.tsx b/ui/src/components/workbench/ProjectPicker.tsx
index 4efa468b1..8ce784d59 100644
--- a/ui/src/components/workbench/ProjectPicker.tsx
+++ b/ui/src/components/workbench/ProjectPicker.tsx
@@ -46,7 +46,7 @@ export const ProjectPicker: React.FC<ProjectPickerProps> = ({ projects, targetId
disabled={disabled}
className={clsx(
'h-auto shrink-0 gap-1.5 rounded-full px-3 py-1.5 text-[12.5px] font-medium',
- active ? 'border-mint/40 bg-mint-soft text-mint hover:bg-mint-soft hover:text-mint' : 'text-foreground',
+ active ? 'border-mint/40 bg-mint-soft text-mint-ink hover:bg-mint-soft hover:text-mint-ink' : 'text-foreground',
)}
>
{active ? <FolderOpen className="size-3.5" /> : <Folder className="size-3.5" />}
diff --git a/ui/src/components/workbench/ProjectsPage.tsx b/ui/src/components/workbench/ProjectsPage.tsx
index 0993219c2..46dcc2bca 100644
--- a/ui/src/components/workbench/ProjectsPage.tsx
+++ b/ui/src/components/workbench/ProjectsPage.tsx
@@ -60,7 +60,7 @@ const MenuItem: React.FC<{ icon: LucideIcon; onClick: () => void; danger?: boole
onClick={onClick}
className={clsx(
'h-auto w-full justify-start gap-2 rounded px-2 py-2 text-left text-[13px] font-normal',
- danger ? 'text-pink hover:bg-pink/[0.08] hover:text-pink' : 'text-foreground hover:bg-foreground/[0.04]',
+ danger ? 'text-pink-ink hover:bg-pink/[0.08] hover:text-pink-ink' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
<Icon className={clsx('size-3.5 shrink-0', danger ? '' : 'text-muted')} />
@@ -152,7 +152,7 @@ const MobileProjectRow: React.FC<{
onClick={onToggle}
className="flex min-w-0 flex-1 items-center gap-2.5 px-4 py-3.5 text-left"
>
- {open ? <FolderOpen className="size-4 shrink-0 text-cyan" /> : <Folder className="size-4 shrink-0 text-muted" />}
+ {open ? <FolderOpen className="size-4 shrink-0 text-cyan-ink" /> : <Folder className="size-4 shrink-0 text-muted" />}
<span className="min-w-0 flex-1 truncate text-sm font-semibold">{project.display_name}</span>
{state.sessions !== null && !state.error && (
<Badge variant="secondary" className="font-mono text-[10px]">
@@ -422,7 +422,7 @@ export const ProjectsPage: React.FC = () => {
size="icon"
onClick={() => setShowNewProject(true)}
aria-label={t('projects.newProject')}
- className="border-mint/35 bg-mint/[0.08] text-mint hover:bg-mint/[0.14]"
+ className="border-mint/35 bg-mint/[0.08] text-mint-ink hover:bg-mint/[0.14]"
>
<FolderPlus className="size-4" />
</Button>}
@@ -501,7 +501,7 @@ export const ProjectsPage: React.FC = () => {
type="button"
onClick={() => revealMoreSessions(project.id, state, visibleSessionCount, allSessionRows.length)}
disabled={state.loadingMore}
- className="flex items-center justify-center gap-2 rounded-lg px-3 py-2.5 text-[12px] font-medium text-cyan transition hover:bg-cyan/[0.06] disabled:opacity-50"
+ className="flex items-center justify-center gap-2 rounded-lg px-3 py-2.5 text-[12px] font-medium text-cyan-ink transition hover:bg-cyan/[0.06] disabled:opacity-50"
>
{state.loadingMore ? <Loader2 className="size-3.5 animate-spin" /> : <ChevronDown className="size-3.5" />}
{t('projects.loadMore')}
diff --git a/ui/src/components/workbench/QuickReplies.tsx b/ui/src/components/workbench/QuickReplies.tsx
index f31aa9068..68d1ced54 100644
--- a/ui/src/components/workbench/QuickReplies.tsx
+++ b/ui/src/components/workbench/QuickReplies.tsx
@@ -61,7 +61,7 @@ export const QuickReplies: React.FC<{
// goes mint; the others ride the base ``disabled:opacity-50`` to grey.
className={clsx(
'h-auto gap-1.5 whitespace-normal rounded-lg px-3 py-1.5 text-[13px] font-normal',
- isChosen && 'border-mint/55 bg-mint/15 text-mint hover:bg-mint/15 disabled:opacity-100',
+ isChosen && 'border-mint/55 bg-mint/15 text-mint-ink hover:bg-mint/15 disabled:opacity-100',
)}
>
{isChosen && <Check className="size-3.5" />}
diff --git a/ui/src/components/workbench/RoleAvatar.tsx b/ui/src/components/workbench/RoleAvatar.tsx
index f2d9f13ad..c0a7ae1ce 100644
--- a/ui/src/components/workbench/RoleAvatar.tsx
+++ b/ui/src/components/workbench/RoleAvatar.tsx
@@ -8,9 +8,9 @@ import clsx from 'clsx';
// Lives in its own module rather than inside ChatPage so a row component can
// reuse it without importing the whole page back.
const TONE_AVATAR: Record<'mint' | 'cyan' | 'gold' | 'muted', string> = {
- mint: 'border-mint/30 bg-mint/[0.13] text-mint',
- cyan: 'border-cyan/30 bg-cyan/[0.13] text-cyan',
- gold: 'border-gold/30 bg-gold/[0.13] text-gold',
+ mint: 'border-mint/30 bg-mint/[0.13] text-mint-ink',
+ cyan: 'border-cyan/30 bg-cyan/[0.13] text-cyan-ink',
+ gold: 'border-gold/30 bg-gold/[0.13] text-gold-ink',
muted: 'border-border-strong bg-foreground/[0.06] text-muted',
};
diff --git a/ui/src/components/workbench/RunAgentDialog.tsx b/ui/src/components/workbench/RunAgentDialog.tsx
index c0dce1171..3c988b9e3 100644
--- a/ui/src/components/workbench/RunAgentDialog.tsx
+++ b/ui/src/components/workbench/RunAgentDialog.tsx
@@ -88,7 +88,7 @@ export const RunAgentDialog: React.FC<RunAgentDialogProps> = ({ agent, onClose }
onClick={(e) => e.stopPropagation()}
>
<div className="flex items-start gap-3">
- <div className="flex size-9 items-center justify-center rounded-lg border border-mint/30 bg-mint-soft text-mint">
+ <div className="flex size-9 items-center justify-center rounded-lg border border-mint/30 bg-mint-soft text-mint-ink">
<Play className="size-4" />
</div>
<div className="flex flex-1 flex-col gap-0.5">
@@ -136,7 +136,7 @@ export const RunAgentDialog: React.FC<RunAgentDialogProps> = ({ agent, onClose }
</div>
{error && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">
{error}
</div>
)}
diff --git a/ui/src/components/workbench/SearchPage.tsx b/ui/src/components/workbench/SearchPage.tsx
index 1c19e7925..ae7558140 100644
--- a/ui/src/components/workbench/SearchPage.tsx
+++ b/ui/src/components/workbench/SearchPage.tsx
@@ -122,7 +122,7 @@ export const SearchPage: React.FC = () => {
<ChevronLeft className="size-5" />
</Button>
<div className="flex min-w-0 flex-1 items-center gap-2.5 rounded-xl border border-border-strong bg-foreground/[0.04] px-3 py-2.5">
- <Search className="size-4 shrink-0 text-mint" />
+ <Search className="size-4 shrink-0 text-mint-ink" />
<Input
ref={inputRef}
variant="bare"
@@ -174,7 +174,7 @@ export const SearchPage: React.FC = () => {
)}
{showError && (
<div className="px-2.5 py-12">
- <div className="mx-auto flex max-w-sm items-center gap-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[13px] text-destructive">
+ <div className="mx-auto flex max-w-sm items-center gap-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[13px] text-destructive-ink">
<AlertCircle className="size-4 shrink-0" />
<span>{t('workbench.search.error')}</span>
</div>
diff --git a/ui/src/components/workbench/SelectionQuoteToolbar.tsx b/ui/src/components/workbench/SelectionQuoteToolbar.tsx
index 7448d9d15..1f1d783b0 100644
--- a/ui/src/components/workbench/SelectionQuoteToolbar.tsx
+++ b/ui/src/components/workbench/SelectionQuoteToolbar.tsx
@@ -190,7 +190,7 @@ export const SelectionQuoteToolbar: React.FC<{
<>
{(onQuote || onAskInNew) && <span className="h-5 w-px bg-border" />}
<Button variant="ghost" className={itemClass} {...activate(runCopy)}>
- {copied ? <Check className="size-3.5 text-mint" /> : <Copy className="size-3.5 text-muted" />}
+ {copied ? <Check className="size-3.5 text-mint-ink" /> : <Copy className="size-3.5 text-muted" />}
{t('chat.selection.copy')}
</Button>
</>
diff --git a/ui/src/components/workbench/SessionPinAction.tsx b/ui/src/components/workbench/SessionPinAction.tsx
index f9e9e272d..185ac36c8 100644
--- a/ui/src/components/workbench/SessionPinAction.tsx
+++ b/ui/src/components/workbench/SessionPinAction.tsx
@@ -45,7 +45,7 @@ export const SessionPinAction: React.FC<SessionPinActionProps> = ({
pending
? 'cursor-wait text-muted opacity-100 hover:translate-y-0 hover:scale-100'
: pinned
- ? 'text-cyan opacity-100 hover:bg-cyan/[0.18] hover:ring-1 hover:ring-cyan/30'
+ ? 'text-cyan-ink opacity-100 hover:bg-cyan/[0.18] hover:ring-1 hover:ring-cyan/30'
: 'text-muted opacity-0 hover:bg-foreground/[0.08] hover:text-foreground group-hover/sess:opacity-100 group-focus-within/sess:opacity-100 pointer-coarse:opacity-100',
)}
>
diff --git a/ui/src/components/workbench/SessionPinIndicator.test.tsx b/ui/src/components/workbench/SessionPinIndicator.test.tsx
index 3608f1823..bf0ef24aa 100644
--- a/ui/src/components/workbench/SessionPinIndicator.test.tsx
+++ b/ui/src/components/workbench/SessionPinIndicator.test.tsx
@@ -13,7 +13,7 @@ describe('SessionPinIndicator', () => {
expect(html).toContain('role="img"');
expect(html).toContain('aria-label="Pinned"');
- expect(html).toContain('text-cyan');
+ expect(html).toContain('text-cyan-ink');
expect(html).not.toContain('<button');
});
});
diff --git a/ui/src/components/workbench/SessionPinIndicator.tsx b/ui/src/components/workbench/SessionPinIndicator.tsx
index abf9f34f1..2ee06a956 100644
--- a/ui/src/components/workbench/SessionPinIndicator.tsx
+++ b/ui/src/components/workbench/SessionPinIndicator.tsx
@@ -17,7 +17,7 @@ export const SessionPinIndicator: React.FC<SessionPinIndicatorProps> = ({ pinned
role="img"
aria-label={label}
title={label}
- className={clsx('flex shrink-0 text-cyan', className)}
+ className={clsx('flex shrink-0 text-cyan-ink', className)}
>
<Pin className="size-3" aria-hidden="true" />
</span>
diff --git a/ui/src/components/workbench/ShowPageAnnotateControl.tsx b/ui/src/components/workbench/ShowPageAnnotateControl.tsx
index f9e5d6ad8..fa13a6292 100644
--- a/ui/src/components/workbench/ShowPageAnnotateControl.tsx
+++ b/ui/src/components/workbench/ShowPageAnnotateControl.tsx
@@ -176,7 +176,7 @@ export const ShowPageAnnotateControl: React.FC<ShowPageAnnotateControlProps> = (
className={clsx(
'flex h-6 items-center gap-1 rounded-[5px] px-2 text-[12px] transition-colors',
active
- ? 'bg-mint-soft font-bold text-mint'
+ ? 'bg-mint-soft font-bold text-mint-ink'
: 'font-medium text-muted hover:text-foreground',
)}
>
@@ -246,7 +246,7 @@ export const ShowPageAnnotateControl: React.FC<ShowPageAnnotateControlProps> = (
<span
className={clsx(
'grid size-8 shrink-0 place-items-center rounded-md',
- active ? 'bg-mint-soft text-mint' : 'bg-foreground/[0.04] text-muted',
+ active ? 'bg-mint-soft text-mint-ink' : 'bg-foreground/[0.04] text-muted',
)}
>
<Icon className="size-4" />
@@ -255,14 +255,14 @@ export const ShowPageAnnotateControl: React.FC<ShowPageAnnotateControlProps> = (
<span
className={clsx(
'block text-[13px]',
- active ? 'font-bold text-mint' : 'font-medium text-foreground',
+ active ? 'font-bold text-mint-ink' : 'font-medium text-foreground',
)}
>
{t(labelKey)}
</span>
<span className="block text-[11px] text-muted">{t(descKey)}</span>
</span>
- {active && <Check className="size-4 shrink-0 text-mint" />}
+ {active && <Check className="size-4 shrink-0 text-mint-ink" />}
</button>
);
})}
diff --git a/ui/src/components/workbench/ShowPageEmailAccessEditor.tsx b/ui/src/components/workbench/ShowPageEmailAccessEditor.tsx
index 5559d5ff8..71234eea6 100644
--- a/ui/src/components/workbench/ShowPageEmailAccessEditor.tsx
+++ b/ui/src/components/workbench/ShowPageEmailAccessEditor.tsx
@@ -152,7 +152,7 @@ export function ShowPageEmailAccessEditor({
{gate === 'error' ? (
<div className="flex items-center justify-between gap-2">
- <span className="text-[11px] leading-snug text-destructive">
+ <span className="text-[11px] leading-snug text-destructive-ink">
{t('chat.showPage.emailAccessError')}
</span>
<Button
@@ -192,7 +192,7 @@ export function ShowPageEmailAccessEditor({
className={clsx('h-8 text-xs', draftInvalid && 'border-destructive')}
/>
{draftInvalid ? (
- <p className="mt-1 text-[11px] text-destructive">
+ <p className="mt-1 text-[11px] text-destructive-ink">
{t('chat.showPage.emailInvalid')}
</p>
) : null}
diff --git a/ui/src/components/workbench/ShowPageLaunchControl.tsx b/ui/src/components/workbench/ShowPageLaunchControl.tsx
index 14d7d5ef4..337b72432 100644
--- a/ui/src/components/workbench/ShowPageLaunchControl.tsx
+++ b/ui/src/components/workbench/ShowPageLaunchControl.tsx
@@ -298,7 +298,7 @@ export const ShowPageLaunchControl: React.FC<ShowPageLaunchControlProps> = ({
onClick={() => void openWindow()}
className="flex w-full items-center gap-2 whitespace-nowrap rounded-md px-2 py-1.5 text-left text-[12.5px] text-foreground transition-colors hover:bg-cyan-soft"
>
- <AppWindow className="size-3.5 shrink-0 text-cyan" />
+ <AppWindow className="size-3.5 shrink-0 text-cyan-ink" />
<span>{t('chat.showPage.newWindow')}</span>
</button>
{linkHref && (
@@ -308,7 +308,7 @@ export const ShowPageLaunchControl: React.FC<ShowPageLaunchControlProps> = ({
onClick={() => void openLink()}
className="flex w-full items-center gap-2 whitespace-nowrap rounded-md px-2 py-1.5 text-left text-[12.5px] text-foreground transition-colors hover:bg-cyan-soft"
>
- <ExternalLink className="size-3.5 shrink-0 text-mint" />
+ <ExternalLink className="size-3.5 shrink-0 text-mint-ink" />
<span>{t('chat.showPage.newLink')}</span>
</button>
)}
diff --git a/ui/src/components/workbench/ShowPageShareControl.tsx b/ui/src/components/workbench/ShowPageShareControl.tsx
index 3e20aa08f..8a7c9cc65 100644
--- a/ui/src/components/workbench/ShowPageShareControl.tsx
+++ b/ui/src/components/workbench/ShowPageShareControl.tsx
@@ -373,7 +373,7 @@ export const ShowPageShareControl: React.FC<{
onConfirmationOpenChange={setWorkspaceConfirmationOpen}
/>
{accessError ? (
- <p className="mt-2 text-[11px] leading-snug text-destructive">
+ <p className="mt-2 text-[11px] leading-snug text-destructive-ink">
{t('chat.showPage.accessLoadError')}
</p>
) : null}
@@ -466,7 +466,7 @@ export const ShowPageShareControl: React.FC<{
{showAddToHome && !offline ? (
<div className="rounded-md border border-border bg-foreground/[0.02] px-2.5 py-2">
<div className="flex items-center gap-1.5 text-xs font-medium text-foreground">
- <Plus className="size-3.5 shrink-0 text-cyan" />
+ <Plus className="size-3.5 shrink-0 text-cyan-ink" />
{t('chat.showPage.addToHomeTitle')}
</div>
{iosStandalone ? (
@@ -502,7 +502,7 @@ export const ShowPageShareControl: React.FC<{
{payload && shareCapabilities.canManageDock && (
<div className="border-t border-border pt-3">
<div className="flex items-center gap-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-lg border border-border bg-foreground/[0.03] text-cyan">
+ <span className="grid size-9 shrink-0 place-items-center rounded-lg border border-border bg-foreground/[0.03] text-cyan-ink">
<LayoutGrid className="size-4" />
</span>
<div className="min-w-0 flex-1">
@@ -528,7 +528,7 @@ export const ShowPageShareControl: React.FC<{
</div>
{dock.isDocked(showDockId(sessionId)) && (
<div className="mt-2 flex items-center gap-1.5 rounded-md border border-mint/30 bg-mint/[0.08] px-2.5 py-1.5 text-xs text-foreground">
- <Check className="size-3.5 shrink-0 text-mint" />
+ <Check className="size-3.5 shrink-0 text-mint-ink" />
<span className="truncate">
{t('chat.showPage.pinnedConfirm', {
title: (payload.title ?? '').trim() || t('chat.showPage.title'),
diff --git a/ui/src/components/workbench/ShowPageShareIdField.tsx b/ui/src/components/workbench/ShowPageShareIdField.tsx
index e78f12252..45685e036 100644
--- a/ui/src/components/workbench/ShowPageShareIdField.tsx
+++ b/ui/src/components/workbench/ShowPageShareIdField.tsx
@@ -125,7 +125,7 @@ export const ShowPageShareIdField: React.FC<{
)}
</Button>
</div>
- <p className={clsx('text-[11px] leading-snug', isError ? 'text-destructive' : 'text-muted')}>{message}</p>
+ <p className={clsx('text-[11px] leading-snug', isError ? 'text-destructive-ink' : 'text-muted')}>{message}</p>
</div>
);
};
diff --git a/ui/src/components/workbench/ShowPageWorkspaceAccessControl.tsx b/ui/src/components/workbench/ShowPageWorkspaceAccessControl.tsx
index 0df21bfa8..bb2cf3bd5 100644
--- a/ui/src/components/workbench/ShowPageWorkspaceAccessControl.tsx
+++ b/ui/src/components/workbench/ShowPageWorkspaceAccessControl.tsx
@@ -90,7 +90,7 @@ export function ShowPageOrganizationAuthorizationPrompt({
<div className="flex items-center justify-between gap-2 border-t border-border pt-2">
<span className={clsx(
'flex min-w-0 items-start gap-1.5 text-[11px] leading-snug',
- subjectMismatch ? 'text-destructive' : 'text-muted',
+ subjectMismatch ? 'text-destructive-ink' : 'text-muted',
)}>
{subjectMismatch ? <TriangleAlert className="mt-0.5 size-3.5 shrink-0" /> : null}
<span>
@@ -355,7 +355,7 @@ export function ShowPageWorkspaceAccessControl({
})}
</div>
{!patch ? (
- <p className="mt-1.5 text-[11px] text-gold">{t('chat.showPage.groupRequired')}</p>
+ <p className="mt-1.5 text-[11px] text-gold-ink">{t('chat.showPage.groupRequired')}</p>
) : null}
</fieldset>
) : null}
@@ -385,7 +385,7 @@ export function ShowPageWorkspaceAccessControl({
{access?.mode === 'organization' && canManage && ['conflict', 'unreachable', 'error'].includes(gate) ? (
<div className="flex items-center justify-between gap-2 border-t border-border pt-2">
- <span className="text-[11px] leading-snug text-destructive">
+ <span className="text-[11px] leading-snug text-destructive-ink">
{t(`chat.showPage.workspaceErrors.${gate}`)}
</span>
<Button type="button" size="icon" variant="ghost" className="size-7 shrink-0" onClick={() => void loadManagement()} aria-label={t('common.retry')} title={t('common.retry')}>
@@ -404,7 +404,7 @@ export function ShowPageWorkspaceAccessControl({
<div
className={clsx(
'flex items-center gap-1.5 text-[11px] leading-snug',
- syncPresentation.tone === 'error' ? 'text-destructive' : 'text-gold',
+ syncPresentation.tone === 'error' ? 'text-destructive-ink' : 'text-gold-ink',
)}
>
{syncPresentation.tone === 'error' ? (
diff --git a/ui/src/components/workbench/SkillsPage.tsx b/ui/src/components/workbench/SkillsPage.tsx
index 8bd35991e..2c4f18378 100644
--- a/ui/src/components/workbench/SkillsPage.tsx
+++ b/ui/src/components/workbench/SkillsPage.tsx
@@ -289,7 +289,7 @@ export const SkillsPage: React.FC = () => {
{projectCanManage ? (
<>
<Button type="button" variant="outline" size="xs" onClick={() => setShowBrowse(true)}>
- <Compass className="size-3.5 text-cyan" />
+ <Compass className="size-3.5 text-cyan-ink" />
{t('skills.browseRegistry')}
</Button>
<Button type="button" variant="brand" size="xs" onClick={() => setShowAdd(true)}>
@@ -315,7 +315,7 @@ export const SkillsPage: React.FC = () => {
) : null}
{error ? (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">{error}</div>
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">{error}</div>
) : null}
{notInstalled ? (
@@ -367,7 +367,7 @@ export const SkillsPage: React.FC = () => {
) : null}
<div className="flex flex-col gap-2">
{sectionLabel(
- <WandSparkles className="size-3.5 text-mint" />,
+ <WandSparkles className="size-3.5 text-mint-ink" />,
t('skills.projectSectionLocal'),
t('skills.projectSectionLocalHint'),
)}
@@ -474,7 +474,7 @@ const BackendFilter: React.FC<BackendFilterProps> = ({ value, onChange }) => {
}}
className={clsx(
'flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-[12px] transition',
- value === key ? 'bg-mint-soft text-mint' : 'text-foreground hover:bg-foreground/[0.04]',
+ value === key ? 'bg-mint-soft text-mint-ink' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
<span className={clsx('size-2 rounded-full', dot(key))} />
diff --git a/ui/src/components/workbench/TerminalTabs.tsx b/ui/src/components/workbench/TerminalTabs.tsx
index 6bdb12d44..ef9f08583 100644
--- a/ui/src/components/workbench/TerminalTabs.tsx
+++ b/ui/src/components/workbench/TerminalTabs.tsx
@@ -221,7 +221,7 @@ export const TerminalTabs: React.FC<{
>
{editing && editing.key === tab.key ? (
<span className="flex items-center gap-1.5">
- <SquareTerminal className="size-3.5 shrink-0 text-mint" />
+ <SquareTerminal className="size-3.5 shrink-0 text-mint-ink" />
<input
autoFocus
value={editing.value}
@@ -242,7 +242,7 @@ export const TerminalTabs: React.FC<{
title={t('apps.terminal.renameHint')}
className="flex items-center gap-1.5"
>
- <SquareTerminal className="size-3.5 text-mint" />
+ <SquareTerminal className="size-3.5 text-mint-ink" />
{tab.title ?? t('apps.terminal.tabTitle', { n: i + 1 })}
</button>
)}
@@ -284,7 +284,7 @@ export const TerminalTabs: React.FC<{
<span
className={clsx(
'flex shrink-0 items-center gap-1.5 rounded-full border px-2 py-0.5 text-[10px] font-medium',
- persistentReady ? 'border-mint/30 bg-mint/[0.08] text-mint' : 'border-border bg-surface text-muted',
+ persistentReady ? 'border-mint/30 bg-mint/[0.08] text-mint-ink' : 'border-border bg-surface text-muted',
)}
>
<span className={clsx('size-1.5 rounded-full', dotClass)} />
diff --git a/ui/src/components/workbench/VaultsPage.tsx b/ui/src/components/workbench/VaultsPage.tsx
index e3db78127..0127510cc 100644
--- a/ui/src/components/workbench/VaultsPage.tsx
+++ b/ui/src/components/workbench/VaultsPage.tsx
@@ -57,7 +57,7 @@ const SecretRow: React.FC<{
<div className="flex items-center gap-3.5 rounded-xl border border-border bg-surface px-4 py-3">
<div
className={`flex size-9 shrink-0 items-center justify-center rounded-lg ${
- isKeypair ? 'bg-violet/10 text-violet' : 'bg-accent/10 text-accent'
+ isKeypair ? 'bg-violet/10 text-violet-ink' : 'bg-accent/10 text-accent-ink'
}`}
>
{isKeypair ? <Wallet className="size-4" /> : <KeyRound className="size-4" />}
@@ -71,7 +71,7 @@ const SecretRow: React.FC<{
<Badge variant="secondary">{t('vaults.standard')}</Badge>
)}
{isKeypair ? (
- <Badge variant="outline" className="border-violet/40 bg-violet-soft text-violet">
+ <Badge variant="outline" className="border-violet/40 bg-violet-soft text-violet-ink">
<Wallet className="size-3" />
{t('vaults.signing')}
</Badge>
@@ -83,7 +83,7 @@ const SecretRow: React.FC<{
</Badge>
) : null}
{skills.map((skill) => (
- <Badge key={`skill:${skill}`} variant="outline" className="gap-1 border-violet/40 bg-violet-soft text-violet">
+ <Badge key={`skill:${skill}`} variant="outline" className="gap-1 border-violet/40 bg-violet-soft text-violet-ink">
<Puzzle className="size-3" />
{skill}
</Badge>
@@ -159,7 +159,7 @@ const SecretRow: React.FC<{
setMenuOpen(false);
onDelete(s);
}}
- className="flex w-full items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-destructive transition-colors hover:bg-destructive/10"
+ className="flex w-full items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-destructive-ink transition-colors hover:bg-destructive/10"
>
<Trash2 className="size-4" />
{t('vaults.delete')}
@@ -250,7 +250,7 @@ const GrantChip: React.FC<{ grant: VaultGrant; now: number; onRevoke?: (grant: V
.join(' · ');
return (
<span
- className="inline-flex items-center gap-2 rounded-full border border-mint/40 bg-mint-soft py-1 pl-2.5 pr-1.5 text-xs text-mint"
+ className="inline-flex items-center gap-2 rounded-full border border-mint/40 bg-mint-soft py-1 pl-2.5 pr-1.5 text-xs text-mint-ink"
title={tip || undefined}
>
<Icon className="size-3.5 shrink-0" />
@@ -261,7 +261,7 @@ const GrantChip: React.FC<{ grant: VaultGrant; now: number; onRevoke?: (grant: V
>
{g.session_id ? <Link2 className="size-3 opacity-70" /> : <Globe className="size-3 opacity-70" />}
</span>
- <span className={cn('font-mono tabular-nums', rem.urgent ? 'text-warning' : 'text-mint/80')}>
+ <span className={cn('font-mono tabular-nums', rem.urgent ? 'text-gold-ink' : 'text-mint-ink/80')}>
{rem.expired ? t('vaults.grants.expired') : chipCountdown(rem)}
</span>
{onRevoke ? (
@@ -269,7 +269,7 @@ const GrantChip: React.FC<{ grant: VaultGrant; now: number; onRevoke?: (grant: V
type="button"
onClick={() => onRevoke(g)}
aria-label={t('vaults.grants.revoke')}
- className="flex size-4 items-center justify-center rounded-full text-mint/70 transition-colors hover:bg-mint/15 hover:text-mint"
+ className="flex size-4 items-center justify-center rounded-full text-mint-ink/70 transition-colors hover:bg-mint/15 hover:text-mint-ink"
>
<X className="size-3" />
</button>
@@ -292,7 +292,7 @@ const RequestRow: React.FC<{ request: VaultRequest; onReview: (request: VaultReq
const session = vaultRequestSessionDisplay(r);
return (
<div className="flex items-center gap-3.5 rounded-xl border border-gold/40 bg-gold/[0.06] px-4 py-3">
- <div className="flex size-9 shrink-0 items-center justify-center rounded-lg bg-gold/10 text-gold">
+ <div className="flex size-9 shrink-0 items-center justify-center rounded-lg bg-gold/10 text-gold-ink">
<Icon className="size-4" />
</div>
<div className="flex min-w-0 flex-col gap-1">
@@ -432,7 +432,7 @@ const PendingRequestsSection: React.FC<{
return (
<div className="flex flex-col gap-2">
<div className="flex items-center gap-2 px-1">
- <Inbox className="size-4 text-gold" />
+ <Inbox className="size-4 text-gold-ink" />
<span className="text-sm font-semibold">{t('vaults.requests.title')}</span>
<Badge variant="warning">{requests.length}</Badge>
<span className="hidden text-xs text-muted sm:inline">{t('vaults.requests.subtitle')}</span>
@@ -478,7 +478,7 @@ const FilterChip: React.FC<{ active: boolean; onClick: () => void; children: Rea
onClick={onClick}
className={cn(
'inline-flex items-center gap-1 rounded-full border px-2.5 py-1 text-xs transition-colors',
- active ? 'border-accent bg-accent/10 text-accent' : 'border-border bg-surface text-muted hover:bg-surface-2',
+ active ? 'border-accent bg-accent/10 text-accent-ink' : 'border-border bg-surface text-muted hover:bg-surface-2',
)}
>
{children}
@@ -783,13 +783,13 @@ export const VaultsPage: React.FC = () => {
}
/>
{error && (
- <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive">{error}</div>
+ <div className="rounded-xl border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive-ink">{error}</div>
)}
{canManage ? <PendingRequestsSection onResolved={refresh} focusRequestId={focusRequestId} onFocusRequestOpened={clearFocusedRequest} /> : null}
{canReadVaultState && grants.length > 0 && (
<div className="flex flex-col gap-2">
<div className="flex items-center gap-2 px-1">
- <ShieldCheck className="size-4 text-mint" />
+ <ShieldCheck className="size-4 text-mint-ink" />
<span className="text-sm font-semibold">{t('vaults.grants.title')}</span>
<Badge variant="secondary">{grants.length}</Badge>
<span className="hidden text-xs text-muted sm:inline">{t('vaults.grants.subtitle')}</span>
@@ -916,19 +916,19 @@ export const VaultsPage: React.FC = () => {
{deleteTarget?.kind === 'keypair' ? (
<div className="flex flex-col gap-2 rounded-[10px] border border-destructive/30 bg-destructive/5 px-3 py-2.5 text-[12.5px] leading-snug text-foreground">
<span className="flex items-start gap-2">
- <AlertTriangle className="mt-0.5 size-4 shrink-0 text-destructive" />
+ <AlertTriangle className="mt-0.5 size-4 shrink-0 text-destructive-ink" />
<span>{t('vaults.deleteDialog.keypairIrreversible')}</span>
</span>
<span className="flex items-start gap-2">
- <Wallet className="mt-0.5 size-4 shrink-0 text-destructive" />
+ <Wallet className="mt-0.5 size-4 shrink-0 text-destructive-ink" />
<span>{t('vaults.deleteDialog.keypairFunds')}</span>
</span>
</div>
) : null}
{deleteTarget?.protection === 'protected' ? (
- <div className="flex flex-col gap-2 rounded-[10px] border border-warning/30 bg-warning/5 px-3 py-2.5 text-[12.5px] leading-snug text-foreground">
+ <div className="flex flex-col gap-2 rounded-[10px] border border-gold/30 bg-gold/5 px-3 py-2.5 text-[12.5px] leading-snug text-foreground">
<span className="flex items-start gap-2">
- <ShieldCheck className="mt-0.5 size-4 shrink-0 text-warning" />
+ <ShieldCheck className="mt-0.5 size-4 shrink-0 text-gold-ink" />
<span>{t('vaults.deleteDialog.protectedUnlockNote')}</span>
</span>
</div>
diff --git a/ui/src/components/workbench/WorkbenchModulePlaceholder.tsx b/ui/src/components/workbench/WorkbenchModulePlaceholder.tsx
index 03e023b27..010fd506a 100644
--- a/ui/src/components/workbench/WorkbenchModulePlaceholder.tsx
+++ b/ui/src/components/workbench/WorkbenchModulePlaceholder.tsx
@@ -21,10 +21,10 @@ export const WorkbenchModulePlaceholder: React.FC<WorkbenchModulePlaceholderProp
return (
<div className="mx-auto flex max-w-2xl flex-col items-center gap-5 py-16 text-center">
- <div className="flex size-14 items-center justify-center rounded-2xl border border-mint/30 bg-mint/[0.08] text-mint shadow-[0_0_24px_-6px_rgba(91,255,160,0.5)]">
+ <div className="flex size-14 items-center justify-center rounded-2xl border border-mint/30 bg-mint/[0.08] text-mint-ink shadow-[0_0_24px_-6px_rgba(91,255,160,0.5)]">
{icon}
</div>
- <div className="font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-mint">
+ <div className="font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-mint-ink">
{t(`${i18nPrefix}.eyebrow`, { defaultValue: t('workbench.modules.comingSoonEyebrow') })}
</div>
<h1 className="text-2xl font-bold text-foreground">{t(`${i18nPrefix}.title`)}</h1>
diff --git a/ui/src/components/workbench/WorkbenchPageHeader.tsx b/ui/src/components/workbench/WorkbenchPageHeader.tsx
index b356f32ae..4453587c9 100644
--- a/ui/src/components/workbench/WorkbenchPageHeader.tsx
+++ b/ui/src/components/workbench/WorkbenchPageHeader.tsx
@@ -6,10 +6,10 @@ type Accent = 'mint' | 'cyan' | 'violet' | 'gold';
// Accent-driven icon-box surface. The mint variant is the canonical workbench
// page header (Agents, Skills); cyan/violet/gold are available for siblings.
const ACCENT_BOX: Record<Accent, string> = {
- mint: 'border-mint/40 bg-mint-soft text-mint shadow-[0_0_18px_-6px_rgba(91,255,160,0.5)]',
- cyan: 'border-cyan/40 bg-cyan-soft text-cyan shadow-[0_0_18px_-6px_rgba(63,224,229,0.5)]',
- violet: 'border-violet/40 bg-violet-soft text-violet shadow-[0_0_18px_-6px_rgba(124,91,255,0.5)]',
- gold: 'border-gold/40 bg-gold/[0.12] text-gold shadow-[0_0_18px_-6px_rgba(255,200,87,0.5)]',
+ mint: 'border-mint/40 bg-mint-soft text-mint-ink shadow-[0_0_18px_-6px_rgba(91,255,160,0.5)]',
+ cyan: 'border-cyan/40 bg-cyan-soft text-cyan-ink shadow-[0_0_18px_-6px_rgba(63,224,229,0.5)]',
+ violet: 'border-violet/40 bg-violet-soft text-violet-ink shadow-[0_0_18px_-6px_rgba(124,91,255,0.5)]',
+ gold: 'border-gold/40 bg-gold/[0.12] text-gold-ink shadow-[0_0_18px_-6px_rgba(255,200,87,0.5)]',
};
export interface WorkbenchPageHeaderProps {
diff --git a/ui/src/components/workbench/WorkbenchSidebar.tsx b/ui/src/components/workbench/WorkbenchSidebar.tsx
index 12c7ba487..1c30b6003 100644
--- a/ui/src/components/workbench/WorkbenchSidebar.tsx
+++ b/ui/src/components/workbench/WorkbenchSidebar.tsx
@@ -150,13 +150,13 @@ const InboxHoverPopover: React.FC<{
)}
>
<div className="flex items-center gap-1.5 text-[10px]">
- <span className="truncate font-semibold text-cyan">{projectLabel}</span>
+ <span className="truncate font-semibold text-cyan-ink">{projectLabel}</span>
<span className="text-muted">·</span>
<span className="flex-1 truncate font-semibold text-foreground">
{s.title?.trim() || s.session_id}
</span>
{s.replied && (
- <span className="shrink-0 font-semibold text-cyan" title={t('workbench.inbox.replied')}>
+ <span className="shrink-0 font-semibold text-cyan-ink" title={t('workbench.inbox.replied')}>
↩
</span>
)}
@@ -183,7 +183,7 @@ const InboxHoverPopover: React.FC<{
<button
type="button"
onClick={() => navigate('/inbox')}
- className="flex items-center justify-center gap-1.5 rounded-md pt-1 text-[11px] font-medium text-cyan hover:underline"
+ className="flex items-center justify-center gap-1.5 rounded-md pt-1 text-[11px] font-medium text-cyan-ink hover:underline"
>
{t('workbench.inbox.viewAll')}
<ArrowRight className="size-3" />
@@ -579,7 +579,7 @@ const ProjectRow: React.FC<{
);
if (ok) await onArchive();
}}
- className="flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-[12px] text-pink transition hover:bg-pink/[0.08]"
+ className="flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-[12px] text-pink-ink transition hover:bg-pink/[0.08]"
>
<Archive className="size-3" />
{t('workbench.projectArchive')}
@@ -783,7 +783,7 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp
>
{({ isActive }) => (
<>
- <Inbox className={clsx('size-4', isActive ? 'text-cyan' : 'text-foreground')} />
+ <Inbox className={clsx('size-4', isActive ? 'text-cyan-ink' : 'text-foreground')} />
<span className="flex-1">{t('workbench.nav.inbox')}</span>
{badge && (
<span className="inline-flex min-w-[1.25rem] items-center justify-center rounded-full bg-cyan px-1.5 py-0.5 font-mono text-[9px] font-bold text-accent-foreground shadow-[0_0_10px_-2px_rgba(63,224,229,0.7)]">
@@ -836,7 +836,7 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp
>
{({ isActive }) => (
<>
- <Icon className={clsx('size-4', isActive ? 'text-mint' : 'text-muted group-hover:text-foreground')} />
+ <Icon className={clsx('size-4', isActive ? 'text-mint-ink' : 'text-muted group-hover:text-foreground')} />
<span>{t(i18nKey)}</span>
</>
)}
@@ -890,7 +890,7 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp
</div>
)}
{projectsError && (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[11px] text-destructive">
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[11px] text-destructive-ink">
{t('workbench.projectsLoadError')}
</div>
)}
diff --git a/ui/src/components/workbench/search/SearchPalette.tsx b/ui/src/components/workbench/search/SearchPalette.tsx
index 17d7ca208..218c24811 100644
--- a/ui/src/components/workbench/search/SearchPalette.tsx
+++ b/ui/src/components/workbench/search/SearchPalette.tsx
@@ -164,7 +164,7 @@ export const SearchPalette: React.FC<SearchPaletteProps> = ({ open, onClose }) =
{/* Query row — mint search glyph + input + Esc pill. */}
<div className="flex shrink-0 items-center gap-3 border-b border-border px-[18px] py-4">
- <Search className="size-[18px] shrink-0 text-mint" />
+ <Search className="size-[18px] shrink-0 text-mint-ink" />
<Input
ref={inputRef}
variant="bare"
@@ -199,7 +199,7 @@ export const SearchPalette: React.FC<SearchPaletteProps> = ({ open, onClose }) =
)}
{showError && (
<div className="px-2.5 py-10">
- <div className="mx-auto flex max-w-sm items-center gap-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[13px] text-destructive">
+ <div className="mx-auto flex max-w-sm items-center gap-2 rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[13px] text-destructive-ink">
<AlertCircle className="size-4 shrink-0" />
<span>{t('workbench.search.error')}</span>
</div>
diff --git a/ui/src/components/workbench/search/SearchResultRow.tsx b/ui/src/components/workbench/search/SearchResultRow.tsx
index de93e67e7..5130869b3 100644
--- a/ui/src/components/workbench/search/SearchResultRow.tsx
+++ b/ui/src/components/workbench/search/SearchResultRow.tsx
@@ -35,9 +35,9 @@ export const SearchResultRow: React.FC<SearchResultRowProps> = ({ match, selecte
agent: t('workbench.search.roleAgent'),
}[role];
const roleClass = {
- you: 'bg-cyan-soft text-cyan',
- automated: 'bg-violet-soft text-violet',
- agent: 'bg-mint-soft text-mint',
+ you: 'bg-cyan-soft text-cyan-ink',
+ automated: 'bg-violet-soft text-violet-ink',
+ agent: 'bg-mint-soft text-mint-ink',
}[role];
return (
diff --git a/ui/src/components/workbench/search/Snippet.tsx b/ui/src/components/workbench/search/Snippet.tsx
index e00c3a0b8..fbc64a12e 100644
--- a/ui/src/components/workbench/search/Snippet.tsx
+++ b/ui/src/components/workbench/search/Snippet.tsx
@@ -7,7 +7,7 @@ type SnippetProps = {
// A single, truncated line of message text with the matched term highlighted.
// The server pre-splits the window into prefix / match / suffix, so this is
// purely presentational. The <mark> uses the design's gold highlight
-// (bg-gold-soft + text-gold, matching the `hl` frames in the Editor Search
+// (bg-gold-soft + text-gold-ink, matching the `hl` frames in the Editor Search
// design) with a small radius, no underline. When ``match`` is empty (leading
// context only) we render just the prefix.
export const Snippet: React.FC<SnippetProps> = ({ snippet }) => {
@@ -16,7 +16,7 @@ export const Snippet: React.FC<SnippetProps> = ({ snippet }) => {
<span className="block truncate text-[12.5px] leading-relaxed text-foreground">
{prefix}
{match && (
- <mark className="rounded-md bg-gold-soft px-1 font-medium text-gold no-underline">
+ <mark className="rounded-md bg-gold-soft px-1 font-medium text-gold-ink no-underline">
{match}
</mark>
)}
diff --git a/ui/src/components/workbench/sessionActions.test.tsx b/ui/src/components/workbench/sessionActions.test.tsx
index 8cf9913e8..6fa8b0c65 100644
--- a/ui/src/components/workbench/sessionActions.test.tsx
+++ b/ui/src/components/workbench/sessionActions.test.tsx
@@ -60,7 +60,7 @@ describe('SessionActionMenu', () => {
it('styles archive as destructive and shows its keyboard hint', () => {
const html = renderMenu(fullMenu());
- expect(html).toContain('text-pink');
+ expect(html).toContain('text-pink-ink');
expect(html).toContain('⇧⌘D');
expect(html).toContain('font-mono');
});
diff --git a/ui/src/components/workbench/sessionActions.tsx b/ui/src/components/workbench/sessionActions.tsx
index 5807c209c..03e8c6fa8 100644
--- a/ui/src/components/workbench/sessionActions.tsx
+++ b/ui/src/components/workbench/sessionActions.tsx
@@ -165,7 +165,7 @@ export const SessionActionMenu: React.FC<{
action.disabled
? 'cursor-not-allowed text-muted hover:bg-transparent'
: action.danger
- ? 'text-pink hover:bg-pink/[0.08]'
+ ? 'text-pink-ink hover:bg-pink/[0.08]'
: 'text-foreground hover:bg-foreground/[0.04]',
)}
>
diff --git a/ui/src/components/workbench/skills/AddSkillDialog.tsx b/ui/src/components/workbench/skills/AddSkillDialog.tsx
index 99c610eef..1ae738c21 100644
--- a/ui/src/components/workbench/skills/AddSkillDialog.tsx
+++ b/ui/src/components/workbench/skills/AddSkillDialog.tsx
@@ -179,7 +179,7 @@ export function AddSkillDialog({ defaultScope, projectId, projectName, onClose,
<div className="fixed inset-0 z-50 flex items-start justify-center overflow-y-auto bg-[#05050B]/[0.72] p-10 backdrop-blur-[6px]">
<div className="flex w-full max-w-[560px] flex-col overflow-hidden rounded-2xl border border-border-strong bg-surface-2 shadow-[0_24px_60px_-12px_rgba(0,0,0,0.7)]">
<div className="flex items-center gap-3 border-b border-border px-5 py-4">
- <span className="flex size-[34px] shrink-0 items-center justify-center rounded-[9px] border border-mint/40 bg-mint-soft text-mint">
+ <span className="flex size-[34px] shrink-0 items-center justify-center rounded-[9px] border border-mint/40 bg-mint-soft text-mint-ink">
<PackagePlus className="size-[17px]" />
</span>
<div className="flex flex-1 flex-col">
@@ -224,7 +224,7 @@ export function AddSkillDialog({ defaultScope, projectId, projectName, onClose,
type="button"
onClick={fetchGithub}
disabled={!url.trim() || busy === 'fetch'}
- className="flex shrink-0 items-center gap-1.5 rounded-md border border-cyan/40 bg-cyan-soft px-2.5 py-1.5 text-[11.5px] font-semibold text-cyan transition hover:brightness-110 disabled:opacity-50"
+ className="flex shrink-0 items-center gap-1.5 rounded-md border border-cyan/40 bg-cyan-soft px-2.5 py-1.5 text-[11.5px] font-semibold text-cyan-ink transition hover:brightness-110 disabled:opacity-50"
>
{busy === 'fetch' ? <Loader2 className="size-3 animate-spin" /> : <Search className="size-3" />}
{t('skills.addDialog.fetch')}
@@ -248,7 +248,7 @@ export function AddSkillDialog({ defaultScope, projectId, projectName, onClose,
{discovered ? (
<div className="flex flex-col gap-2">
<div className="flex items-center gap-1.5">
- <PackageCheck className="size-3.5 text-mint" />
+ <PackageCheck className="size-3.5 text-mint-ink" />
<span className="font-mono text-[10px] font-bold uppercase tracking-[0.1em] text-muted">
{t('skills.addDialog.found', { count: discovered.length })}
</span>
@@ -308,7 +308,7 @@ export function AddSkillDialog({ defaultScope, projectId, projectName, onClose,
</div>
{error ? (
- <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive">{error}</div>
+ <div className="rounded-md border border-destructive/40 bg-destructive/[0.06] px-3 py-2 text-[12px] text-destructive-ink">{error}</div>
) : null}
</div>
diff --git a/ui/src/components/workbench/skills/BrowseRegistryDialog.tsx b/ui/src/components/workbench/skills/BrowseRegistryDialog.tsx
index ac98afc95..02bfb83e1 100644
--- a/ui/src/components/workbench/skills/BrowseRegistryDialog.tsx
+++ b/ui/src/components/workbench/skills/BrowseRegistryDialog.tsx
@@ -76,7 +76,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
<div className="fixed inset-0 z-50 flex items-start justify-center overflow-y-auto bg-[#05050B]/[0.72] p-10 backdrop-blur-[6px]">
<div className="flex w-full max-w-[760px] flex-col overflow-hidden rounded-2xl border border-border-strong bg-surface-2 shadow-[0_24px_60px_-12px_rgba(0,0,0,0.7)]">
<div className="flex items-center gap-3 border-b border-border px-5 py-4">
- <span className="flex size-[34px] shrink-0 items-center justify-center rounded-[9px] border border-cyan/40 bg-cyan-soft text-cyan">
+ <span className="flex size-[34px] shrink-0 items-center justify-center rounded-[9px] border border-cyan/40 bg-cyan-soft text-cyan-ink">
<Compass className="size-[17px]" />
</span>
<div className="flex flex-1 flex-col">
@@ -110,7 +110,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
onClick={() => setTag(null)}
className={clsx(
'rounded-full border px-2.5 py-1 text-[11.5px] transition',
- tag === null ? 'border-mint/40 bg-mint-soft font-semibold text-mint' : 'border-border-strong text-muted hover:text-foreground',
+ tag === null ? 'border-mint/40 bg-mint-soft font-semibold text-mint-ink' : 'border-border-strong text-muted hover:text-foreground',
)}
>
{t('skills.browse.tagAll')}
@@ -122,7 +122,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
onClick={() => setTag(tg)}
className={clsx(
'rounded-full border px-2.5 py-1 text-[11.5px] transition',
- tag === tg ? 'border-mint/40 bg-mint-soft font-semibold text-mint' : 'border-border-strong text-muted hover:text-foreground',
+ tag === tg ? 'border-mint/40 bg-mint-soft font-semibold text-mint-ink' : 'border-border-strong text-muted hover:text-foreground',
)}
>
{tg}
@@ -161,7 +161,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
))}
{typeof item.stars === 'number' ? (
<span className="flex items-center gap-1">
- <Star className="size-3 text-gold" />
+ <Star className="size-3 text-gold-ink" />
{item.stars}
</span>
) : null}
@@ -169,7 +169,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
</div>
{installed ? (
<span className="flex shrink-0 items-center gap-1.5 rounded-lg border border-border-strong bg-surface-3 px-3 py-2 text-[12px] font-medium text-muted">
- <Check className="size-3.5 text-mint" />
+ <Check className="size-3.5 text-mint-ink" />
{t('skills.browse.installed')}
</span>
) : (
@@ -179,7 +179,7 @@ export function BrowseRegistryDialog({ scope, projectId, installedNames, onClose
// installs share one lock file and races drop entries.
disabled={installing !== null}
onClick={() => install(item)}
- className="flex shrink-0 items-center gap-1.5 rounded-lg border border-mint/40 bg-mint-soft px-3.5 py-2 text-[12px] font-semibold text-mint transition hover:brightness-110 disabled:opacity-60"
+ className="flex shrink-0 items-center gap-1.5 rounded-lg border border-mint/40 bg-mint-soft px-3.5 py-2 text-[12px] font-semibold text-mint-ink transition hover:brightness-110 disabled:opacity-60"
>
{isInstalling ? <Loader2 className="size-3.5 animate-spin" /> : <Plus className="size-3.5" />}
{t('skills.browse.add')}
diff --git a/ui/src/components/workbench/skills/FileDropzone.tsx b/ui/src/components/workbench/skills/FileDropzone.tsx
index 0833f9204..fb4a0d76d 100644
--- a/ui/src/components/workbench/skills/FileDropzone.tsx
+++ b/ui/src/components/workbench/skills/FileDropzone.tsx
@@ -48,7 +48,7 @@ export function FileDropzone({ file, onFile, accept = '.zip', hint, replaceLabel
<input ref={inputRef} type="file" accept={accept} className="hidden" onChange={(e) => onFile(e.target.files?.[0] ?? null)} />
{file ? (
<div className="flex items-center gap-2.5 rounded-lg border border-border-strong bg-surface px-3 py-2">
- <span className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-mint/40 bg-mint-soft text-mint">
+ <span className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-mint/40 bg-mint-soft text-mint-ink">
<FileArchive className="size-4" />
</span>
<div className="flex min-w-0 flex-1 flex-col">
diff --git a/ui/src/components/workbench/skills/ProjectPicker.tsx b/ui/src/components/workbench/skills/ProjectPicker.tsx
index 2759e695e..5dda9c744 100644
--- a/ui/src/components/workbench/skills/ProjectPicker.tsx
+++ b/ui/src/components/workbench/skills/ProjectPicker.tsx
@@ -24,7 +24,7 @@ export function ProjectPicker({ projects, value, onChange }: ProjectPickerProps)
type="button"
className="flex items-center gap-1.5 rounded-md border border-mint/40 bg-surface px-3 py-2 text-[12px] font-medium text-foreground transition hover:bg-foreground/[0.04]"
>
- <FolderGit2 className="size-3.5 text-cyan" />
+ <FolderGit2 className="size-3.5 text-cyan-ink" />
<span className="max-w-[160px] truncate">{active?.display_name ?? t('skills.scopeProject')}</span>
<ChevronDown className="size-3 text-muted" />
</button>
@@ -48,9 +48,9 @@ export function ProjectPicker({ projects, value, onChange }: ProjectPickerProps)
on ? 'bg-mint-soft text-foreground' : 'text-foreground hover:bg-foreground/[0.04]',
)}
>
- <Folder className={clsx('size-3.5 shrink-0', on ? 'text-mint' : 'text-muted')} />
+ <Folder className={clsx('size-3.5 shrink-0', on ? 'text-mint-ink' : 'text-muted')} />
<span className="flex-1 truncate">{project.display_name}</span>
- {on ? <Check className="size-3.5 shrink-0 text-mint" /> : null}
+ {on ? <Check className="size-3.5 shrink-0 text-mint-ink" /> : null}
</button>
);
})}
diff --git a/ui/src/components/workbench/skills/QualityMeter.tsx b/ui/src/components/workbench/skills/QualityMeter.tsx
index 813d37918..209fdcd94 100644
--- a/ui/src/components/workbench/skills/QualityMeter.tsx
+++ b/ui/src/components/workbench/skills/QualityMeter.tsx
@@ -5,9 +5,9 @@ import clsx from 'clsx';
// below — and display mirrors askill's own formatScore (integer as-is, else
// one decimal), so a 96 shows "AI 96", not "AI 96.0".
function scoreChip(score: number): string {
- if (score >= 90) return 'bg-mint-soft border-mint/40 text-mint';
- if (score >= 85) return 'bg-cyan-soft border-cyan/40 text-cyan';
- return 'bg-gold/[0.12] border-gold/40 text-gold';
+ if (score >= 90) return 'bg-mint-soft border-mint/40 text-mint-ink';
+ if (score >= 85) return 'bg-cyan-soft border-cyan/40 text-cyan-ink';
+ return 'bg-gold/[0.12] border-gold/40 text-gold-ink';
}
/** Compact "AI 9.5" pill used on registry result cards. */
diff --git a/ui/src/components/workbench/skills/SkillDetailPanel.tsx b/ui/src/components/workbench/skills/SkillDetailPanel.tsx
index 278ea9d78..65df5d0ed 100644
--- a/ui/src/components/workbench/skills/SkillDetailPanel.tsx
+++ b/ui/src/components/workbench/skills/SkillDetailPanel.tsx
@@ -53,14 +53,14 @@ export function SkillDetailPanel({
return (
<div className="flex flex-col gap-3.5 self-start rounded-2xl border border-border-strong bg-surface p-5">
<div className="flex items-start gap-3">
- <span className="flex size-10 shrink-0 items-center justify-center rounded-[10px] border border-mint/40 bg-mint-soft text-mint shadow-[0_0_18px_-6px_rgba(91,255,160,0.5)]">
+ <span className="flex size-10 shrink-0 items-center justify-center rounded-[10px] border border-mint/40 bg-mint-soft text-mint-ink shadow-[0_0_18px_-6px_rgba(91,255,160,0.5)]">
<WandSparkles className="size-5" />
</span>
<div className="flex min-w-0 flex-1 flex-col">
<div className="flex items-center gap-2">
<span className="truncate text-[16px] font-bold text-foreground">{skill.name}</span>
{updateAvailable ? (
- <span className="inline-flex shrink-0 items-center gap-1 rounded-full border border-gold/40 bg-gold/[0.12] px-1.5 font-mono text-[9px] font-bold uppercase text-gold">
+ <span className="inline-flex shrink-0 items-center gap-1 rounded-full border border-gold/40 bg-gold/[0.12] px-1.5 font-mono text-[9px] font-bold uppercase text-gold-ink">
<ArrowUp className="size-2.5" />
{t('skills.updateBadge')}
</span>
diff --git a/ui/src/components/workbench/skills/SkillRow.tsx b/ui/src/components/workbench/skills/SkillRow.tsx
index e84f2ebf7..9b6a93fe8 100644
--- a/ui/src/components/workbench/skills/SkillRow.tsx
+++ b/ui/src/components/workbench/skills/SkillRow.tsx
@@ -32,13 +32,13 @@ export function SkillRow({ skill, selected, inherited, updateAvailable, onSelect
)}
>
<span className="flex size-9 shrink-0 items-center justify-center rounded-[9px] border border-border bg-surface-3">
- <WandSparkles className={clsx('size-4', selected ? 'text-mint' : 'text-muted')} />
+ <WandSparkles className={clsx('size-4', selected ? 'text-mint-ink' : 'text-muted')} />
</span>
<span className="flex min-w-0 flex-1 flex-col gap-1">
<span className="flex items-center gap-2">
<span className="truncate text-[14px] font-semibold text-foreground">{skill.name}</span>
{updateAvailable ? (
- <span className="inline-flex shrink-0 items-center gap-1 rounded-full border border-gold/40 bg-gold/[0.12] px-1.5 font-mono text-[9px] font-bold uppercase text-gold">
+ <span className="inline-flex shrink-0 items-center gap-1 rounded-full border border-gold/40 bg-gold/[0.12] px-1.5 font-mono text-[9px] font-bold uppercase text-gold-ink">
<ArrowUp className="size-2.5" />
{t('skills.updateBadge')}
</span>
diff --git a/ui/src/context/ToastProvider.tsx b/ui/src/context/ToastProvider.tsx
index a41c18929..ffe4b5c05 100644
--- a/ui/src/context/ToastProvider.tsx
+++ b/ui/src/context/ToastProvider.tsx
@@ -82,10 +82,10 @@ export const ToastProvider: React.FC<{ children: React.ReactNode }> = ({ childre
key={toast.id}
className={`flex items-center gap-3 px-4 py-3 rounded-lg shadow-lg border animate-slide-in ${
toast.type === 'success'
- ? 'bg-success/10 border-success/30 text-success'
+ ? 'bg-mint/10 border-mint/30 text-mint-ink'
: toast.type === 'warning'
- ? 'bg-gold/10 border-gold/30 text-gold'
- : 'bg-error/10 border-error/30 text-error'
+ ? 'bg-gold/10 border-gold/30 text-gold-ink'
+ : 'bg-destructive/10 border-destructive/30 text-destructive-ink'
}`}
>
{toast.type === 'success' ? (
diff --git a/ui/src/features/organization/OrganizationShell.tsx b/ui/src/features/organization/OrganizationShell.tsx
index fcbd23380..e5284dd5c 100644
--- a/ui/src/features/organization/OrganizationShell.tsx
+++ b/ui/src/features/organization/OrganizationShell.tsx
@@ -53,7 +53,7 @@ function GateState() {
return (
<div className="grid min-h-[100dvh] place-items-center bg-background p-6 text-center">
<div>
- <LoaderCircle className="mx-auto size-8 animate-spin text-mint" />
+ <LoaderCircle className="mx-auto size-8 animate-spin text-mint-ink" />
<h1 className="mt-4 text-lg font-semibold">
{t(gate === 'reauthorizing' ? 'organization.states.reauthorizingTitle' : 'organization.states.loadingTitle')}
</h1>
diff --git a/ui/src/features/organization/components.tsx b/ui/src/features/organization/components.tsx
index bb7b26549..f5d7803f1 100644
--- a/ui/src/features/organization/components.tsx
+++ b/ui/src/features/organization/components.tsx
@@ -86,7 +86,7 @@ export function StatCard({ label, value, detail, icon }: {
<div className="mt-3 text-3xl font-semibold tabular-nums">{value}</div>
{detail ? <div className="mt-1 text-[12px] text-muted">{detail}</div> : null}
</div>
- <div className="grid size-9 place-items-center rounded-lg bg-mint/10 text-mint">{icon}</div>
+ <div className="grid size-9 place-items-center rounded-lg bg-mint/10 text-mint-ink">{icon}</div>
</Card>
);
}
@@ -98,11 +98,11 @@ export function InitialsAvatar({ value, tone = 'mint', className }: {
}) {
const initial = value.trim().charAt(0).toUpperCase() || '?';
const tones = {
- mint: 'border-mint/30 bg-mint/15 text-mint',
- cyan: 'border-cyan/30 bg-cyan/15 text-cyan',
- violet: 'border-violet/30 bg-violet/15 text-violet',
- gold: 'border-gold/30 bg-gold/15 text-gold',
- pink: 'border-pink/30 bg-pink/15 text-pink',
+ mint: 'border-mint/30 bg-mint/15 text-mint-ink',
+ cyan: 'border-cyan/30 bg-cyan/15 text-cyan-ink',
+ violet: 'border-violet/30 bg-violet/15 text-violet-ink',
+ gold: 'border-gold/30 bg-gold/15 text-gold-ink',
+ pink: 'border-pink/30 bg-pink/15 text-pink-ink',
};
return (
<span className={clsx('grid size-9 shrink-0 place-items-center rounded-lg border text-[13px] font-bold', tones[tone], className)}>
@@ -121,12 +121,12 @@ export function RoleBadge({ role }: { role: OrganizationRole }) {
}
const GROUP_TONES: Record<GroupColor, string> = {
- mint: 'border-mint/25 bg-mint/10 text-mint',
- cyan: 'border-cyan/25 bg-cyan/10 text-cyan',
- blue: 'border-cyan/25 bg-cyan/10 text-cyan',
- violet: 'border-violet/25 bg-violet/10 text-violet',
- rose: 'border-pink/25 bg-pink/10 text-pink',
- gold: 'border-gold/25 bg-gold/10 text-gold',
+ mint: 'border-mint/25 bg-mint/10 text-mint-ink',
+ cyan: 'border-cyan/25 bg-cyan/10 text-cyan-ink',
+ blue: 'border-cyan/25 bg-cyan/10 text-cyan-ink',
+ violet: 'border-violet/25 bg-violet/10 text-violet-ink',
+ rose: 'border-pink/25 bg-pink/10 text-pink-ink',
+ gold: 'border-gold/25 bg-gold/10 text-gold-ink',
};
export function GroupPill({ name, color = 'violet' }: { name: string; color?: GroupColor | null }) {
@@ -232,7 +232,7 @@ export function ErrorBanner({ code, onRetry }: { code?: string; onRetry?: () =>
return (
<div className="flex flex-col gap-3 rounded-lg border border-destructive/35 bg-destructive/10 p-4 sm:flex-row sm:items-center sm:justify-between">
<div className="flex items-start gap-3">
- <ShieldAlert className="mt-0.5 size-4 shrink-0 text-destructive" />
+ <ShieldAlert className="mt-0.5 size-4 shrink-0 text-destructive-ink" />
<div>
<div className="text-[13px] font-semibold">{t('organization.states.errorTitle')}</div>
<div className="mt-0.5 text-[12px] text-muted">{t(messageKey)}</div>
@@ -248,7 +248,7 @@ export function ConflictBanner({ onReload }: { onReload: () => void }) {
return (
<div className="flex flex-col gap-3 rounded-lg border border-gold/35 bg-gold/10 p-4 sm:flex-row sm:items-center sm:justify-between">
<div className="flex items-start gap-3">
- <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold" />
+ <AlertTriangle className="mt-0.5 size-4 shrink-0 text-gold-ink" />
<div>
<div className="text-[13px] font-semibold">{t('organization.states.conflictTitle')}</div>
<div className="mt-0.5 text-[12px] text-muted">{t('organization.states.conflictBody')}</div>
diff --git a/ui/src/features/organization/pages/OrganizationGroupsPages.tsx b/ui/src/features/organization/pages/OrganizationGroupsPages.tsx
index 7f9f0f4f2..9fa3e4c78 100644
--- a/ui/src/features/organization/pages/OrganizationGroupsPages.tsx
+++ b/ui/src/features/organization/pages/OrganizationGroupsPages.tsx
@@ -631,13 +631,13 @@ export function OrganizationGroupDetailPage() {
{t('organization.groups.referencedBy')} <span className="ml-1 text-muted">{referenceCount}</span>
</div>
<div className="space-y-4 p-5 text-[12px]">
- <ReferenceSection icon={<Server className="size-4 text-cyan" />} title={t('organization.nav.instances')} items={references?.instances.map((item) => item.slug) ?? []} />
- <ReferenceSection icon={<Workflow className="size-4 text-gold" />} title={t('organization.overview.projects')} items={references?.projects.map((item) => item.displayName) ?? []} />
- <ReferenceSection icon={<Boxes className="size-4 text-pink" />} title={t('organization.nav.resources')} items={references?.resources.map((item) => item.displayName) ?? []} />
+ <ReferenceSection icon={<Server className="size-4 text-cyan-ink" />} title={t('organization.nav.instances')} items={references?.instances.map((item) => item.slug) ?? []} />
+ <ReferenceSection icon={<Workflow className="size-4 text-gold-ink" />} title={t('organization.overview.projects')} items={references?.projects.map((item) => item.displayName) ?? []} />
+ <ReferenceSection icon={<Boxes className="size-4 text-pink-ink" />} title={t('organization.nav.resources')} items={references?.resources.map((item) => item.displayName) ?? []} />
</div>
</TableFrame>
<div className="rounded-lg border border-gold/35 bg-gold/10 p-4">
- <div className="flex items-center gap-2 text-[13px] font-semibold"><Archive className="size-4 text-gold" />{t('organization.groups.archiveImpactTitle')}</div>
+ <div className="flex items-center gap-2 text-[13px] font-semibold"><Archive className="size-4 text-gold-ink" />{t('organization.groups.archiveImpactTitle')}</div>
<p className="mt-1 text-[12px] leading-5 text-muted">{t('organization.groups.archiveImpactBody')}</p>
</div>
</div>
diff --git a/ui/src/features/organization/pages/OrganizationInstancePages.tsx b/ui/src/features/organization/pages/OrganizationInstancePages.tsx
index 21c9105b4..dc386f62d 100644
--- a/ui/src/features/organization/pages/OrganizationInstancePages.tsx
+++ b/ui/src/features/organization/pages/OrganizationInstancePages.tsx
@@ -545,7 +545,7 @@ export function InstanceAccessPage() {
</Button>
</div>
<div className="flex items-center gap-3 rounded-lg border border-violet/35 bg-violet/10 p-4">
- <Shield className="size-5 shrink-0 text-violet" />
+ <Shield className="size-5 shrink-0 text-violet-ink" />
<div className="min-w-0 flex-1">
<div className="text-[13px] font-semibold">{t('organization.access.ownerTitle', { owner: instance.owner_is_current_user ? t('organization.instances.you') : (instance.owner_email || t('organization.instances.ownerProtected')) })}</div>
<div className="mt-0.5 text-[12px] text-muted">{t('organization.access.ownerBody')}</div>
@@ -568,7 +568,7 @@ export function InstanceAccessPage() {
return (
<div key={`${entry.kind}:${entry.value}`} className="grid gap-3 border-b border-border px-4 py-4 last:border-0 md:grid-cols-[minmax(220px,1.5fr)_150px_140px_80px] md:items-center md:px-5">
<div className="flex min-w-0 items-center gap-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint"><Icon className="size-4" /></span>
+ <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint-ink"><Icon className="size-4" /></span>
<div className="min-w-0">
<div className="truncate text-[12px] font-semibold">{displayPrincipal(entry.kind, entry.value, groups)}</div>
<div className="text-[10px] text-muted">{t(`organization.principals.${entry.kind}`)}</div>
@@ -602,7 +602,7 @@ export function InstanceAccessPage() {
}
}}
>
- <Trash2 className="size-4 text-destructive" />
+ <Trash2 className="size-4 text-destructive-ink" />
</Button>
</div>
</div>
@@ -1020,7 +1020,7 @@ export function InstanceProjectsPage() {
return (
<div key={project.project_id} className="grid gap-3 border-b border-border px-4 py-4 last:border-0 md:grid-cols-[minmax(220px,1.25fr)_160px_minmax(180px,1fr)_130px_90px] md:items-center md:px-5">
<div className="flex min-w-0 items-center gap-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint"><FolderKey className="size-4" /></span>
+ <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint-ink"><FolderKey className="size-4" /></span>
<div className="min-w-0">
<div className="truncate text-[12px] font-semibold">{project.display_name}</div>
<div className="truncate font-mono text-[10px] text-muted">{project.project_id}</div>
diff --git a/ui/src/features/organization/pages/OrganizationInstancesPage.tsx b/ui/src/features/organization/pages/OrganizationInstancesPage.tsx
index cbbef4206..0975bf66b 100644
--- a/ui/src/features/organization/pages/OrganizationInstancesPage.tsx
+++ b/ui/src/features/organization/pages/OrganizationInstancesPage.tsx
@@ -142,8 +142,8 @@ export function OrganizationInstancesPage() {
>
<div className="flex min-w-0 items-center gap-3">
<span className={index % 2
- ? 'grid size-9 shrink-0 place-items-center rounded-lg border border-violet/30 bg-violet/15 text-violet'
- : 'grid size-9 shrink-0 place-items-center rounded-lg border border-mint/30 bg-mint/15 text-mint'}>
+ ? 'grid size-9 shrink-0 place-items-center rounded-lg border border-violet/30 bg-violet/15 text-violet-ink'
+ : 'grid size-9 shrink-0 place-items-center rounded-lg border border-mint/30 bg-mint/15 text-mint-ink'}>
<Server className="size-4" />
</span>
<div className="min-w-0">
@@ -165,7 +165,7 @@ export function OrganizationInstancesPage() {
{t(instance.paired ? 'organization.instances.paired' : 'organization.instances.notPaired')}
</Badge>
<span className="inline-flex items-center gap-1 text-[11px] text-muted">
- <CircleDot className={instance.status === 'active' ? 'size-3 text-mint' : 'size-3'} />
+ <CircleDot className={instance.status === 'active' ? 'size-3 text-mint-ink' : 'size-3'} />
{t(`organization.instances.status.${instance.status}`)}
</span>
</div>
diff --git a/ui/src/features/organization/pages/OrganizationMembersPage.tsx b/ui/src/features/organization/pages/OrganizationMembersPage.tsx
index 8d54e6134..4a76ab398 100644
--- a/ui/src/features/organization/pages/OrganizationMembersPage.tsx
+++ b/ui/src/features/organization/pages/OrganizationMembersPage.tsx
@@ -495,7 +495,7 @@ export function OrganizationMembersPage() {
<Button size="icon" variant="ghost" aria-label={t('organization.actions.editMember')} onClick={() => { setEditing(member); setDialogOpen(true); }}><Pencil className="size-4" /></Button>
) : null}
{canManage && member.role !== 'owner' && member.status !== 'removed' ? (
- <Button size="icon" variant="ghost" aria-label={t('organization.actions.removeMember')} onClick={() => setRemoving(member)}><Trash2 className="size-4 text-destructive" /></Button>
+ <Button size="icon" variant="ghost" aria-label={t('organization.actions.removeMember')} onClick={() => setRemoving(member)}><Trash2 className="size-4 text-destructive-ink" /></Button>
) : null}
</div>
</div>
diff --git a/ui/src/features/organization/pages/OrganizationOverviewPage.tsx b/ui/src/features/organization/pages/OrganizationOverviewPage.tsx
index 1bf2b8439..5f4021f95 100644
--- a/ui/src/features/organization/pages/OrganizationOverviewPage.tsx
+++ b/ui/src/features/organization/pages/OrganizationOverviewPage.tsx
@@ -236,7 +236,7 @@ export function OrganizationOverviewPage() {
to={instanceDiagnosticsPath(instance, canManage)}
className="flex items-center gap-3 border-b border-border px-5 py-4 last:border-b-0 hover:bg-foreground/[0.025]"
>
- <div className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 font-bold text-mint">
+ <div className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 font-bold text-mint-ink">
{instance.slug.charAt(0).toUpperCase()}
</div>
<div className="min-w-0 flex-1">
@@ -254,10 +254,10 @@ export function OrganizationOverviewPage() {
<Card>
<CardHeader className="flex-row items-center justify-between">
<CardTitle className="flex items-center gap-2">
- <AlertTriangle className="size-4 text-gold" />
+ <AlertTriangle className="size-4 text-gold-ink" />
{t('organization.overview.needsAttention')}
</CardTitle>
- <span className="rounded-full bg-gold/15 px-2 py-0.5 text-[11px] font-semibold text-gold">{attention.length}</span>
+ <span className="rounded-full bg-gold/15 px-2 py-0.5 text-[11px] font-semibold text-gold-ink">{attention.length}</span>
</CardHeader>
<CardContent className="p-0">
{attention.length === 0 ? (
diff --git a/ui/src/features/organization/pages/OrganizationResourcesPage.tsx b/ui/src/features/organization/pages/OrganizationResourcesPage.tsx
index 4cdec34cf..991fd1ab9 100644
--- a/ui/src/features/organization/pages/OrganizationResourcesPage.tsx
+++ b/ui/src/features/organization/pages/OrganizationResourcesPage.tsx
@@ -231,7 +231,7 @@ function ResourceAccessDialog({
);
})}
</div>
- {groupIds.length === 0 ? <div className="mt-2 text-[11px] text-gold">{t('organization.resources.groupRequired')}</div> : null}
+ {groupIds.length === 0 ? <div className="mt-2 text-[11px] text-gold-ink">{t('organization.resources.groupRequired')}</div> : null}
</fieldset>
) : null}
</div>
@@ -397,7 +397,7 @@ export function OrganizationResourcesPage() {
return (
<div key={`${resource.instance_id}:${resource.resource_kind}:${resource.resource_id}`} className="grid gap-3 border-b border-border px-4 py-4 last:border-0 md:grid-cols-[minmax(220px,1.35fr)_170px_minmax(190px,1fr)_130px_90px] md:items-center md:px-5">
<div className="flex min-w-0 items-center gap-3">
- <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint"><Icon className="size-4" /></span>
+ <span className="grid size-9 shrink-0 place-items-center rounded-lg bg-mint/10 text-mint-ink"><Icon className="size-4" /></span>
<div className="min-w-0">
<div className="truncate text-[12px] font-semibold">{resource.display_name}</div>
<div className="truncate font-mono text-[10px] text-muted">{resource.resource_id} · {instanceNames.get(resource.instance_id) ?? resource.instance_id}</div>
diff --git a/ui/src/index.css b/ui/src/index.css
index 01aa81d3d..93d6f63cc 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -37,37 +37,49 @@
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
+ --color-primary-ink: var(--primary-ink);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-soft: var(--muted-soft);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
+ --color-accent-ink: var(--accent-ink);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
+ --color-destructive-ink: var(--destructive-ink);
--color-border: var(--border);
--color-border-strong: var(--border-strong);
--color-input: var(--input);
--color-ring: var(--ring);
+ /* Each accent is four tokens: --X is the brand fill and the base every wash
+ mixes from, --X-foreground is the label printed on that fill, --X-soft is
+ the wash, and --X-ink is the accent used as text on a neutral surface.
+ Fill and ink pull in opposite directions on a light surface — the fill has
+ to stay vivid to read as the brand, the ink has to go deep to stay legible
+ — so they cannot be the same value. Use bg-X / border-X for the fill and
+ text-X-ink for text. */
--color-mint: var(--mint);
--color-mint-soft: var(--mint-soft);
+ --color-mint-ink: var(--mint-ink);
--color-cyan: var(--cyan);
--color-cyan-soft: var(--cyan-soft);
+ --color-cyan-ink: var(--cyan-ink);
--color-violet: var(--violet);
--color-violet-soft: var(--violet-soft);
+ --color-violet-ink: var(--violet-ink);
--color-gold: var(--gold);
--color-gold-soft: var(--gold-soft);
--color-gold-foreground: var(--gold-foreground);
+ --color-gold-ink: var(--gold-ink);
--color-pink: var(--pink);
--color-pink-soft: var(--pink-soft);
+ --color-pink-ink: var(--pink-ink);
/* Compatibility aliases for current UI during migration. */
--color-bg: var(--background);
--color-panel: var(--surface);
--color-text: var(--foreground);
- --color-success: var(--mint);
- --color-warning: var(--gold);
- --color-danger: var(--destructive);
--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif;
@@ -103,16 +115,21 @@
--popover: #11111c;
--popover-foreground: #f5f1e8;
+ /* On a dark surface a vivid accent is already legible, so ink tracks fill
+ here; light is where the two diverge. --violet is the one exception. */
--primary: #5bffa0;
--primary-foreground: #080812;
+ --primary-ink: #5bffa0;
--secondary: #11111c;
--secondary-foreground: #f5f1e8;
--muted: #9ba3b8;
--muted-soft: #0e0e18;
--accent: #3fe0e5;
--accent-foreground: #080812;
+ --accent-ink: #3fe0e5;
--destructive: #ff6b6b;
--destructive-foreground: #080812;
+ --destructive-ink: #ff6b6b;
--border: rgba(255, 255, 255, 0.08);
--border-strong: rgba(255, 255, 255, 0.14);
@@ -121,17 +138,23 @@
--mint: #5bffa0;
--mint-soft: rgba(91, 255, 160, 0.16);
+ --mint-ink: #5bffa0;
--cyan: #3fe0e5;
--cyan-soft: rgba(63, 224, 229, 0.16);
- /* Lightened just past AA on --card: #7c5bff read at 4.28:1 there, the one dark
- ink below the floor. Hue and saturation are unchanged. */
- --violet: #8465ff;
+ --cyan-ink: #3fe0e5;
+ /* The fill keeps design.pen's #7c5bff. Only the ink is lightened, because
+ #7c5bff read 4.28:1 as text on --card — the one dark accent below the
+ floor. Hue and saturation are unchanged. */
+ --violet: #7c5bff;
--violet-soft: rgba(124, 91, 255, 0.16);
+ --violet-ink: #8465ff;
--gold: #ffc857;
--gold-soft: rgba(255, 200, 87, 0.16);
--gold-foreground: #080812;
+ --gold-ink: #ffc857;
--pink: #ff5b8a;
--pink-soft: rgba(255, 91, 138, 0.10);
+ --pink-ink: #ff5b8a;
/* Page-family gradients (mirror design.pen 1:1). Layers ordered top-most first. */
--gradient-console:
@@ -180,42 +203,57 @@
--popover: #ffffff;
--popover-foreground: #0a0a14;
- /* Light inks are deepened relative to dark. The dark palette's vivid accents
- read at 2.5-4.2:1 as small text on a light surface, and text-mint /
- text-gold / text-cyan / text-destructive are used app-wide, so every ink
- here clears WCAG AA (4.5:1) against --surface-3, the darkest light
- surface. Deepening the fills lifts white-on-fill for --primary /
- --accent / --gold / --destructive by the same amount, since contrast is
- symmetric. --primary / --accent / --ring carry --mint / --cyan by
- definition. Guarded by ui/scripts/validate-theme.mjs. */
- --primary: #067a55;
- --primary-foreground: #ffffff;
+ /* Fills keep design.pen's vivid light accents, and take a dark label the
+ way the dark theme already does — #10b981 reads 2.54:1 under white but
+ 7.86:1 under #080812, so the fill never had to move. --destructive is
+ the exception: #e11d48 is 4.70:1 under white and only 4.24:1 under the
+ dark ink, so its label stays white. Inks are a separate token; see the
+ --mint-ink group. Guarded by ui/scripts/validate-theme.mjs. */
+ --primary: #10b981;
+ --primary-foreground: #080812;
+ --primary-ink: #067a55;
--secondary: #eef1f7;
--secondary-foreground: #0a0a14;
--muted: #5c6079;
--muted-soft: #eef1f7;
- --accent: #0e7490;
- --accent-foreground: #ffffff;
- --destructive: #ca1a41;
+ --accent: #0891b2;
+ --accent-foreground: #080812;
+ --accent-ink: #0e7490;
+ --destructive: #e11d48;
--destructive-foreground: #ffffff;
+ --destructive-ink: #ca1a41;
--border: rgba(8, 8, 18, 0.08);
--border-strong: rgba(8, 8, 18, 0.14);
--input: rgba(8, 8, 18, 0.12);
- --ring: rgba(6, 122, 85, 0.5);
-
- /* Accents share the AA floor below - see the --primary group. */
- --mint: #067a55;
+ /* The focus ring is an affordance drawn on a neutral surface, so it follows
+ the ink rather than the fill: the vivid fill at 50% composites to 1.5:1 on
+ every light surface, well under the 3:1 non-text floor. Mint ink at 85%
+ reads 3.7-4.0:1 while staying a ring rather than a hard stroke. */
+ --ring: rgba(6, 122, 85, 0.85);
+
+ /* Light is where fill and ink diverge. As small text on a light surface the
+ vivid fills read 2.2-4.2:1, so each --X-ink is deepened until it clears
+ WCAG AA (4.5:1) against --surface-3, the darkest light surface, keeping
+ the fill's hue and saturation. --violet already cleared the floor, so its
+ ink equals its fill. The washes below mix from the fill, which is why
+ they carry the fill's hex. */
+ --mint: #10b981;
--mint-soft: rgba(16, 185, 129, 0.14);
- --cyan: #0e7490;
+ --mint-ink: #067a55;
+ --cyan: #0891b2;
--cyan-soft: rgba(8, 145, 178, 0.14);
+ --cyan-ink: #0e7490;
--violet: #7c3aed;
--violet-soft: rgba(124, 58, 237, 0.14);
- --gold: #ae4f08;
+ --violet-ink: #7c3aed;
+ --gold: #d97706;
--gold-soft: rgba(217, 119, 6, 0.14);
- --gold-foreground: #ffffff;
- --pink: #c7204f;
+ --gold-foreground: #080812;
+ --gold-ink: #ae4f08;
+ --pink: #dc2659;
--pink-soft: rgba(220, 38, 89, 0.10);
+ --pink-ink: #c7204f;
/* Light-theme page gradients (softer alphas over light base). */
--gradient-console:
@@ -267,34 +305,44 @@
--popover: #ffffff;
--popover-foreground: #0a0a14;
- --primary: #067a55;
- --primary-foreground: #ffffff;
+ /* Vivid fill + dark label, deepened ink - see the prefers-color-scheme block
+ above. Both light blocks must stay value-identical. */
+ --primary: #10b981;
+ --primary-foreground: #080812;
+ --primary-ink: #067a55;
--secondary: #eef1f7;
--secondary-foreground: #0a0a14;
--muted: #5c6079;
--muted-soft: #eef1f7;
- --accent: #0e7490;
- --accent-foreground: #ffffff;
- --destructive: #ca1a41;
+ --accent: #0891b2;
+ --accent-foreground: #080812;
+ --accent-ink: #0e7490;
+ --destructive: #e11d48;
--destructive-foreground: #ffffff;
+ --destructive-ink: #ca1a41;
--border: rgba(8, 8, 18, 0.08);
--border-strong: rgba(8, 8, 18, 0.14);
--input: rgba(8, 8, 18, 0.12);
- --ring: rgba(6, 122, 85, 0.5);
+ /* Mirrors the @media light block above; see the note there. */
+ --ring: rgba(6, 122, 85, 0.85);
- /* Deepened inks, AA on --surface-3 - see the prefers-color-scheme block above. */
- --mint: #067a55;
+ --mint: #10b981;
--mint-soft: rgba(16, 185, 129, 0.14);
- --cyan: #0e7490;
+ --mint-ink: #067a55;
+ --cyan: #0891b2;
--cyan-soft: rgba(8, 145, 178, 0.14);
+ --cyan-ink: #0e7490;
--violet: #7c3aed;
--violet-soft: rgba(124, 58, 237, 0.14);
- --gold: #ae4f08;
+ --violet-ink: #7c3aed;
+ --gold: #d97706;
--gold-soft: rgba(217, 119, 6, 0.14);
- --gold-foreground: #ffffff;
- --pink: #c7204f;
+ --gold-foreground: #080812;
+ --gold-ink: #ae4f08;
+ --pink: #dc2659;
--pink-soft: rgba(220, 38, 89, 0.10);
+ --pink-ink: #c7204f;
/* Light-theme page gradients (softer alphas over light base). */
--gradient-console:
@@ -527,7 +575,7 @@ pre,
.vr-markdown li.task-list-item { list-style: none; }
.vr-markdown li.task-list-item input { margin-right: 0.4em; }
.vr-markdown a {
- color: var(--cyan);
+ color: var(--cyan-ink);
text-decoration: underline;
text-underline-offset: 2px;
}
@@ -578,7 +626,7 @@ pre,
.vr-code-block:hover .vr-code-copy,
.vr-code-copy:focus-visible { opacity: 1; }
.vr-code-copy:hover { color: var(--foreground); background: var(--surface-3); }
-.vr-code-copy.is-copied { opacity: 1; color: var(--mint); border-color: rgba(91, 255, 160, 0.4); }
+.vr-code-copy.is-copied { opacity: 1; color: var(--mint-ink); border-color: rgba(91, 255, 160, 0.4); }
/* Touch devices have no hover — keep the button gently visible so it's tappable. */
@media (hover: none) {
.vr-code-copy { opacity: 0.6; }
diff --git a/ui/src/lib/agentBackends.ts b/ui/src/lib/agentBackends.ts
index 1f90ff8e5..bdf5770de 100644
--- a/ui/src/lib/agentBackends.ts
+++ b/ui/src/lib/agentBackends.ts
@@ -26,10 +26,10 @@ export const AGENT_BACKENDS: BackendUiMeta[] = [
settingsRoute: '/settings/backends/opencode',
Icon: Terminal,
initials: 'OP',
- blockCls: 'border-mint/40 bg-mint/[0.10] text-mint',
- glyphCls: 'text-mint',
+ blockCls: 'border-mint/40 bg-mint/[0.10] text-mint-ink',
+ glyphCls: 'text-mint-ink',
tileCls: 'bg-violet-soft',
- iconCls: 'text-violet',
+ iconCls: 'text-violet-ink',
},
{
id: 'claude',
@@ -40,9 +40,9 @@ export const AGENT_BACKENDS: BackendUiMeta[] = [
Icon: Sparkles,
initials: 'CL',
blockCls: 'border-[rgba(217,119,87,0.4)] bg-[rgba(217,119,87,0.10)] text-[#e8a87c]',
- glyphCls: 'text-cyan',
+ glyphCls: 'text-cyan-ink',
tileCls: 'bg-cyan-soft',
- iconCls: 'text-cyan',
+ iconCls: 'text-cyan-ink',
},
{
id: 'codex',
@@ -52,8 +52,8 @@ export const AGENT_BACKENDS: BackendUiMeta[] = [
settingsRoute: '/settings/backends/codex',
Icon: Bot,
initials: 'CO',
- blockCls: 'border-violet/40 bg-violet/[0.10] text-violet',
- glyphCls: 'text-violet',
+ blockCls: 'border-violet/40 bg-violet/[0.10] text-violet-ink',
+ glyphCls: 'text-violet-ink',
tileCls: 'bg-gold',
iconCls: 'text-gold-foreground',
},
diff --git a/ui/src/lib/backendAccent.ts b/ui/src/lib/backendAccent.ts
index 561887870..22e74dde2 100644
--- a/ui/src/lib/backendAccent.ts
+++ b/ui/src/lib/backendAccent.ts
@@ -15,9 +15,9 @@ export const BACKEND_LABEL: Record<Backend, string> = {
// Text / icon accent — e.g. <Icon className={BACKEND_TEXT[b]} />.
export const BACKEND_TEXT: Record<Backend, string> = {
- claude: 'text-mint',
- opencode: 'text-cyan',
- codex: 'text-violet',
+ claude: 'text-mint-ink',
+ opencode: 'text-cyan-ink',
+ codex: 'text-violet-ink',
};
// Solid dot fill — e.g. a status dot inside a chip.
@@ -29,9 +29,9 @@ export const BACKEND_DOT: Record<Backend, string> = {
// Full pill surface (soft bg + 40% border + accent text) for backend chips.
export const BACKEND_CHIP: Record<Backend, string> = {
- claude: 'bg-mint-soft border-mint/40 text-mint',
- opencode: 'bg-cyan-soft border-cyan/40 text-cyan',
- codex: 'bg-violet-soft border-violet/40 text-violet',
+ claude: 'bg-mint-soft border-mint/40 text-mint-ink',
+ opencode: 'bg-cyan-soft border-cyan/40 text-cyan-ink',
+ codex: 'bg-violet-soft border-violet/40 text-violet-ink',
};
export function isBackend(value: string): value is Backend {