Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(theme): state stops being a colour — warning hues map onto the ink token

rubenluetke10-beep454108327e4d
diff --git a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
index 2d5b832d62..a39362b3ed 100644
--- a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
+++ b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
@@ -41,13 +41,13 @@ import { cn } from "@/lib/utils";
*/
const BAR_CLASS: Record<string, string> = {
normal: "bg-primary",
- warning: "bg-orange-500",
+ warning: "bg-foreground",
critical: "bg-destructive",
};
const PERCENT_CLASS: Record<string, string> = {
normal: "text-foreground",
- warning: "text-orange-500",
+ warning: "text-foreground",
critical: "text-destructive",
};
diff --git a/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx b/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
index 39932fd7bd..ee20482e0f 100644
--- a/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
@@ -232,7 +232,7 @@ export function AgentAccountsPanel({ onActivate, note }: AgentAccountsPanelProps
)}
{error && (
- <p className="px-1 text-[11px] text-amber-600" role="alert">
+ <p className="px-1 text-[11px] text-foreground" role="alert">
{error}
</p>
)}
@@ -563,7 +563,7 @@ function AccountRow({
<p
className={cn(
"flex items-start gap-1.5 pl-6 text-[11px]",
- account.connected ? "text-muted-foreground" : "text-amber-600",
+ account.connected ? "text-muted-foreground" : "text-foreground",
)}
>
<KeyRound className="mt-0.5 h-3 w-3 shrink-0" />
@@ -575,7 +575,7 @@ function AccountRow({
draining twice as fast. So it is said out loud, next to the row that
duplicates another, rather than left to be deduced from a usage page. */}
{account.warning && (
- <p className="flex items-start gap-1.5 pl-6 text-[11px] text-amber-600">
+ <p className="flex items-start gap-1.5 pl-6 text-[11px] text-foreground">
<AlertTriangle className="mt-0.5 h-3 w-3 shrink-0" />
<span className="min-w-0 break-words">{account.warning}</span>
</p>
@@ -670,7 +670,7 @@ function LoginFlowBox({
<span
className={cn(
"min-w-0 flex-1 break-words text-[11px]",
- failed ? "text-amber-600" : "text-muted-foreground",
+ failed ? "text-foreground" : "text-muted-foreground",
)}
>
{flow.status === "starting"
diff --git a/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx b/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
index ab7178cc06..c4faed8f72 100644
--- a/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
+++ b/jarvis/ui/web/frontend/src/components/ApiKeyForm.tsx
@@ -407,7 +407,7 @@ export function ApiKeyForm({ secretKey, dashboardUrl, configured, credentialHelp
{scopeQuestion}
{fmt && !fmt.match && fmt.detected && (
<div className="space-y-1">
- <p className="flex items-start gap-1 text-xs text-amber-500">
+ <p className="flex items-start gap-1 text-xs text-foreground">
<AlertTriangle className="mt-0.5 h-3 w-3 shrink-0" />
<span>
{t("apikeys_view.format_mismatch").replace("{0}", fmt.detected.label)}
diff --git a/jarvis/ui/web/frontend/src/components/CommandActivityLayer.tsx b/jarvis/ui/web/frontend/src/components/CommandActivityLayer.tsx
index 102bba0fc6..ec7af3ce65 100644
--- a/jarvis/ui/web/frontend/src/components/CommandActivityLayer.tsx
+++ b/jarvis/ui/web/frontend/src/components/CommandActivityLayer.tsx
@@ -52,9 +52,9 @@ const LEVEL_STYLE: Record<
bar: "text-sky-400",
},
modify: {
- chip: "border-amber-500/30 bg-amber-500/10 text-amber-500",
- text: "text-amber-500",
- bar: "text-amber-500",
+ chip: "border-foreground/30 bg-foreground/10 text-foreground",
+ text: "text-foreground",
+ bar: "text-foreground",
},
destructive: {
chip: "border-destructive/40 bg-destructive/10 text-destructive",
diff --git a/jarvis/ui/web/frontend/src/components/EventTimeline.tsx b/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
index 03e2f0aec8..fc32980eea 100644
--- a/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
+++ b/jarvis/ui/web/frontend/src/components/EventTimeline.tsx
@@ -8,7 +8,7 @@ const LAYER_COLOR: Record<string, string> = {
brain: "bg-violet-500",
voice: "bg-emerald-500",
audio: "bg-emerald-500",
- tool: "bg-amber-500",
+ tool: "bg-foreground",
skill: "bg-sky-500",
ui: "bg-blue-500",
harness: "bg-fuchsia-500",
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
index 62be176bbd..786134d95f 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
@@ -585,7 +585,7 @@ function BridgeStatusStrip({ status }: { status: SubagentStatus }) {
"h-[7px] w-[7px] shrink-0 rounded-full",
live
? "bg-emerald-500 shadow-[0_0_0_3px_rgb(16_185_129/0.18)]"
- : "bg-amber-500",
+ : "bg-foreground",
)}
/>
<span className="font-medium text-foreground">
@@ -805,7 +805,7 @@ function CardHint({
children: React.ReactNode;
}) {
return (
- <p className="flex items-start gap-1.5 text-xs text-amber-600 dark:text-amber-400">
+ <p className="flex items-start gap-1.5 text-xs text-foreground">
<Icon className="mt-0.5 h-3 w-3 shrink-0" />
<span>{children}</span>
</p>
@@ -903,12 +903,12 @@ function CliTestControl({
<span
className={cn(
"inline-flex items-center gap-1.5 text-xs",
- result.ok ? "text-emerald-600 dark:text-emerald-400" : "text-amber-600 dark:text-amber-400",
+ result.ok ? "text-emerald-600 dark:text-emerald-400" : "text-foreground",
)}
>
<span
aria-hidden="true"
- className={cn("h-[7px] w-[7px] rounded-full", result.ok ? "bg-emerald-500" : "bg-amber-500")}
+ className={cn("h-[7px] w-[7px] rounded-full", result.ok ? "bg-emerald-500" : "bg-foreground")}
/>
{result.message}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/RerunButton.tsx b/jarvis/ui/web/frontend/src/components/RerunButton.tsx
index a1e091feb6..a831c7d446 100644
--- a/jarvis/ui/web/frontend/src/components/RerunButton.tsx
+++ b/jarvis/ui/web/frontend/src/components/RerunButton.tsx
@@ -52,7 +52,7 @@ export function RerunButton({
const tone =
action === "continue"
- ? "border-amber-400/40 bg-amber-400/10 text-amber-400 hover:bg-amber-400/20"
+ ? "border-foreground/40 bg-foreground/10 text-foreground hover:bg-foreground/20"
: "border-primary/40 bg-primary/10 text-primary hover:bg-primary/20";
const sizing =
size === "sm" ? "px-1.5 py-0.5 text-[10px]" : "px-2 py-1 text-[11px]";
diff --git a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
index 897847ed7f..889af4cefc 100644
--- a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
+++ b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
@@ -24,14 +24,14 @@ const ICON_FOR_KIND = {
const STYLE_FOR_KIND: Record<Toast["kind"], string> = {
info: "border-border bg-card/95 text-foreground",
success: "border-primary/40 bg-card/95 text-foreground shadow-[0_0_24px_rgba(255,214,10,0.15)]",
- warning: "border-amber-500/40 bg-card/95 text-foreground",
+ warning: "border-foreground/40 bg-card/95 text-foreground",
error: "border-destructive/50 bg-card/95 text-foreground",
};
const ACCENT_FOR_KIND: Record<Toast["kind"], string> = {
info: "text-muted-foreground",
success: "text-primary",
- warning: "text-amber-500",
+ warning: "text-foreground",
error: "text-destructive",
};
diff --git a/jarvis/ui/web/frontend/src/components/VoiceIndicator.tsx b/jarvis/ui/web/frontend/src/components/VoiceIndicator.tsx
index 0bfc315e56..dec2b2efac 100644
--- a/jarvis/ui/web/frontend/src/components/VoiceIndicator.tsx
+++ b/jarvis/ui/web/frontend/src/components/VoiceIndicator.tsx
@@ -6,11 +6,11 @@ import { cn } from "@/lib/utils";
// here fails the TypeScript build instead of rendering an undefined swatch.
const STATE_STYLE: Record<VoiceState, { color: string; ring: string }> = {
idle: { color: "bg-blue-500", ring: "ring-blue-500/40" },
- connecting: { color: "bg-amber-400", ring: "ring-amber-400/50 animate-pulse" },
+ connecting: { color: "bg-foreground", ring: "ring-foreground/50 animate-pulse" },
listening: { color: "bg-emerald-500", ring: "ring-emerald-500/50 animate-pulse" },
- thinking: { color: "bg-yellow-500", ring: "ring-yellow-500/50 animate-pulse" },
+ thinking: { color: "bg-foreground", ring: "ring-foreground/50 animate-pulse" },
speaking: { color: "bg-pink-500", ring: "ring-pink-500/50 animate-pulse" },
- paused: { color: "bg-amber-500", ring: "ring-amber-500/40" },
+ paused: { color: "bg-foreground", ring: "ring-foreground/40" },
error: { color: "bg-red-500", ring: "ring-red-500/50" },
};
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ContinueInterrupted.tsx b/jarvis/ui/web/frontend/src/components/agentic/ContinueInterrupted.tsx
index c89d5a1110..cf6c1e7df7 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ContinueInterrupted.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ContinueInterrupted.tsx
@@ -156,7 +156,7 @@ function PaneRow({
data-testid={`interrupted-pane-${pane.name}`}
className={cn(
"rounded-lg border p-3",
- pane.continuable ? "border-border bg-card/60" : "border-amber-500/40 bg-amber-500/10",
+ pane.continuable ? "border-border bg-card/60" : "border-foreground/40 bg-foreground/10",
)}
>
<div className="flex flex-wrap items-start justify-between gap-2">
@@ -180,7 +180,7 @@ function PaneRow({
</p>
)}
{!pane.continuable && (
- <p className="mt-1.5 flex items-start gap-1.5 text-xs text-amber-200">
+ <p className="mt-1.5 flex items-start gap-1.5 text-xs text-foreground">
<AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0" />
{pane.blocked_reason}
</p>
@@ -317,7 +317,7 @@ export function ContinueInterrupted({
// rule the rest of the toolbar follows (TOOLBAR_BTN in AgenticGrid).
"flex h-7 shrink-0 items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-40",
waiting
- ? "bg-amber-500/15 text-amber-200 hover:bg-amber-500/25"
+ ? "bg-foreground/15 text-foreground hover:bg-foreground/25"
: "text-muted-foreground hover:bg-secondary hover:text-foreground",
)}
>
@@ -326,7 +326,7 @@ export function ContinueInterrupted({
{waiting && (
<span
data-testid="continue-interrupted-count"
- className="rounded bg-amber-500/25 px-1.5 py-0.5 font-mono text-[10px]"
+ className="rounded bg-foreground/25 px-1.5 py-0.5 font-mono text-[10px]"
>
{offer.count}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
index 6e1f344499..18ad683d38 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
@@ -37,7 +37,7 @@ describe("what the badge shows", () => {
const badge = pill({ status: "live", activity: "waiting", worked: true });
expect(badge.textContent).toBe("");
expect(badge.getAttribute("data-icon")).toBe("check");
- expect(badge.className).toContain("text-amber-400");
+ expect(badge.className).toContain("text-foreground");
});
it("hollows the dot — rather than recolouring it — for an unused pane", () => {
@@ -48,7 +48,7 @@ describe("what the badge shows", () => {
const badge = pill({ status: "live", activity: "waiting", worked: false });
expect(badge.textContent).toBe("");
expect(badge.getAttribute("data-icon")).toBe("ring");
- expect(badge.className).toContain("text-amber-400/60");
+ expect(badge.className).toContain("text-foreground/60");
});
it("keeps blue for the one state that wants something from you now", () => {
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
index a36a86f9f9..44b020aea8 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
@@ -118,7 +118,7 @@ const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
working: {
state: "working",
label: "working",
- className: "text-amber-400",
+ className: "text-foreground",
icon: "spinner",
hint: "Working — its screen is still changing.",
},
@@ -162,7 +162,7 @@ const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
const DONE: Look = {
state: "done",
label: "done",
- className: "text-amber-400",
+ className: "text-foreground",
icon: "check",
glow: true,
hint: "Finished and waiting at its prompt. That it stopped, not that the work is right.",
@@ -180,7 +180,7 @@ const DONE: Look = {
const IDLE: Look = {
state: "idle",
label: "idle",
- className: "text-amber-400/60",
+ className: "text-foreground/60",
icon: "ring",
hint: "Waiting at its prompt. Nothing has been sent to it yet.",
};
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
index d94322bf83..545a38570d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
@@ -105,7 +105,7 @@ const KINDS: Record<
needs_input: {
key: "agentic_grid.notifications.kind_needs_input",
icon: CircleHelp,
- tone: "text-amber-400",
+ tone: "text-foreground",
},
exited: {
key: "agentic_grid.notifications.kind_exited",
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PromptHistoryButton.tsx b/jarvis/ui/web/frontend/src/components/agentic/PromptHistoryButton.tsx
index b74bb6d09d..a15c4ccd7b 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PromptHistoryButton.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PromptHistoryButton.tsx
@@ -219,7 +219,7 @@ export function PromptHistoryButton({
)}
</span>
{!history.complete && (
- <span className="text-[10px] text-amber-500">
+ <span className="text-[10px] text-foreground">
{t("agentic_grid.history.partial")}
</span>
)}
@@ -323,7 +323,7 @@ function HistoryRow({
item.submitted === true
? "bg-emerald-500"
: item.submitted === false
- ? "bg-amber-500"
+ ? "bg-foreground"
: "bg-muted-foreground",
)}
aria-hidden="true"
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx b/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
index 539c394b0b..11cacba605 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PromptReceipt.tsx
@@ -215,7 +215,7 @@ export function PromptReceipt({
}
: submitted === false
? {
- icon: <AlertTriangle className="h-3.5 w-3.5 shrink-0 text-amber-400" />,
+ icon: <AlertTriangle className="h-3.5 w-3.5 shrink-0 text-foreground" />,
label: "Prompt typed, not started",
note: "it is sitting in this pane's input box — press Enter here to run it",
}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
index 037a1f0ec4..aad020587c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
@@ -15,7 +15,7 @@
* 2026-08-11).
*
* Each of those now carries a light partner in the pairing the rest of the app
- * already uses (`text-amber-800 dark:text-amber-200`, and the equivalents for
+ * already uses (`text-foreground`, and the equivalents for
* fills and borders). The gold "continues" cue lost its `/85` for the same
* reason: `--primary` is tuned to 5.1:1 on paper, and the alpha was spending
* a fifth of that on nothing.
@@ -262,14 +262,14 @@ function TerminalTile({
className={cn(
"group relative grid min-w-0 grid-cols-[auto_minmax(0,1fr)] gap-2.5 border border-border/60 bg-background/35 p-2.5 transition-colors hover:border-border hover:bg-background/70",
pane.resumable && pane.available && "border-primary/25",
- !pane.available && "border-amber-600/45 dark:border-amber-400/25",
+ !pane.available && "border-foreground/45 dark:border-foreground/25",
)}
>
<span
className={cn(
"absolute inset-y-0 left-0 w-0.5",
!pane.available
- ? "bg-amber-600/80 dark:bg-amber-300/70"
+ ? "bg-foreground/80 dark:bg-foreground/70"
: pane.resumable
? "bg-primary/80"
: "bg-muted-foreground/35",
@@ -285,7 +285,7 @@ function TerminalTile({
className={cn(
"shrink-0 text-[9px] font-medium uppercase tracking-[0.12em]",
!pane.available
- ? "text-amber-800 dark:text-amber-200"
+ ? "text-foreground"
: pane.resumable
? "text-primary"
: "text-muted-foreground",
@@ -374,7 +374,7 @@ function WorkspaceRow({
))}
</div>
{!space.folder_exists && (
- <p className="mt-2 flex items-center gap-1.5 text-xs leading-relaxed text-amber-800 dark:text-amber-200">
+ <p className="mt-2 flex items-center gap-1.5 text-xs leading-relaxed text-foreground">
<AlertTriangle className="h-3.5 w-3.5 shrink-0" />
{t("workspace_launcher.resume.folder_missing")}
</p>
@@ -404,7 +404,7 @@ function WorkspaceRow({
</span>
)}
{unavailable > 0 && (
- <span className="text-amber-800 dark:text-amber-200">
+ <span className="text-foreground">
{fill(t("workspace_launcher.resume.unavailable_count"), {
count: unavailable,
})}
@@ -428,7 +428,7 @@ function WorkspaceRow({
style={{ width: `${(fresh / total) * 100}%` }}
/>
<span
- className="bg-amber-600/80 dark:bg-amber-300/70"
+ className="bg-foreground/80 dark:bg-foreground/70"
style={{ width: `${(unavailable / total) * 100}%` }}
/>
</div>
@@ -505,7 +505,7 @@ function FleetManifest({
prompts: item.prompts,
})}
{item.unavailable > 0 && (
- <span className="text-amber-800 dark:text-amber-200">
+ <span className="text-foreground">
{` · ${fill(
t("workspace_launcher.resume.fleet_unavailable"),
{ count: item.unavailable },
@@ -525,7 +525,7 @@ function FleetManifest({
style={{ width: `${(item.fresh / total) * 100}%` }}
/>
<span
- className="bg-amber-600/80 dark:bg-amber-300/70"
+ className="bg-foreground/80 dark:bg-foreground/70"
style={{ width: `${(item.unavailable / total) * 100}%` }}
/>
</div>
@@ -547,7 +547,7 @@ function FleetManifest({
<span>{t("workspace_launcher.resume.conversation_fact")}</span>
</li>
<li className="flex gap-2.5">
- <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-800 dark:text-amber-200" />
+ <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" />
<span>{t("workspace_launcher.resume.availability_fact")}</span>
</li>
</ul>
@@ -673,7 +673,7 @@ export function ResumeCard({
{t("workspace_launcher.resume.legend_fresh")}
</span>
<span className="inline-flex items-center gap-1.5">
- <span className="h-1.5 w-1.5 bg-amber-600/90 dark:bg-amber-300/80" />
+ <span className="h-1.5 w-1.5 bg-foreground/90 dark:bg-foreground/80" />
{t("workspace_launcher.resume.legend_unavailable")}
</span>
</div>
@@ -761,7 +761,7 @@ export function ResumeCard({
</dl>
{unavailable > 0 && (
- <p className="mt-3 flex items-center gap-2 border-l-2 border-amber-600/70 bg-amber-600/[0.07] px-3 py-2 text-xs text-amber-900 dark:border-amber-300/70 dark:bg-amber-300/[0.04] dark:text-amber-100">
+ <p className="mt-3 flex items-center gap-2 border-l-2 border-foreground/70 bg-foreground/[0.07] px-3 py-2 text-xs text-foreground dark:border-foreground/70 dark:bg-foreground/[0.04] dark:text-foreground">
<AlertTriangle className="h-3.5 w-3.5 shrink-0" />
{fill(t("workspace_launcher.resume.unavailable_warning"), {
count: unavailable,
diff --git a/jarvis/ui/web/frontend/src/components/agentic/VoiceBubbleNotice.tsx b/jarvis/ui/web/frontend/src/components/agentic/VoiceBubbleNotice.tsx
index e3cbfd42f6..c1c41bc53f 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/VoiceBubbleNotice.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/VoiceBubbleNotice.tsx
@@ -61,7 +61,7 @@ const KINDS: Record<
needs_input: {
key: "agentic_grid.notifications.kind_needs_input",
icon: CircleHelp,
- tone: "text-amber-400",
+ tone: "text-foreground",
},
exited: {
key: "agentic_grid.notifications.kind_exited",
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceExplorer.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceExplorer.tsx
index 01692ff807..d3ee7153bf 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceExplorer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceExplorer.tsx
@@ -434,7 +434,7 @@ function TreeLevel({
{directory.truncated && (
<div
role="note"
- className="py-1 pr-2 text-[10px] leading-relaxed text-amber-500"
+ className="py-1 pr-2 text-[10px] leading-relaxed text-foreground"
style={{ paddingLeft: `${depth * 12 + 21}px` }}
>
{t("agentic_grid.explorer.truncated")}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
index 3f1fe30059..eed94eb260 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
@@ -264,7 +264,7 @@ function ViewerContent({
return (
<div className="mx-auto w-full max-w-5xl p-5 sm:p-8">
{preview?.truncated && (
- <div role="note" className="mb-4 border-l-2 border-amber-500 bg-amber-500/5 px-3 py-2 text-xs text-amber-500">
+ <div role="note" className="mb-4 border-l-2 border-foreground bg-foreground/5 px-3 py-2 text-xs text-foreground">
{t("agentic_grid.viewer.truncated")}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
index 2cb33116cc..5e80c5f2c0 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
@@ -288,7 +288,7 @@ export function WorkspaceLauncher({
</span>
<Button
variant="subtle"
- className="h-6 px-2 text-amber-200/90"
+ className="h-6 px-2 text-foreground/90"
onClick={onOpenClis}
>
{t("workspace_launcher.wizard.open_clis")}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/controls.tsx b/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
index ff8d164932..d3b8c8d963 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
@@ -240,7 +240,7 @@ export function Notice({
"flex flex-wrap items-center gap-x-2 gap-y-1 border-l-2 py-1 pl-3 text-sm",
tone === "error"
? "border-destructive/70 text-destructive"
- : "border-amber-400/70 text-amber-200/90",
+ : "border-foreground/70 text-foreground/90",
)}
>
{children}
diff --git a/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx b/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
index cb1c130344..095d5f4199 100644
--- a/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/AIProfileCard.tsx
@@ -128,7 +128,7 @@ export function AIProfileCard() {
kind="haerter"
icon={<Zap className="h-3 w-3" />}
label={t("board_view.feedback_harder")}
- colorClass="border-amber-500/40 bg-amber-500/10 text-amber-300 hover:bg-amber-500/20"
+ colorClass="border-foreground/40 bg-foreground/10 text-foreground hover:bg-foreground/20"
active={lastFeedback === "haerter"}
disabled={feedback.isPending}
onClick={() => handleFeedback("haerter")}
@@ -148,7 +148,7 @@ export function AIProfileCard() {
</div>
)}
{regen.data && !regen.data.ok && regen.data.reason && (
- <div className="text-xs text-amber-400">
+ <div className="text-xs text-foreground">
{regen.data.reason}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/components/board/ActivityFeed.tsx b/jarvis/ui/web/frontend/src/components/board/ActivityFeed.tsx
index f067ebb360..f1ecdac905 100644
--- a/jarvis/ui/web/frontend/src/components/board/ActivityFeed.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ActivityFeed.tsx
@@ -120,7 +120,7 @@ function FeedRow({
<span>·</span>
<span className={cn(
item.visibility === "public" && "text-emerald-300",
- item.visibility === "private" && "text-amber-300",
+ item.visibility === "private" && "text-foreground",
)}>{item.visibility}</span>
</header>
<ItemBody item={item} />
diff --git a/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx b/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
index a85b775a31..737246ff17 100644
--- a/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/StatsCard.tsx
@@ -13,7 +13,7 @@ interface StatsCardProps {
const TONE: Record<NonNullable<StatsCardProps["tone"]>, string> = {
default: "border-border bg-card/40 text-foreground",
success: "border-emerald-500/30 bg-emerald-500/5 text-emerald-200",
- warn: "border-amber-500/30 bg-amber-500/5 text-amber-200",
+ warn: "border-foreground/30 bg-foreground/5 text-foreground",
};
/** Compact large number + label for board metrics. */
diff --git a/jarvis/ui/web/frontend/src/components/board/StoryComposer.tsx b/jarvis/ui/web/frontend/src/components/board/StoryComposer.tsx
index fda8059db5..d0aacad978 100644
--- a/jarvis/ui/web/frontend/src/components/board/StoryComposer.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/StoryComposer.tsx
@@ -46,7 +46,7 @@ export function StoryComposer({ onClose }: StoryComposerProps) {
/>
<div className="mt-1 flex items-center justify-between text-[10px] text-muted-foreground">
<span>{t("story_composer.expiry_hint")}</span>
- <span className={cn(remaining < 30 && "text-amber-400")}>
+ <span className={cn(remaining < 30 && "text-foreground")}>
{`${remaining} ${t("story_composer.characters")}`}
</span>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
index a16b4982ee..a8fdafa1f3 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx
@@ -182,9 +182,9 @@ type CrewState = "working" | "waiting" | "asking" | "starting" | "failed" | "exi
// (CLOUD.md "Frontend theming").
const CREW_TONE: Record<CrewState, string> = {
working: "text-primary",
- starting: "text-amber-700 dark:text-amber-400",
+ starting: "text-foreground",
waiting: "text-sky-700 dark:text-sky-400",
- asking: "text-amber-700 dark:text-amber-400",
+ asking: "text-foreground",
failed: "text-destructive",
exited: "text-muted-foreground",
idle: "text-muted-foreground",
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
index c974de796e..fd6e4669eb 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
@@ -36,7 +36,7 @@ const TAG_TONE: Record<JournalKind, string> = {
think: "text-primary",
done: "text-primary",
tool: "text-emerald-700 dark:text-emerald-400",
- say: "text-amber-700 dark:text-amber-300",
+ say: "text-foreground",
worker: "text-emerald-700 dark:text-emerald-400",
control: "text-violet-700 dark:text-violet-400",
look: "text-violet-700 dark:text-violet-400",
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
index 14b9d16f0e..643939de13 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckStandby.tsx
@@ -415,12 +415,12 @@ export function DeckStandby({
const TAG_TONE: Record<GateState, string> = {
pending: "text-muted-foreground",
ok: "text-primary",
- off: "text-amber-700 dark:text-amber-300",
+ off: "text-foreground",
};
const TEXT_TONE: Record<GateState, string> = {
pending: "text-foreground/70",
ok: "text-foreground/90",
- off: "text-amber-700 dark:text-amber-300",
+ off: "text-foreground",
};
/** The boot title: the name, letter by letter, in the display face. */
diff --git a/jarvis/ui/web/frontend/src/components/docs/Callout.tsx b/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
index 04aef23724..401e0506ed 100644
--- a/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/Callout.tsx
@@ -13,7 +13,7 @@ const VARIANTS: Record<CalloutType, { className: string; icon: typeof Info }> =
},
warning: {
className:
- "border-l-amber-500/60 bg-amber-500/10 text-amber-100",
+ "border-l-amber-500/60 bg-foreground/10 text-foreground",
icon: AlertTriangle,
},
tip: {
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocTypeBadge.tsx b/jarvis/ui/web/frontend/src/components/docs/DocTypeBadge.tsx
index a890e5b7e4..8270356e4a 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocTypeBadge.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocTypeBadge.tsx
@@ -11,7 +11,7 @@ const DIATAXIS_VARIANTS: Record<DocDiataxis, string> = {
explanation:
"bg-emerald-500/15 text-emerald-300 border-emerald-500/30",
troubleshooting:
- "bg-amber-500/15 text-amber-300 border-amber-500/30",
+ "bg-foreground/15 text-foreground border-foreground/30",
adr:
"bg-rose-500/15 text-rose-300 border-rose-500/30",
unclassified:
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
index 756679d8f6..afb88a60a1 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsSearchModal.tsx
@@ -125,7 +125,7 @@ export function DocsSearchModal({ open, onOpenChange, onSelect }: Props) {
{r.section}
</span>
</div>
- <div className="ml-5 line-clamp-2 text-xs text-muted-foreground [&>mark]:bg-yellow-500/30 [&>mark]:text-foreground">
+ <div className="ml-5 line-clamp-2 text-xs text-muted-foreground [&>mark]:bg-foreground/30 [&>mark]:text-foreground">
{renderSearchSnippet(r.snippet)}
</div>
</Command.Item>
diff --git a/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx b/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
index c2a2e119b8..d7b86784f7 100644
--- a/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
+++ b/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
@@ -553,7 +553,7 @@ export function StatusDot({
const color = {
ok: "bg-emerald-500",
off: "bg-muted-foreground/40",
- warn: "bg-amber-500",
+ warn: "bg-foreground",
error: "bg-destructive",
busy: "bg-primary",
}[tone];
@@ -691,7 +691,7 @@ export function StatTile({
{icon ? (
<span
className={cn(
- tone === "warn" && "text-amber-500",
+ tone === "warn" && "text-foreground",
tone === "danger" && "text-destructive",
tone === "primary" && "text-primary",
// Emerald carries a meaning the token set has no name for
diff --git a/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx b/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
index 07551e771d..acd759c9a1 100644
--- a/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/LiveStatusCard.tsx
@@ -20,7 +20,7 @@ export interface StatusUpdateView {
const PROFILE_BADGE_CLASS: Record<StatusUpdateView["profile_used"], string> = {
minimal: "border-muted-foreground/40 bg-muted/30 text-muted-foreground",
standard: "border-primary/40 bg-primary/10 text-primary",
- detailed: "border-amber-400/40 bg-amber-400/10 text-amber-400",
+ detailed: "border-foreground/40 bg-foreground/10 text-foreground",
};
function formatTimestamp(ns: number): string {
diff --git a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
index c2f34f423c..aa99d29c66 100644
--- a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
@@ -399,7 +399,7 @@ function DockIcon({
data-testid={`nav-warn-${item.id}`}
role="status"
aria-label={warnTitle}
- className="absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-amber-500 ring-2 ring-background"
+ className="absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-foreground ring-2 ring-background"
/>
) : live ? (
<span
diff --git a/jarvis/ui/web/frontend/src/components/layout/InputIsolationBanner.tsx b/jarvis/ui/web/frontend/src/components/layout/InputIsolationBanner.tsx
index 001e9783ab..4c7a07b766 100644
--- a/jarvis/ui/web/frontend/src/components/layout/InputIsolationBanner.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/InputIsolationBanner.tsx
@@ -59,19 +59,19 @@ export function InputIsolationBanner() {
data-testid="input-isolation-banner"
data-reason={report.reason}
role="alert"
- className="border-b-2 border-amber-500/50 bg-amber-500/10 text-amber-100"
+ className="border-b-2 border-foreground/50 bg-foreground/10 text-foreground"
>
<div className="flex items-start gap-3 px-4 py-2.5">
- <KeyboardOff className="mt-0.5 h-5 w-5 shrink-0 text-amber-400" aria-hidden />
+ <KeyboardOff className="mt-0.5 h-5 w-5 shrink-0 text-foreground" aria-hidden />
<div className="min-w-0 flex-1">
<p className="text-sm font-semibold leading-tight">
{t("input_isolation.title")}
</p>
- <p className="mt-0.5 text-xs leading-snug text-amber-200/90">
+ <p className="mt-0.5 text-xs leading-snug text-foreground/90">
{t("input_isolation.impact")}
</p>
{!report.can_restart_unelevated && (
- <p className="mt-1 text-xs leading-snug text-amber-200/70">
+ <p className="mt-1 text-xs leading-snug text-foreground/70">
{t("input_isolation.manual_hint")}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/components/layout/PermissionsAlertBanner.tsx b/jarvis/ui/web/frontend/src/components/layout/PermissionsAlertBanner.tsx
index fee9149354..f731400cf1 100644
--- a/jarvis/ui/web/frontend/src/components/layout/PermissionsAlertBanner.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/PermissionsAlertBanner.tsx
@@ -105,10 +105,10 @@ export function PermissionsAlertBanner() {
data-testid="permissions-alert-banner"
data-state={restartOnly ? "restart" : "missing"}
role="alert"
- className="border-b-2 border-amber-500/50 bg-amber-500/10 text-amber-100"
+ className="border-b-2 border-foreground/50 bg-foreground/10 text-foreground"
>
<div className="flex items-center gap-3 px-4 py-2.5">
- <ShieldAlert className="h-5 w-5 shrink-0 text-amber-400" aria-hidden />
+ <ShieldAlert className="h-5 w-5 shrink-0 text-foreground" aria-hidden />
<div className="min-w-0 flex-1">
<p className="text-sm font-semibold leading-tight">
{restartOnly
@@ -116,7 +116,7 @@ export function PermissionsAlertBanner() {
: t("permissions.banner.title")}
</p>
{!restartOnly && brokenFeatures.length > 0 && (
- <p className="text-xs leading-tight text-amber-200/90">
+ <p className="text-xs leading-tight text-foreground/90">
{t("permissions.banner.impact").replace("{0}", brokenFeatures.join(", "))}
</p>
)}
@@ -146,10 +146,10 @@ export function PermissionsAlertBanner() {
{!restartOnly && !collapsed && (
<div className="space-y-2 px-4 pb-3">
{snapshot.app_identity.stable === false && (
- <p className="text-xs text-amber-200/90">{t("permissions.identity_warning")}</p>
+ <p className="text-xs text-foreground/90">{t("permissions.identity_warning")}</p>
)}
{snapshot.identity_reset && (
- <p className="text-xs text-amber-200/90">{t("permissions.identity_reset")}</p>
+ <p className="text-xs text-foreground/90">{t("permissions.identity_reset")}</p>
)}
{missing.map((item) => (
<MissingPermissionRow
@@ -162,15 +162,15 @@ export function PermissionsAlertBanner() {
/>
))}
{snapshot.restart_required && (
- <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-amber-500/30 bg-background/40 p-3">
- <p className="text-xs text-amber-500">{t("permissions.restart_required")}</p>
+ <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-foreground/30 bg-background/40 p-3">
+ <p className="text-xs text-foreground">{t("permissions.restart_required")}</p>
<Button size="sm" disabled={restarting} onClick={() => void restartApp()}>
{restarting && <Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />}
{t(restarting ? "permissions.restarting" : "permissions.restart_now")}
</Button>
</div>
)}
- <p className="text-xs text-amber-200/70">{t("permissions.banner.hint")}</p>
+ <p className="text-xs text-foreground/70">{t("permissions.banner.hint")}</p>
</div>
)}
</div>
@@ -203,8 +203,8 @@ function MissingPermissionRow({
: item.status;
return (
- <div className="flex flex-wrap items-center gap-3 rounded-lg border border-amber-500/30 bg-background/40 p-3">
- <Icon className="h-4 w-4 shrink-0 text-amber-400" aria-hidden />
+ <div className="flex flex-wrap items-center gap-3 rounded-lg border border-foreground/30 bg-background/40 p-3">
+ <Icon className="h-4 w-4 shrink-0 text-foreground" aria-hidden />
<div className="min-w-[12rem] flex-1">
<div className="text-sm font-medium text-foreground">
{t(`permissions.items.${item.id}.title`)}
@@ -216,10 +216,10 @@ function MissingPermissionRow({
checkmark in System Settings belongs to an older signature of
this app, so toggling it there leads nowhere (BUG-159). */}
{item.can_reset && !item.can_request && (
- <p className="mt-1 text-xs text-amber-200/90">{t("permissions.stale_grant_hint")}</p>
+ <p className="mt-1 text-xs text-foreground/90">{t("permissions.stale_grant_hint")}</p>
)}
</div>
- <span className="rounded-full bg-amber-500/10 px-2 py-1 text-[10px] font-medium uppercase tracking-wide text-amber-500">
+ <span className="rounded-full bg-foreground/10 px-2 py-1 text-[10px] font-medium uppercase tracking-wide text-foreground">
{t(`permissions.status.${statusKey}`)}
</span>
{item.can_request && (
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 2b1748bf1f..2f4c9713fc 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -79,11 +79,11 @@ const VOICE_STATE_STYLE: Record<string, { dot: string; pulse: boolean }> = {
thinking: { dot: "bg-primary", pulse: true },
speaking: { dot: "bg-primary", pulse: true },
// The user muted or suspended the pipeline: neither working nor broken.
- paused: { dot: "bg-amber-400", pulse: false },
+ paused: { dot: "bg-foreground", pulse: false },
error: { dot: "bg-destructive", pulse: false },
// Not a supervisor state — the surface's own "a realtime transport is
// negotiating" phase, which no backend state covers.
- connecting: { dot: "bg-amber-400", pulse: true },
+ connecting: { dot: "bg-foreground", pulse: true },
};
export interface SidebarProps {
@@ -775,7 +775,7 @@ function NavRow({
data-testid={`nav-warn-${item.id}`}
role="status"
aria-label={warnTitle}
- className="h-2 w-2 shrink-0 rounded-full bg-amber-500 ring-2 ring-background"
+ className="h-2 w-2 shrink-0 rounded-full bg-foreground ring-2 ring-background"
/>
)}
{badge !== undefined && badge > 0 && (
diff --git a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
index a6d1e3f245..43acdccd10 100644
--- a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
@@ -293,7 +293,7 @@ function RestartButton() {
className={cn(
"inline-flex shrink-0 items-center gap-1.5 rounded-md border px-2.5 py-1 text-xs font-medium transition-colors disabled:cursor-default disabled:opacity-70",
confirming || forceArmed
- ? "border-amber-500/60 bg-amber-500/10 text-amber-500 hover:bg-amber-500/20"
+ ? "border-foreground/60 bg-foreground/10 text-foreground hover:bg-foreground/20"
: "border-border bg-secondary/40 text-muted-foreground hover:border-primary/50 hover:text-foreground",
)}
>
@@ -496,7 +496,7 @@ function UpdateButton() {
className={cn(
"inline-flex items-center gap-1.5 rounded-md border px-2.5 py-1 text-xs font-medium transition-colors disabled:cursor-default disabled:opacity-70",
forceArmed
- ? "border-amber-500/60 bg-amber-500/10 text-amber-500 hover:bg-amber-500/20"
+ ? "border-foreground/60 bg-foreground/10 text-foreground hover:bg-foreground/20"
: "border-primary/50 bg-primary/10 text-primary hover:bg-primary/20",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/layout/VoiceWarmingBanner.tsx b/jarvis/ui/web/frontend/src/components/layout/VoiceWarmingBanner.tsx
index 2dca690eb3..587a67ddf9 100644
--- a/jarvis/ui/web/frontend/src/components/layout/VoiceWarmingBanner.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/VoiceWarmingBanner.tsx
@@ -54,7 +54,7 @@ export function VoiceWarmingBanner() {
// The pale -200 tints are dark-mode ink; on light they land near-white
// on a bright wallpaper and disappear (the banner spans raw artwork).
warming
- ? "border-amber-500/30 bg-amber-500/10 text-amber-800 dark:text-amber-200"
+ ? "border-foreground/30 bg-foreground/10 text-foreground"
: "border-emerald-500/30 bg-emerald-500/10 text-emerald-800 dark:text-emerald-200",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
index 6cdaecf3d2..9a96a9067f 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
@@ -388,7 +388,7 @@ export function AssistantPanel({
{blocked && (
<div
- className="flex flex-wrap items-center justify-between gap-3 rounded-xl border border-amber-500/40 bg-amber-500/10 px-4 py-3 text-sm"
+ className="flex flex-wrap items-center justify-between gap-3 rounded-xl border border-foreground/40 bg-foreground/10 px-4 py-3 text-sm"
data-testid="assistant-blocked"
>
<span>{blocked}</span>
diff --git a/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx b/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx
index 0d4e9b7d65..eb085e8917 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx
@@ -78,7 +78,7 @@ function Mark({ tone }: { tone: Tone }) {
if (tone === "run") return <Loader2 className="h-3 w-3 animate-spin text-primary" />;
if (tone === "fail") return <X className="h-3 w-3 text-destructive" />;
if (tone === "ask")
- return <span className="h-1.5 w-1.5 rounded-full bg-amber-500 dark:bg-amber-400" />;
+ return <span className="h-1.5 w-1.5 rounded-full bg-foreground" />;
return <Check className="h-3 w-3 text-emerald-600 dark:text-emerald-400" />;
}
@@ -174,7 +174,7 @@ function ToolStep({
return (
<StepRow tone={tone} label={label} meta={seconds(block.durationMs)} detail={detail}>
{tone === "ask" && block.approval && onDecide && (
- <div className="ml-6 mt-2 flex flex-wrap items-center gap-3 rounded-lg border border-amber-500/40 bg-amber-500/[0.07] px-3 py-2">
+ <div className="ml-6 mt-2 flex flex-wrap items-center gap-3 rounded-lg border border-foreground/40 bg-foreground/[0.07] px-3 py-2">
<span className="text-[13px] text-foreground">{block.approval.summary}</span>
<div className="ml-auto flex gap-1.5">
<button
diff --git a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
index c831707fbe..1b2e21876b 100644
--- a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
@@ -24,7 +24,7 @@ const REATTACH_STYLE: Record<JarvisAgentReattachStatus, string> = {
live: "border-emerald-400/40 bg-emerald-400/10 text-emerald-300",
ended: "border-zinc-500/40 bg-zinc-500/10 text-zinc-300",
killed: "border-destructive/50 bg-destructive/15 text-destructive",
- unknown: "border-amber-400/40 bg-amber-400/10 text-amber-300",
+ unknown: "border-foreground/40 bg-foreground/10 text-foreground",
};
const REATTACH_LABEL: Record<JarvisAgentReattachStatus, string> = {
diff --git a/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
index 5e8d8683f1..b03a61a381 100644
--- a/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/ToolApprovalPanel.tsx
@@ -179,7 +179,7 @@ export function ToolApprovalPanel({
return (
<ScrollArea className="h-full">
<div className="space-y-3 p-3">
- <div className="rounded-md border border-amber-400/30 bg-amber-400/10 p-2.5 text-[11px] text-amber-100/90">
+ <div className="rounded-md border border-foreground/30 bg-foreground/10 p-2.5 text-[11px] text-foreground/90">
{t("mission_tool_approvals.scope_notice")}
</div>
@@ -204,12 +204,12 @@ export function ToolApprovalPanel({
"rounded-lg border bg-card/50 p-3 shadow-sm",
expired
? "border-border/60 opacity-70"
- : "border-amber-400/40",
+ : "border-foreground/40",
)}
>
<div className="flex items-start justify-between gap-2">
<div className="min-w-0">
- <div className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wider text-amber-300">
+ <div className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wider text-foreground">
<ShieldAlert className="h-3.5 w-3.5 shrink-0" />
{t("mission_tool_approvals.pending_title")}
</div>
@@ -256,7 +256,7 @@ export function ToolApprovalPanel({
<dd
className={cn(
"text-right font-mono text-[10px]",
- expired ? "text-destructive" : "text-amber-300",
+ expired ? "text-destructive" : "text-foreground",
)}
title={new Date(expiresAtMs).toLocaleString(language)}
>
@@ -341,7 +341,7 @@ export function ToolApprovalPanel({
<Button
variant="outline"
size="sm"
- className="border-amber-400/50 bg-amber-400/10 text-amber-200 hover:bg-amber-400/20 hover:text-amber-100"
+ className="border-foreground/50 bg-foreground/10 text-foreground hover:bg-foreground/20 hover:text-foreground"
onClick={() => setConfirmingTraceId(approval.trace_id)}
disabled={decision.isPending}
>
@@ -406,7 +406,7 @@ function riskClassName(riskTier: string): string {
case "block":
return "border-destructive/60 bg-destructive/10 text-destructive";
case "ask":
- return "border-amber-400/50 bg-amber-400/10 text-amber-300";
+ return "border-foreground/50 bg-foreground/10 text-foreground";
case "monitor":
return "border-sky-400/50 bg-sky-400/10 text-sky-300";
default:
diff --git a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
index d09d34040b..6545241b83 100644
--- a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
@@ -35,7 +35,7 @@ const VERDICT_STYLE: Record<CriticVerdict, { className: string; label: string }>
label: "approve",
},
revise: {
- className: "border-amber-400/40 bg-amber-400/10 text-amber-300",
+ className: "border-foreground/40 bg-foreground/10 text-foreground",
label: "revise",
},
reject: {
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx b/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
index 8a578fa587..6e0d4f6d73 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
@@ -178,7 +178,7 @@ export function StatusLine({
className={cn(
"border-l-2 py-1 pl-3 text-sm leading-relaxed",
tone === "ok" && "border-emerald-500/70 text-emerald-700 dark:text-emerald-400",
- tone === "warning" && "border-amber-500/70 text-amber-700 dark:text-amber-300",
+ tone === "warning" && "border-foreground/70 text-foreground",
tone === "error" && "border-destructive/70 text-destructive",
tone === "muted" && "border-border text-muted-foreground",
)}
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
index f043748dbc..09bf0040f1 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
@@ -166,7 +166,7 @@ export function FinishStep({ onb, goBack, summaries, gaps }: StepProps) {
<StepSection label={t("onboarding.finish.gaps_label")}>
<div
data-testid="onboarding-gaps"
- className="space-y-3 border-l-2 border-amber-500/70 py-1 pl-4"
+ className="space-y-3 border-l-2 border-foreground/70 py-1 pl-4"
>
<p className="text-[15px] font-medium text-foreground">
{t("onboarding.finish.gaps_intro")}
diff --git a/jarvis/ui/web/frontend/src/components/runs/DecisionPath.tsx b/jarvis/ui/web/frontend/src/components/runs/DecisionPath.tsx
index b6c2ce7d33..f2cdc4945b 100644
--- a/jarvis/ui/web/frontend/src/components/runs/DecisionPath.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/DecisionPath.tsx
@@ -14,7 +14,7 @@ import type { DecisionStep } from "./types";
const KIND_META: Record<string, { icon: string; cls: string }> = {
tier: { icon: "◆", cls: "text-slate-300" },
- route: { icon: "→", cls: "text-amber-300" },
+ route: { icon: "→", cls: "text-foreground" },
risk: { icon: "⚖", cls: "text-rose-300" },
brain: { icon: "🧠", cls: "text-violet-300" },
mission: { icon: "⚙", cls: "text-fuchsia-300" },
diff --git a/jarvis/ui/web/frontend/src/components/runs/EventStream.tsx b/jarvis/ui/web/frontend/src/components/runs/EventStream.tsx
index 44cbe09e97..af2f1e9060 100644
--- a/jarvis/ui/web/frontend/src/components/runs/EventStream.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/EventStream.tsx
@@ -27,7 +27,7 @@ const LANE: Record<string, { dot: string; chip: string; text: string }> = {
lifecycle: { dot: "bg-slate-400", chip: "bg-slate-400/10 text-slate-300 ring-slate-400/25", text: "text-slate-300" },
speech: { dot: "bg-emerald-400", chip: "bg-emerald-400/10 text-emerald-300 ring-emerald-400/25", text: "text-emerald-300" },
brain: { dot: "bg-violet-400", chip: "bg-violet-400/10 text-violet-300 ring-violet-400/25", text: "text-violet-300" },
- tool: { dot: "bg-amber-400", chip: "bg-amber-400/10 text-amber-300 ring-amber-400/25", text: "text-amber-300" },
+ tool: { dot: "bg-foreground", chip: "bg-foreground/10 text-foreground ring-foreground/25", text: "text-foreground" },
agent: { dot: "bg-fuchsia-400", chip: "bg-fuchsia-400/10 text-fuchsia-300 ring-fuchsia-400/25", text: "text-fuchsia-300" },
vision: { dot: "bg-sky-400", chip: "bg-sky-400/10 text-sky-300 ring-sky-400/25", text: "text-sky-300" },
latency: { dot: "bg-cyan-400", chip: "bg-cyan-400/10 text-cyan-300 ring-cyan-400/25", text: "text-cyan-300" },
@@ -155,7 +155,7 @@ export function EventStream({
</div>
{truncated && (
- <div className="rounded-md border border-amber-400/30 bg-amber-400/5 px-2 py-1 text-[10px] text-amber-300">
+ <div className="rounded-md border border-foreground/30 bg-foreground/5 px-2 py-1 text-[10px] text-foreground">
{t("run_inspector.stream.truncated")}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/components/runs/LatencyWaterfall.tsx b/jarvis/ui/web/frontend/src/components/runs/LatencyWaterfall.tsx
index bc58139cae..a3d600e1ab 100644
--- a/jarvis/ui/web/frontend/src/components/runs/LatencyWaterfall.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/LatencyWaterfall.tsx
@@ -1,7 +1,7 @@
import type { LatencyEntry } from "./types";
const BAR: Record<string, string> = {
- ok: "bg-emerald-400/70", warn: "bg-amber-400/80", breach: "bg-destructive/80",
+ ok: "bg-emerald-400/70", warn: "bg-foreground/80", breach: "bg-destructive/80",
};
export function LatencyWaterfall({ entries }: { entries: LatencyEntry[] }) {
diff --git a/jarvis/ui/web/frontend/src/components/runs/MetricsPanel.tsx b/jarvis/ui/web/frontend/src/components/runs/MetricsPanel.tsx
index b5d9f2cfa6..ab4aeff8cf 100644
--- a/jarvis/ui/web/frontend/src/components/runs/MetricsPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/MetricsPanel.tsx
@@ -14,7 +14,7 @@ export function StatChip({
tone?: "default" | "warn" | "breach";
}) {
const valueCls =
- tone === "breach" ? "text-rose-300" : tone === "warn" ? "text-amber-300" : "text-foreground";
+ tone === "breach" ? "text-rose-300" : tone === "warn" ? "text-foreground" : "text-foreground";
return (
<div className="rounded-lg border border-border/70 bg-background/40 px-3 py-2">
<div className="text-[9px] font-medium uppercase tracking-[0.12em] text-muted-foreground">
diff --git a/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx b/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
index 2f8eb9000b..0c31e4fa75 100644
--- a/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/OutcomeBadge.tsx
@@ -12,8 +12,8 @@ const OUTCOME_STYLE: Record<string, OutcomeStyle> = {
},
partial: {
label: "Partial",
- dot: "bg-amber-400",
- badge: "bg-amber-400/10 text-amber-300 ring-amber-400/25",
+ dot: "bg-foreground",
+ badge: "bg-foreground/10 text-foreground ring-foreground/25",
},
failed: {
label: "Failed",
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx b/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
index 3fc2ac65a3..d5c858e063 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunDetail.tsx
@@ -163,7 +163,7 @@ function LatencyChip({ status }: { status: string }) {
const cls =
status === "breach"
? "border-rose-500/30 bg-rose-500/10 text-rose-300"
- : "border-amber-400/30 bg-amber-400/10 text-amber-300";
+ : "border-foreground/30 bg-foreground/10 text-foreground";
return (
<span className={`rounded-full border px-2 py-0.5 text-[10px] font-medium ${cls}`}>
latency {status}
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
index 8d39a67ce3..a7d917fa39 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
@@ -42,7 +42,7 @@ export function RunList({
<div className="flex items-center gap-1.5 pl-4 text-[10px] tabular-nums text-muted-foreground">
<span>{r.turn_count} turns</span>
{r.duration_s !== null && <span>· {r.duration_s.toFixed(1)}s</span>}
- {slow && <span className="text-amber-400/80">· slow</span>}
+ {slow && <span className="text-foreground/80">· slow</span>}
</div>
{r.feature_tags.length > 0 && (
<div className="pl-4">
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx b/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
index 2a91815828..8f17724d36 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunTurnCard.tsx
@@ -119,9 +119,9 @@ export function RunTurnCard({ turn }: { turn: RunTurn }) {
{/* Triggered capabilities — the per-turn headline */}
{triggered.length > 0 && (
- <div className="flex flex-wrap items-center gap-1.5 rounded-md border border-amber-400/20 bg-amber-400/5 px-2 py-1.5 text-[11px]">
- <Zap className="h-3.5 w-3.5 shrink-0 text-amber-400" />
- <span className="font-medium uppercase tracking-wider text-amber-300/90">
+ <div className="flex flex-wrap items-center gap-1.5 rounded-md border border-foreground/20 bg-foreground/5 px-2 py-1.5 text-[11px]">
+ <Zap className="h-3.5 w-3.5 shrink-0 text-foreground" />
+ <span className="font-medium uppercase tracking-wider text-foreground/90">
{t("run_inspector.triggered")}
</span>
<FeatureBadges tags={triggered} />
@@ -157,7 +157,7 @@ export function RunTurnCard({ turn }: { turn: RunTurn }) {
{(turn.think_ms > 0 || turn.speak_ms > 0) && (
<div className="flex flex-wrap items-center gap-3 text-[11px] text-muted-foreground">
<span className="flex items-center gap-1">
- <Brain className="h-3 w-3 text-amber-300" /> {fmtMs(turn.think_ms)} thinking
+ <Brain className="h-3 w-3 text-foreground" /> {fmtMs(turn.think_ms)} thinking
</span>
<span className="flex items-center gap-1">
<Hourglass className="h-3 w-3 text-primary" /> {fmtMs(turn.speak_ms)} speaking
diff --git a/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx b/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
index 606c5b2468..0d7f394f3c 100644
--- a/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/ToolTable.tsx
@@ -19,7 +19,7 @@ import type { ToolCall } from "./types";
const RISK_STYLE: Record<string, string> = {
safe: "text-emerald-400/80",
monitor: "text-sky-300/80",
- ask: "text-amber-300/90",
+ ask: "text-foreground/90",
block: "text-rose-300",
};
diff --git a/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx b/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
index 6a9bb236dc..8756c0d663 100644
--- a/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/sessions/TurnCard.tsx
@@ -261,7 +261,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
{/* Tools */}
{turn.tool_calls.length > 0 && (
<div className="flex flex-wrap items-center gap-1.5 text-[11px]">
- <Wrench className="h-3 w-3 text-amber-400" />
+ <Wrench className="h-3 w-3 text-foreground" />
<span className="text-muted-foreground">Tools:</span>
{turn.tool_calls.map((tc) => (
<Badge
@@ -308,7 +308,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
{turn.awaiting_confirmation && (
<Badge
variant="outline"
- className="ml-1 border-amber-400/40 text-[9px] text-amber-300"
+ className="ml-1 border-foreground/40 text-[9px] text-foreground"
>
Awaiting confirmation
</Badge>
@@ -376,7 +376,7 @@ export function TurnCard({ turn, displayNumber, spoken = [] }: Props) {
{(turn.think_ms > 0 || turn.speak_ms > 0) && (
<div className="grid grid-cols-2 gap-2 border-t border-border/50 pt-2 text-[11px]">
<div className="flex items-center gap-1.5">
- <Hourglass className="h-3 w-3 text-amber-300" />
+ <Hourglass className="h-3 w-3 text-foreground" />
<span className="text-muted-foreground">{t("turn_card.thought")}</span>
<span className="font-mono text-foreground/90">
{turn.think_ms > 0 ? formatMs(turn.think_ms) : "—"}
diff --git a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
index 845d169571..fa645fc466 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
@@ -85,7 +85,7 @@ const STATUS_DOT: Record<OutputStatus, string> = {
success: "bg-emerald-400",
error: "bg-destructive",
running: "bg-primary animate-pulse",
- cancelled: "bg-amber-400",
+ cancelled: "bg-foreground",
unknown: "bg-muted-foreground/50",
};
@@ -204,14 +204,14 @@ export function OutputPreview({
className={cn(
"flex gap-3 rounded-xl border p-4",
needsReview || status === "cancelled"
- ? "border-amber-400/30 bg-amber-400/5"
+ ? "border-foreground/30 bg-foreground/5"
: "border-destructive/30 bg-destructive/5",
)}
>
<AlertTriangle
className={cn(
"mt-0.5 h-4 w-4 shrink-0",
- needsReview || status === "cancelled" ? "text-amber-400" : "text-destructive",
+ needsReview || status === "cancelled" ? "text-foreground" : "text-destructive",
)}
aria-hidden
/>
diff --git a/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx b/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
index 950e74ac79..93ebcf0259 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/RunPanels.tsx
@@ -40,11 +40,11 @@ const STATUS_BADGE: Record<OutputStatus, string> = {
error: "border-destructive/40 bg-destructive/10 text-destructive",
running: "border-primary/40 bg-primary/10 text-primary",
// Deliberate user abort — amber, not the destructive red of a failure.
- cancelled: "border-amber-400/40 bg-amber-400/10 text-amber-400",
+ cancelled: "border-foreground/40 bg-foreground/10 text-foreground",
unknown: "border-border bg-secondary/40 text-muted-foreground",
};
-const NEEDS_REVIEW_BADGE = "border-amber-400/40 bg-amber-400/10 text-amber-300";
+const NEEDS_REVIEW_BADGE = "border-foreground/40 bg-foreground/10 text-foreground";
/** Review ended without approval, but a genuine deliverable was retained. */
export function runNeedsReview(run: OutputSummary): boolean {
@@ -262,7 +262,7 @@ export function RunNotes({ run, className }: { run: OutputSummary; className?: s
className={cn(
"rounded-xl border p-3",
needsReview || isCancelled
- ? "border-amber-400/30 bg-amber-400/5"
+ ? "border-foreground/30 bg-foreground/5"
: "border-destructive/30 bg-destructive/5",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
index c0a5b7d73a..3d7f02a8a1 100644
--- a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
+++ b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
@@ -386,7 +386,7 @@ export function BrowserRealtimeControl() {
{notice && !error && (
<div
data-testid="realtime-provider-notice"
- className="mt-1 text-[10px] leading-snug text-amber-600 dark:text-amber-400"
+ className="mt-1 text-[10px] leading-snug text-foreground"
aria-live="polite"
>
{notice}
diff --git a/jarvis/ui/web/frontend/src/components/wiki/WikiSearch.tsx b/jarvis/ui/web/frontend/src/components/wiki/WikiSearch.tsx
index 25cd836ebd..3efd6cb835 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/WikiSearch.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/WikiSearch.tsx
@@ -130,7 +130,7 @@ function highlightSnippet(snippet: string, pattern: RegExp | null): JSX.Element
<>
{parts.map((part, idx) =>
idx % 2 === 1 ? (
- <mark key={idx} className="bg-amber-400/30 text-foreground">
+ <mark key={idx} className="bg-foreground/30 text-foreground">
{part}
</mark>
) : (
diff --git a/jarvis/ui/web/frontend/src/types/missions.ts b/jarvis/ui/web/frontend/src/types/missions.ts
index f0b81b7290..0a0c94a7a4 100644
--- a/jarvis/ui/web/frontend/src/types/missions.ts
+++ b/jarvis/ui/web/frontend/src/types/missions.ts
@@ -384,7 +384,7 @@ export const MISSION_STATE_BADGE: Record<MissionState, MissionStateBadgeMeta> =
},
LOOPING: {
labelKey: "mission_state.looping",
- className: "border-amber-400/40 bg-amber-400/10 text-amber-300",
+ className: "border-foreground/40 bg-foreground/10 text-foreground",
iconName: "RotateCcw",
},
APPROVED: {
@@ -404,7 +404,7 @@ export const MISSION_STATE_BADGE: Record<MissionState, MissionStateBadgeMeta> =
},
TIMED_OUT: {
labelKey: "mission_state.timed_out",
- className: "border-amber-500/40 bg-amber-500/10 text-amber-300",
+ className: "border-foreground/40 bg-foreground/10 text-foreground",
iconName: "Skull",
},
};
diff --git a/jarvis/ui/web/frontend/src/views/AgentInstructionsView.tsx b/jarvis/ui/web/frontend/src/views/AgentInstructionsView.tsx
index bd814e9a63..e0e9751ae3 100644
--- a/jarvis/ui/web/frontend/src/views/AgentInstructionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/AgentInstructionsView.tsx
@@ -103,7 +103,7 @@ export function AgentInstructionsView() {
{t("agent_instructions.chars").replace("{0}", String(draft.length))}
</span>
{trimmedEmpty && (
- <span className="text-[11px] text-amber-500">
+ <span className="text-[11px] text-foreground">
{t("agent_instructions.empty_hint")}
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
index bddd75b8a1..270a461554 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
@@ -383,7 +383,7 @@ function TabButton({
aria-hidden="true"
className={cn(
"h-[7px] w-[7px] shrink-0 rounded-full",
- indicator === "error" ? "bg-destructive" : "bg-amber-500",
+ indicator === "error" ? "bg-destructive" : "bg-foreground",
)}
/>
) : (
diff --git a/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx b/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
index af1df88165..1af9dedaa0 100644
--- a/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
+++ b/jarvis/ui/web/frontend/src/views/CliTestHubView.tsx
@@ -89,7 +89,7 @@ const RISK_STYLES: Record<RiskTier, RiskStyle> = {
},
ask: {
label: "ask",
- badge: "border-amber-500/40 bg-amber-500/10 text-amber-500",
+ badge: "border-foreground/40 bg-foreground/10 text-foreground",
Icon: ShieldAlert,
},
block: {
diff --git a/jarvis/ui/web/frontend/src/views/DictationView.tsx b/jarvis/ui/web/frontend/src/views/DictationView.tsx
index 4efc856ba7..c0756dd168 100644
--- a/jarvis/ui/web/frontend/src/views/DictationView.tsx
+++ b/jarvis/ui/web/frontend/src/views/DictationView.tsx
@@ -171,10 +171,10 @@ export function DictationView({ hideHeader = false }: DictationViewProps = {}) {
{/* --- Insertion warning: the silent-failure paths, made loud. --- */}
{blocked && (
<div
- className="flex items-start gap-3 rounded-lg border border-amber-500/40 bg-amber-500/10 p-4"
+ className="flex items-start gap-3 rounded-lg border border-foreground/40 bg-foreground/10 p-4"
data-testid="dictation-insert-warning"
>
- <AlertTriangle className="mt-0.5 h-4 w-4 shrink-0 text-amber-500" />
+ <AlertTriangle className="mt-0.5 h-4 w-4 shrink-0 text-foreground" />
<div className="min-w-0">
<h4 className="font-display text-sm font-semibold">
{t("dictation.cannot_insert_title")}
diff --git a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
index d7e5dd555e..1e7803009d 100644
--- a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
@@ -92,7 +92,7 @@ export function ExtensionsView() {
<span
aria-label={t("extensions.attention_dot")}
title={t("extensions.attention_dot")}
- className="h-1.5 w-1.5 shrink-0 rounded-full bg-amber-500"
+ className="h-1.5 w-1.5 shrink-0 rounded-full bg-foreground"
/>
)}
</button>
diff --git a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
index 7e3f9ab360..c6ff47c327 100644
--- a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx
@@ -370,7 +370,7 @@ export function MarketplaceView() {
</div>
{offline && (
- <p className="flex items-center gap-2 border-b border-border bg-amber-500/10 px-6 py-2 text-xs text-amber-700 dark:text-amber-300">
+ <p className="flex items-center gap-2 border-b border-border bg-foreground/10 px-6 py-2 text-xs text-foreground">
<AlertTriangle className="h-3.5 w-3.5 shrink-0" />
{status === "unavailable"
? t("marketplace.status_unavailable")
@@ -1139,7 +1139,7 @@ function Destination({ entry, t }: { entry: Entry; t: Translate }) {
return (
<div className="space-y-2">
{entry.seedConflict && (
- <p className="flex items-start gap-2 rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">
+ <p className="flex items-start gap-2 rounded-lg border border-foreground/40 bg-foreground/10 px-3 py-2 text-xs text-foreground">
<AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0" />
{t("marketplace.seed_conflict")}
</p>
@@ -1193,7 +1193,7 @@ function LandingToast({
<div
className={cn(
"grid h-8 w-8 shrink-0 place-items-center rounded-lg",
- ready ? "bg-primary/15 text-primary" : "bg-amber-500/15 text-amber-600 dark:text-amber-400",
+ ready ? "bg-primary/15 text-primary" : "bg-foreground/15 text-foreground",
)}
>
{ready ? <Check className="h-4 w-4" /> : <AlertTriangle className="h-4 w-4" />}
diff --git a/jarvis/ui/web/frontend/src/views/MissionsView.tsx b/jarvis/ui/web/frontend/src/views/MissionsView.tsx
index 35e7403f59..b1f6f53ccb 100644
--- a/jarvis/ui/web/frontend/src/views/MissionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MissionsView.tsx
@@ -238,7 +238,7 @@ function ConnectionBadge({ connected }: { connected: boolean }) {
"flex items-center gap-1.5 rounded-md border px-2 py-0.5 text-[10px] uppercase tracking-wider",
connected
? "border-emerald-400/40 bg-emerald-400/10 text-emerald-300"
- : "border-amber-400/40 bg-amber-400/10 text-amber-300",
+ : "border-foreground/40 bg-foreground/10 text-foreground",
)}
>
{connected ? (
@@ -330,9 +330,9 @@ function ReasoningPanel() {
return (
<li
key={`${env.event_id}-${idx}`}
- className="rounded border border-amber-400/40 bg-amber-400/10 p-2 text-xs"
+ className="rounded border border-foreground/40 bg-foreground/10 p-2 text-xs"
>
- <div className="flex items-center justify-between text-[10px] uppercase tracking-wider text-amber-300">
+ <div className="flex items-center justify-between text-[10px] uppercase tracking-wider text-foreground">
<span>iter #{p.iteration} → {p.next_model}</span>
<span className="font-mono">w{p.worker_id.slice(0, 8)}</span>
</div>
diff --git a/jarvis/ui/web/frontend/src/views/PluginUploadDialog.tsx b/jarvis/ui/web/frontend/src/views/PluginUploadDialog.tsx
index 306fc9ad59..c1c5e68a73 100644
--- a/jarvis/ui/web/frontend/src/views/PluginUploadDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginUploadDialog.tsx
@@ -222,7 +222,7 @@ export function PluginUploadDialog({
// Said before the yes, not discovered after it: nobody
// vouched for this entry, and the card will show no
// publisher because there is none to show.
- <p className="rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">
+ <p className="rounded-md border border-foreground/40 bg-foreground/10 px-3 py-2 text-xs text-foreground">
{t("plugin_upload.unreviewed")}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
index bb4520ee64..b81df6536b 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx
@@ -576,7 +576,7 @@ function Notice({
className={cn(
"flex items-start gap-2 rounded-lg border px-3 py-2 text-xs",
tone === "muted" && "border-border bg-card/40 text-muted-foreground",
- tone === "warn" && "border-amber-500/40 bg-amber-500/5 text-amber-500",
+ tone === "warn" && "border-foreground/40 bg-foreground/5 text-foreground",
tone === "error" &&
"border-destructive/40 bg-destructive/5 text-destructive",
)}
@@ -645,7 +645,7 @@ function ContentsPanel({ name }: { name: string }) {
{file.text}
</pre>
{file.truncated && (
- <p className="bg-card/60 px-2.5 py-1.5 text-[11px] text-amber-500">
+ <p className="bg-card/60 px-2.5 py-1.5 text-[11px] text-foreground">
Shown up to 256 kB — the published file is longer. Open the
source to read the rest.
</p>
@@ -749,7 +749,7 @@ function CommunityPluginRow({
<h4 className="min-w-0 max-w-full truncate text-sm font-semibold tracking-tight text-foreground">
{name}
</h4>
- <span className="shrink-0 text-[9px] font-medium uppercase tracking-wider text-amber-500/80">
+ <span className="shrink-0 text-[9px] font-medium uppercase tracking-wider text-foreground/80">
Community · not reviewed
</span>
{plugin.installed && (
@@ -839,7 +839,7 @@ function CommunitySkillRow({
<h4 className="min-w-0 max-w-full truncate text-sm font-semibold tracking-tight text-foreground">
{skill.title}
</h4>
- <span className="shrink-0 text-[9px] font-medium uppercase tracking-wider text-amber-500/80">
+ <span className="shrink-0 text-[9px] font-medium uppercase tracking-wider text-foreground/80">
Community · not reviewed
</span>
{skill.flavor === "portable" && (
@@ -988,7 +988,7 @@ export function WallpaperPreviewDialog({
>
{paper.installed ? paper.title : `Install ${paper.title}?`}
</h2>
- <p className="text-[11px] uppercase tracking-wider text-amber-500/80">
+ <p className="text-[11px] uppercase tracking-wider text-foreground/80">
Community wallpaper · not reviewed
{paper.installed ? " · installed" : ""}
</p>
@@ -1095,7 +1095,7 @@ export function SkillInstallConsentDialog({
>
{skill.installed ? skill.title : `Install ${skill.title}?`}
</h2>
- <p className="text-[11px] uppercase tracking-wider text-amber-500/80">
+ <p className="text-[11px] uppercase tracking-wider text-foreground/80">
Community skill · not reviewed
{skill.installed ? " · installed" : ""}
</p>
@@ -1220,7 +1220,7 @@ export function InstallConsentDialog({
>
{plugin.installed ? name : `Install ${name}?`}
</h2>
- <p className="text-[11px] uppercase tracking-wider text-amber-500/80">
+ <p className="text-[11px] uppercase tracking-wider text-foreground/80">
Community plugin · not reviewed
{plugin.installed ? " · installed" : ""}
</p>
diff --git a/jarvis/ui/web/frontend/src/views/PluginsView.tsx b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
index e293dcbe90..6cea09dcaf 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
@@ -1196,7 +1196,7 @@ function PluginTableRow({
{plugin.fromMarketplace && <MarketplaceBadge publisher={plugin.publisher} />}
{plugin.selfUploaded && (
<span
- className="rounded-full border border-amber-500/40 bg-amber-500/10 px-1.5 text-[9px] font-medium uppercase tracking-wider text-amber-500"
+ className="rounded-full border border-foreground/40 bg-foreground/10 px-1.5 text-[9px] font-medium uppercase tracking-wider text-foreground"
title={translate("plugin_upload.unreviewed")}
>
{translate("plugin_upload.self_badge")}
@@ -1285,7 +1285,7 @@ function PluginDetail({ plugin, onConnect, onDisconnect }: { plugin: Plugin } &
{plugin.fromMarketplace && <MarketplaceBadge publisher={plugin.publisher} />}
{plugin.selfUploaded && (
<span
- className="rounded-full border border-amber-500/40 bg-amber-500/10 px-1.5 text-[9px] font-medium uppercase tracking-wider text-amber-500"
+ className="rounded-full border border-foreground/40 bg-foreground/10 px-1.5 text-[9px] font-medium uppercase tracking-wider text-foreground"
title={translate("plugin_upload.unreviewed")}
>
{translate("plugin_upload.self_badge")}
@@ -1318,7 +1318,7 @@ function PluginDetail({ plugin, onConnect, onDisconnect }: { plugin: Plugin } &
className={cn(
"inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-60",
needsReconnect
- ? "border border-amber-500/50 bg-amber-500/10 text-amber-500 hover:bg-amber-500/20"
+ ? "border border-foreground/50 bg-foreground/10 text-foreground hover:bg-foreground/20"
: "bg-primary text-primary-foreground hover:bg-primary/90",
)}
>
@@ -1348,7 +1348,7 @@ function PluginDetail({ plugin, onConnect, onDisconnect }: { plugin: Plugin } &
/>
{plugin.status === "needs_reauth" ? (
- <div className="mt-4 rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2.5 text-xs">
+ <div className="mt-4 rounded-md border border-foreground/40 bg-foreground/10 px-3 py-2.5 text-xs">
<ReauthExplanation plugin={plugin} />
</div>
) : null}
@@ -1371,7 +1371,7 @@ function PluginDetail({ plugin, onConnect, onDisconnect }: { plugin: Plugin } &
{
label: translate("plugins_view.fact_connection"),
value: (
- <span className={cn(plugin.longevity === "provider_limited" && "text-amber-500")}>
+ <span className={cn(plugin.longevity === "provider_limited" && "text-foreground")}>
{LONGEVITY_LABEL[plugin.longevity]}
{plugin.longevityNote ? (
<span className="block text-xs text-muted-foreground">{plugin.longevityNote}</span>
@@ -1435,8 +1435,8 @@ function AttentionBanner({
: `${plugins.length} connections need reconnecting`;
return (
- <div className="mb-4 flex items-center gap-3 rounded-lg border border-amber-500/30 bg-amber-500/[0.07] px-3 py-2">
- <AlertTriangle className="h-4 w-4 shrink-0 text-amber-500" />
+ <div className="mb-4 flex items-center gap-3 rounded-lg border border-foreground/30 bg-foreground/[0.07] px-3 py-2">
+ <AlertTriangle className="h-4 w-4 shrink-0 text-foreground" />
<div className="min-w-0 flex-1">
<p className="truncate text-[13px] font-medium text-foreground">{headline}</p>
<p className="truncate text-xs text-muted-foreground">
@@ -1456,7 +1456,7 @@ function AttentionBanner({
<button
type="button"
onClick={onJump}
- className="inline-flex h-7 shrink-0 items-center gap-1.5 rounded-md border border-amber-500/40 bg-amber-500/10 px-2.5 text-xs font-medium text-amber-500 transition-colors hover:bg-amber-500/20"
+ className="inline-flex h-7 shrink-0 items-center gap-1.5 rounded-md border border-foreground/40 bg-foreground/10 px-2.5 text-xs font-medium text-foreground transition-colors hover:bg-foreground/20"
>
{one ? "Jump to it" : "Jump to first"}
<ArrowRight className="h-3.5 w-3.5" />
@@ -1537,7 +1537,7 @@ export function LongevityBadge({ plugin }: { plugin: Plugin }) {
title={plugin.longevityNote ?? LONGEVITY_LABEL[plugin.longevity]}
className={cn(
"text-[9px] font-medium uppercase tracking-wider",
- limited ? "text-amber-500/80" : "text-muted-foreground/45",
+ limited ? "text-foreground/80" : "text-muted-foreground/45",
)}
>
{LONGEVITY_LABEL[plugin.longevity]}
@@ -1571,13 +1571,13 @@ export function ReauthExplanation({ plugin, inline }: { plugin: Plugin; inline?:
const fix = plugin.longevity === "provider_limited" ? plugin.longevityNote : undefined;
if (inline) {
- return <span className="text-amber-500/90">{headline}</span>;
+ return <span className="text-foreground/90">{headline}</span>;
}
return (
<>
<p
- className="truncate text-xs text-amber-500/90"
+ className="truncate text-xs text-foreground/90"
title={
retrying
? `${headline}. Jarvis retries this once a day; reconnect to fix it now.`
@@ -1672,7 +1672,7 @@ export function ConnectIconButton({
disabled={busy}
aria-busy={busy}
className={cn(
- "grid h-7 w-7 shrink-0 place-items-center rounded-full border border-amber-500/50 bg-amber-500/10 text-amber-500 transition-all hover:bg-amber-500/20 group-hover:scale-105",
+ "grid h-7 w-7 shrink-0 place-items-center rounded-full border border-foreground/50 bg-foreground/10 text-foreground transition-all hover:bg-foreground/20 group-hover:scale-105",
busy && "cursor-not-allowed opacity-60 group-hover:scale-100",
)}
aria-label="Reconnect plugin"
@@ -2228,11 +2228,11 @@ export function PkceConnectDialog({
<div className="space-y-3 px-5 py-4">
{isGoogle && (
- <div className="rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2.5 text-[11px] leading-relaxed">
- <p className="font-medium text-amber-300">
+ <div className="rounded-md border border-foreground/40 bg-foreground/10 px-3 py-2.5 text-[11px] leading-relaxed">
+ <p className="font-medium text-foreground">
Keep it connected permanently
</p>
- <p className="mt-1 text-amber-200/90">
+ <p className="mt-1 text-foreground/90">
Google drops the connection every 7 days while your OAuth app is
in "Testing". Publish your app to <strong>In production</strong>{" "}
(it can stay unverified for personal use) so it never expires.
@@ -2241,7 +2241,7 @@ export function PkceConnectDialog({
href="https://console.cloud.google.com/auth/audience"
target="_blank"
rel="noreferrer"
- className="mt-1.5 inline-flex items-center gap-1 font-medium text-amber-300 underline underline-offset-2 hover:text-amber-200"
+ className="mt-1.5 inline-flex items-center gap-1 font-medium text-foreground underline underline-offset-2 hover:text-foreground"
>
Open Google Cloud Console <ExternalLink className="h-3 w-3" />
</a>
@@ -2251,7 +2251,7 @@ export function PkceConnectDialog({
{fam && (
<div>
{clientRequired && (
- <p className="mb-2 rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-[11px] leading-relaxed text-amber-200">
+ <p className="mb-2 rounded-md border border-foreground/40 bg-foreground/10 px-3 py-2 text-[11px] leading-relaxed text-foreground">
This installation has no {fam.label} OAuth client yet. Add
your own Client ID below before browser sign-in can start.
</p>
@@ -2652,7 +2652,7 @@ export function PatConnectDialog({
disabled={isPending}
/>
{token && expectedPrefix && !prefixOk && (
- <p className="mt-1.5 text-[11px] text-amber-400">
+ <p className="mt-1.5 text-[11px] text-foreground">
Should start with{" "}
<span className="font-mono">{expectedPrefix}_</span>
</p>
@@ -2681,7 +2681,7 @@ export function PatConnectDialog({
first person who messages it claim access instead.
</p>
{userIdTrimmed !== "" && !userIdOk && (
- <p className="mt-1 text-[11px] text-amber-400">
+ <p className="mt-1 text-[11px] text-foreground">
User id must be digits only.
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/ProfileView.tsx b/jarvis/ui/web/frontend/src/views/ProfileView.tsx
index c2de5e3958..97bdd735ea 100644
--- a/jarvis/ui/web/frontend/src/views/ProfileView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ProfileView.tsx
@@ -1210,7 +1210,7 @@ function ReviewRow({
const t = useT();
const conf = candidate.confidence;
const confColor =
- conf >= 0.7 ? "text-emerald-400" : conf >= 0.5 ? "text-amber-400" : "text-muted-foreground";
+ conf >= 0.7 ? "text-emerald-400" : conf >= 0.5 ? "text-foreground" : "text-muted-foreground";
return (
<li className="rounded-xl border border-sheen/[0.06] bg-sheen/[0.02] p-4 transition-colors hover:border-primary/25">
diff --git a/jarvis/ui/web/frontend/src/views/SessionsView.tsx b/jarvis/ui/web/frontend/src/views/SessionsView.tsx
index 30082ec0d3..7e42a7ac0b 100644
--- a/jarvis/ui/web/frontend/src/views/SessionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SessionsView.tsx
@@ -50,9 +50,9 @@ export function SessionsView() {
/>
{errorMessage && /HTTP 503/.test(errorMessage) && (
- <div className="border-b border-amber-400/30 bg-amber-400/10 px-5 py-3 text-sm text-amber-200">
+ <div className="border-b border-foreground/30 bg-foreground/10 px-5 py-3 text-sm text-foreground">
<div className="font-medium">{t("sessions_view.recorder_disabled")}</div>
- <div className="mt-0.5 text-xs text-amber-200/80">
+ <div className="mt-0.5 text-xs text-foreground/80">
{t("sessions_view.recorder_hint_a")}{" "}
<code className="font-mono">[sessions]</code>{" "}
{t("sessions_view.recorder_hint_b")}{" "}
diff --git a/jarvis/ui/web/frontend/src/views/SettingsView.tsx b/jarvis/ui/web/frontend/src/views/SettingsView.tsx
index 74c70eaa18..86e8cf981b 100644
--- a/jarvis/ui/web/frontend/src/views/SettingsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SettingsView.tsx
@@ -534,7 +534,7 @@ function WakeWordPanel() {
{/* Any-phrase enablement: install the local speech pack in-app so
an arbitrary wake word works, instead of silently degrading. */}
{showNeedsWhisperHint && (
- <div className="mt-3 rounded-md border border-amber-500/40 bg-amber-500/10 p-3 text-xs text-amber-500">
+ <div className="mt-3 rounded-md border border-foreground/40 bg-foreground/10 p-3 text-xs text-foreground">
<p>{t("settings_view.wake_word.needs_whisper_hint")}</p>
{installStatus.state === "idle" && (
@@ -615,7 +615,7 @@ function WakeWordPanel() {
className={`mt-3 rounded-md border p-3 text-xs ${
selfTest.data.ok
? "border-primary/40 bg-primary/10 text-foreground"
- : "border-amber-500/40 bg-amber-500/10 text-amber-500"
+ : "border-foreground/40 bg-foreground/10 text-foreground"
}`}
>
<p>{selfTest.data.message}</p>
@@ -635,7 +635,7 @@ function WakeWordPanel() {
<div
className={`mt-3 rounded-md border p-3 text-xs ${
result.degraded
- ? "border-amber-500/40 bg-amber-500/10 text-amber-500"
+ ? "border-foreground/40 bg-foreground/10 text-foreground"
: "border-primary/40 bg-primary/10 text-foreground"
}`}
>
diff --git a/jarvis/ui/web/frontend/src/views/SkillCreateDialog.tsx b/jarvis/ui/web/frontend/src/views/SkillCreateDialog.tsx
index 02d571977e..24eb0ae42a 100644
--- a/jarvis/ui/web/frontend/src/views/SkillCreateDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillCreateDialog.tsx
@@ -240,7 +240,7 @@ export function SkillCreateDialog({
className={
aiOk
? "flex items-start gap-2 rounded-md border border-emerald-500/40 bg-emerald-500/10 p-3 text-xs text-emerald-300"
- : "flex items-start gap-2 rounded-md border border-amber-500/40 bg-amber-500/10 p-3 text-xs text-amber-300"
+ : "flex items-start gap-2 rounded-md border border-foreground/40 bg-foreground/10 p-3 text-xs text-foreground"
}
>
{aiOk ? (
diff --git a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
index fd5839b3d9..e191018fdc 100644
--- a/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillFinderDialog.tsx
@@ -396,7 +396,7 @@ function DropdownPicker({
const TRUST_COLORS: Record<string, string> = {
official: "bg-emerald-500/15 text-emerald-400 border-emerald-500/30",
verified: "bg-blue-500/15 text-blue-400 border-blue-500/30",
- community: "bg-amber-500/15 text-amber-400 border-amber-500/30",
+ community: "bg-foreground/15 text-foreground border-foreground/30",
experimental: "bg-rose-500/15 text-rose-400 border-rose-500/30",
};
diff --git a/jarvis/ui/web/frontend/src/views/SkillUploadDialog.tsx b/jarvis/ui/web/frontend/src/views/SkillUploadDialog.tsx
index 774876d5c2..c15c2f2061 100644
--- a/jarvis/ui/web/frontend/src/views/SkillUploadDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillUploadDialog.tsx
@@ -487,7 +487,7 @@ function Notice({
// appearances instead of borrowing one that only reads in the dark.
tone === "error"
? "border-destructive/40 bg-destructive/10 text-destructive"
- : "border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",
+ : "border-foreground/40 bg-foreground/10 text-foreground",
)}
>
<span className="mt-0.5 shrink-0">{icon}</span>
diff --git a/jarvis/ui/web/frontend/src/views/TelephonyView.tsx b/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
index c8304ed14e..aaea6cd1d2 100644
--- a/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
+++ b/jarvis/ui/web/frontend/src/views/TelephonyView.tsx
@@ -101,7 +101,7 @@ interface TelephonyCall {
type CallStatus = "ringing" | "in_progress" | "completed" | "failed" | "no_audio";
const CALL_STATUS_STYLE: Record<CallStatus, string> = {
- ringing: "bg-amber-500/10 text-amber-600",
+ ringing: "bg-foreground/10 text-foreground",
in_progress: "bg-primary/10 text-primary",
completed: "bg-emerald-500/10 text-emerald-600",
failed: "bg-destructive/10 text-destructive",
diff --git a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx b/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
index 918589df0c..c6b7211850 100644
--- a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
+++ b/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
@@ -100,7 +100,7 @@ const RUN_DOT: Record<OutputStatus, string> = {
success: "bg-emerald-400",
error: "bg-destructive",
running: "bg-primary animate-pulse",
- cancelled: "bg-amber-400",
+ cancelled: "bg-foreground",
unknown: "bg-muted-foreground/50",
};
diff --git a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
index f8c5f3ac07..3e98831343 100644
--- a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
@@ -204,7 +204,7 @@ function IntegrationsBanner({
{iss.name}:
</span>{" "}
{iss.has_partial && (
- <span className="text-amber-300">
+ <span className="text-foreground">
{iss.has_partial} —{" "}
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/views/automations/CatalogueCard.tsx b/jarvis/ui/web/frontend/src/views/automations/CatalogueCard.tsx
index cb2e48f935..3137d816b9 100644
--- a/jarvis/ui/web/frontend/src/views/automations/CatalogueCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/automations/CatalogueCard.tsx
@@ -54,7 +54,7 @@ export function CatalogueCard({
</div>
{needsSomething && (
- <p className="mt-2 truncate text-[11px] text-amber-600 dark:text-amber-400/90">
+ <p className="mt-2 truncate text-[11px] text-foreground/90">
{fill(t("automations_view.needs"), { tools: humanizeMissing(template.missing) })}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/automations/shared.tsx b/jarvis/ui/web/frontend/src/views/automations/shared.tsx
index 54c05be587..2a9a95fddc 100644
--- a/jarvis/ui/web/frontend/src/views/automations/shared.tsx
+++ b/jarvis/ui/web/frontend/src/views/automations/shared.tsx
@@ -66,7 +66,7 @@ const DOT_CLASS: Record<TaskState, string> = {
completed: "bg-emerald-500",
failed: "bg-destructive",
cancelled: "bg-muted-foreground/50",
- interrupted: "bg-amber-500",
+ interrupted: "bg-foreground",
};
/** A coloured state dot with the localized state as its accessible name. */
diff --git a/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx b/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
index 2cc739a612..6c1e240bf8 100644
--- a/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
+++ b/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
@@ -410,7 +410,7 @@ export function FeedbackView() {
},
not_configured: {
text: t("feedback.result_not_configured"),
- cls: "border-amber-500/40 bg-amber-500/10 text-amber-600 dark:text-amber-400",
+ cls: "border-foreground/40 bg-foreground/10 text-foreground",
},
github_opened: {
text: t("feedback.result_github_opened"),
@@ -418,7 +418,7 @@ export function FeedbackView() {
},
github_opened_trimmed: {
text: t("feedback.result_github_trimmed"),
- cls: "border-amber-500/40 bg-amber-500/10 text-amber-600 dark:text-amber-400",
+ cls: "border-foreground/40 bg-foreground/10 text-foreground",
},
};
diff --git a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
index 95e00a4501..f792d35a2d 100644
--- a/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
+++ b/jarvis/ui/web/frontend/src/views/friends/StatusTab.tsx
@@ -71,12 +71,12 @@ export function StatusTab() {
</div>
)}
- <div className="rounded-md border border-amber-400/40 bg-amber-400/10 px-4 py-3 text-[11px] text-amber-100">
- <div className="flex items-center gap-2 font-display text-xs font-semibold text-amber-300">
+ <div className="rounded-md border border-foreground/40 bg-foreground/10 px-4 py-3 text-[11px] text-foreground">
+ <div className="flex items-center gap-2 font-display text-xs font-semibold text-foreground">
<ShieldAlert className="h-3.5 w-3.5" />
{t("status_tab.hard_blacklist_title")}
</div>
- <p className="mt-1 text-amber-100/90">
+ <p className="mt-1 text-foreground/90">
{t("status_tab.hard_blacklist_body")}
</p>
</div>
diff --git a/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx
index dc9a639914..ee5d9f831f 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx
@@ -117,7 +117,7 @@ function FitNote({ fit, note }: { fit?: string; note?: string }) {
className={cn(
"text-xs",
fit === "tight"
- ? "text-amber-600 dark:text-amber-400"
+ ? "text-foreground"
: "text-muted-foreground",
)}
>
@@ -373,7 +373,7 @@ function RecommendedList({
t={t}
/>
{!data.server_reachable && data.message && (
- <p className="text-xs text-amber-600 dark:text-amber-400">
+ <p className="text-xs text-foreground">
{data.message}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
index 2e4140bc3f..441c89a6bc 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
@@ -521,7 +521,7 @@ function FileRow({
className={cn(
"text-xs",
file.fit === "tight"
- ? "text-amber-600 dark:text-amber-400"
+ ? "text-foreground"
: file.fit === "comfortable"
? "text-emerald-600 dark:text-emerald-400"
: "text-muted-foreground",
@@ -534,7 +534,7 @@ function FileRow({
{file.filename}
</div>
{file.fit === "tight" && file.fit_note && (
- <div className="text-[11px] text-amber-600 dark:text-amber-400">
+ <div className="text-[11px] text-foreground">
{file.fit_note}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/InstalledPanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/InstalledPanel.tsx
index d99e5293fa..dfaffa4468 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/InstalledPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/InstalledPanel.tsx
@@ -140,7 +140,7 @@ export function InstalledPanel({
{error && (
<p
- className="text-sm text-amber-700 dark:text-amber-400"
+ className="text-sm text-foreground"
data-testid="installed-error"
>
{error}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
index 76a69e4536..0206854b71 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/InventoryPanel.tsx
@@ -193,7 +193,7 @@ function DeleteDrawer({
</p>
{conflict && (
<p
- className="text-sm text-amber-600 dark:text-amber-400"
+ className="text-sm text-foreground"
data-testid="delete-conflict"
>
{conflict}
@@ -395,7 +395,7 @@ export function InventoryPanel({ providerId }: InventoryPanelProps) {
)}
{inventory.data?.error && (
<p
- className="text-sm text-amber-600 dark:text-amber-400"
+ className="text-sm text-foreground"
data-testid="inventory-server-error"
>
{inventory.data.error}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx b/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx
index 5e0a78f9c7..5165656f0c 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx
@@ -52,7 +52,7 @@ export function MemoryStrip({ resident, roleLabel }: MemoryStripProps) {
<p
className={cn(
"text-xs font-medium tabular-nums",
- resident.over ? "text-amber-700 dark:text-amber-400" : "text-foreground",
+ resident.over ? "text-foreground" : "text-foreground",
)}
data-testid="memory-strip-total"
>
diff --git a/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx b/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx
index f770c027de..55565d51db 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx
@@ -90,9 +90,9 @@ const RING: Record<ModelCardState, string> = {
unknown: "border-border",
// Amber and red carry meanings the token set has no name for; the accent
// stays for the memory bar and the primary button.
- slow: "border-amber-500/40",
+ slow: "border-foreground/40",
unfit: "border-destructive/50",
- missing: "border-amber-500/50",
+ missing: "border-foreground/50",
empty: "border-dashed border-border",
blocked: "border-border/60",
};
@@ -100,9 +100,9 @@ const RING: Record<ModelCardState, string> = {
const VERDICT_TONE: Record<ModelCardState, string> = {
ready: "text-emerald-600 dark:text-emerald-400",
unknown: "text-muted-foreground",
- slow: "text-amber-700 dark:text-amber-400",
+ slow: "text-foreground",
unfit: "text-destructive",
- missing: "text-amber-700 dark:text-amber-400",
+ missing: "text-foreground",
empty: "text-muted-foreground",
blocked: "text-muted-foreground",
};
@@ -330,7 +330,7 @@ export function ModelCard({
<div
className={cn(
"h-full transition-[width] duration-500 ease-out",
- overBudget ? "bg-amber-500" : "bg-primary",
+ overBudget ? "bg-foreground" : "bg-primary",
)}
style={{
width: `${Math.min(100, Math.round((weightsGb / Math.max(acceleratorGb, totalGb, 0.01)) * 100))}%`,
@@ -338,7 +338,7 @@ export function ModelCard({
data-testid={`model-card-memory-fill-${row.id}`}
/>
<div
- className={cn("h-full", overBudget ? "bg-amber-500/50" : "bg-primary/40")}
+ className={cn("h-full", overBudget ? "bg-foreground/50" : "bg-primary/40")}
style={{
width: `${Math.min(100, Math.round((contextGb / Math.max(acceleratorGb, totalGb, 0.01)) * 100))}%`,
}}
diff --git a/jarvis/ui/web/frontend/src/views/local-models/OverviewPanel.tsx b/jarvis/ui/web/frontend/src/views/local-models/OverviewPanel.tsx
index 9765870611..b86fc49d38 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/OverviewPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/OverviewPanel.tsx
@@ -168,7 +168,7 @@ export function OverviewPanel({
)}
{serverSilent && (
<p
- className="text-sm text-amber-700 dark:text-amber-400"
+ className="text-sm text-foreground"
data-testid="roles-server-silent"
>
{t("local_models.roles.server_silent")}
@@ -183,7 +183,7 @@ export function OverviewPanel({
)}
{otherBrainActive && (
<p
- className="text-sm text-amber-700 dark:text-amber-400"
+ className="text-sm text-foreground"
data-testid="overview-brain-clause"
>
{fill(t("local_models.overview.status_brain_other"), {
@@ -364,7 +364,7 @@ function SideJobRow({
</div>
<div className="flex items-center gap-2 lg:justify-end">
{missing && (
- <span className="text-xs text-amber-700 dark:text-amber-400">
+ <span className="text-xs text-foreground">
{t("local_models.jobs.not_on_disk")}
</span>
)}
@@ -551,7 +551,7 @@ function SetupProgress({
))}
{step.phase === "done" && otherBrain && brain.state !== "done" && (
<div
- className="ml-4 flex flex-wrap items-center gap-2 text-amber-700 dark:text-amber-400"
+ className="ml-4 flex flex-wrap items-center gap-2 text-foreground"
data-testid="setup-brain"
>
<span>
diff --git a/jarvis/ui/web/frontend/src/views/local-models/RolePicker.tsx b/jarvis/ui/web/frontend/src/views/local-models/RolePicker.tsx
index 3bc5272da7..b91a8c654f 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/RolePicker.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/RolePicker.tsx
@@ -166,7 +166,7 @@ export function buildGroups(
const TONE_TEXT: Record<FitTone, string> = {
ok: "text-emerald-600 dark:text-emerald-400",
- warn: "text-amber-700 dark:text-amber-400",
+ warn: "text-foreground",
bad: "text-destructive",
muted: "text-muted-foreground",
};
diff --git a/jarvis/ui/web/frontend/src/views/local-models/TuneSheet.tsx b/jarvis/ui/web/frontend/src/views/local-models/TuneSheet.tsx
index 9e4eb63e42..99b21aa28f 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/TuneSheet.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/TuneSheet.tsx
@@ -331,7 +331,7 @@ export function TuneSheet({ providerId, model, onClose }: TuneSheetProps) {
</p>
)}
{suggested.isError && (
- <p className="mt-2 text-xs text-amber-600 dark:text-amber-400">
+ <p className="mt-2 text-xs text-foreground">
{suggested.error instanceof Error
? suggested.error.message
: k("suggested_failed")}
@@ -375,7 +375,7 @@ export function TuneSheet({ providerId, model, onClose }: TuneSheetProps) {
</Knob>
{overSuggested && typeof draft.num_ctx === "number" && (
<p
- className="text-xs text-amber-600 dark:text-amber-400"
+ className="text-xs text-foreground"
data-testid="tune-ctx-warning"
>
{fill(k("num_ctx_over_suggested"), {
diff --git a/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
index ca770932f3..6c38fd4db2 100644
--- a/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
@@ -193,7 +193,7 @@ function AutostartRow() {
{error && <p className="mt-3 text-xs text-destructive">{error}</p>}
{!supported && !loading && (
- <p className="mt-3 text-xs text-amber-500">
+ <p className="mt-3 text-xs text-foreground">
{config?.detail || t("settings_view.autostart.unsupported")}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
index 012cf063a1..fded64b8c1 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
@@ -748,7 +748,7 @@ export function KeybindRow({
showValidation
? isError
? "text-destructive"
- : "text-amber-400"
+ : "text-foreground"
: "text-muted-foreground"
}`}
>
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
index a220baf4c0..c21b6cfe72 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
@@ -72,7 +72,7 @@ function Key({
: selected
? "border-primary bg-primary/20 text-primary"
: boundLabel
- ? "border-amber-500/50 bg-amber-500/10 text-amber-200"
+ ? "border-foreground/50 bg-foreground/10 text-foreground"
: bindable
? // Hover stays clearly weaker than the "pressed" fill — a full
// bg-accent hover read as "this key is pressed" in live testing.
@@ -95,7 +95,7 @@ function Key({
>
<span className="truncate">{cap.label}</span>
{boundLabel && !pressed && (
- <span className="absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-amber-400" />
+ <span className="absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-foreground" />
)}
</button>
);
@@ -217,7 +217,7 @@ export function KeyboardMap({
{t("settings_view.keybinds.keyboard.legend_selected")}
</span>
<span className="flex items-center gap-1">
- <span className="inline-block h-2.5 w-2.5 rounded-full bg-amber-400" />
+ <span className="inline-block h-2.5 w-2.5 rounded-full bg-foreground" />
{t("settings_view.keybinds.keyboard.legend_bound")}
</span>
<span className="ml-auto">
diff --git a/jarvis/ui/web/frontend/src/views/settings/OverlayTaskbarGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/OverlayTaskbarGroup.tsx
index 737a45acdd..dc9e4804fa 100644
--- a/jarvis/ui/web/frontend/src/views/settings/OverlayTaskbarGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/OverlayTaskbarGroup.tsx
@@ -353,7 +353,7 @@ function OverlayStylePanel() {
{needsRestart && (
<div className="mt-3 flex flex-wrap items-center gap-3">
- <p className="text-xs text-amber-500">
+ <p className="text-xs text-foreground">
{t("settings_view.overlay_style.restart_required")}
</p>
<button
diff --git a/jarvis/ui/web/frontend/src/views/settings/PermissionsPanel.tsx b/jarvis/ui/web/frontend/src/views/settings/PermissionsPanel.tsx
index 7933ba55a0..1065c9d5e6 100644
--- a/jarvis/ui/web/frontend/src/views/settings/PermissionsPanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/PermissionsPanel.tsx
@@ -119,7 +119,7 @@ export function PermissionRows({
return (
<div className="space-y-2">
{snapshot?.app_identity.stable === false && (
- <div className="flex items-start gap-2 rounded-lg border border-amber-500/40 bg-amber-500/5 p-3 text-xs text-amber-500">
+ <div className="flex items-start gap-2 rounded-lg border border-foreground/40 bg-foreground/5 p-3 text-xs text-foreground">
<CircleAlert className="mt-0.5 h-4 w-4 shrink-0" />
{t("permissions.identity_warning")}
</div>
@@ -127,7 +127,7 @@ export function PermissionRows({
{/* A rebuild changed the app's signature, so macOS discarded every
recorded grant. Without this the app just looks amnesic. */}
{snapshot?.identity_reset && (
- <div className="flex items-start gap-2 rounded-lg border border-amber-500/40 bg-amber-500/5 p-3 text-xs text-amber-500">
+ <div className="flex items-start gap-2 rounded-lg border border-foreground/40 bg-foreground/5 p-3 text-xs text-foreground">
<CircleAlert className="mt-0.5 h-4 w-4 shrink-0" />
{t("permissions.identity_reset")}
</div>
@@ -149,8 +149,8 @@ export function PermissionRows({
</p>
)}
{snapshot?.restart_required && !deferRestartNote && (
- <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-amber-500/40 bg-amber-500/5 p-3">
- <p className="text-xs text-amber-500">{t("permissions.restart_required")}</p>
+ <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-foreground/40 bg-foreground/5 p-3">
+ <p className="text-xs text-foreground">{t("permissions.restart_required")}</p>
<Button size="sm" disabled={restarting} onClick={() => void restartApp()}>
{restarting && <Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />}
{t(restarting ? "permissions.restarting" : "permissions.restart_now")}
@@ -225,7 +225,7 @@ function PermissionRow({
className={`rounded-full px-2 py-1 text-[10px] font-medium uppercase tracking-wide ${
ready
? "bg-emerald-500/10 text-emerald-500"
- : "bg-amber-500/10 text-amber-500"
+ : "bg-foreground/10 text-foreground"
}`}
>
{t(`permissions.status.${statusKey}`)}
@@ -250,7 +250,7 @@ function PermissionRow({
)}
</div>
{showStaleHint && (
- <p className="mt-2 text-xs text-amber-500">{t("permissions.stale_grant_hint")}</p>
+ <p className="mt-2 text-xs text-foreground">{t("permissions.stale_grant_hint")}</p>
)}
</div>
);
diff --git a/jarvis/ui/web/frontend/src/views/settings/RealtimeVoiceGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/RealtimeVoiceGroup.tsx
index aa2cc76327..810bf0bebe 100644
--- a/jarvis/ui/web/frontend/src/views/settings/RealtimeVoiceGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/RealtimeVoiceGroup.tsx
@@ -88,7 +88,7 @@ export function RealtimeVoiceGroup() {
{on && lastStartError && (
<p
data-testid="realtime-last-start-error"
- className="mt-1 text-[11px] leading-snug text-amber-600 dark:text-amber-400"
+ className="mt-1 text-[11px] leading-snug text-foreground"
aria-live="polite"
>
{t("voice_state.connect_failed")
@@ -99,7 +99,7 @@ export function RealtimeVoiceGroup() {
{offerDetail && (
<p
data-testid="realtime-transport-offer-detail"
- className="mt-1 text-[11px] leading-snug text-amber-600 dark:text-amber-400"
+ className="mt-1 text-[11px] leading-snug text-foreground"
aria-live="polite"
>
{offerDetail}
diff --git a/jarvis/ui/web/frontend/src/views/settings/ScreenContextGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/ScreenContextGroup.tsx
index e83d56099a..b644b1950f 100644
--- a/jarvis/ui/web/frontend/src/views/settings/ScreenContextGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/ScreenContextGroup.tsx
@@ -129,7 +129,7 @@ export function ScreenContextGroup() {
{settings?.enabled && status && (
<p
className={`mt-1.5 text-[11px] ${
- status.available ? "text-emerald-400" : "text-amber-400"
+ status.available ? "text-emerald-400" : "text-foreground"
}`}
aria-live="polite"
>
diff --git a/jarvis/ui/web/frontend/src/views/settings/SystemPromptGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/SystemPromptGroup.tsx
index bafee0cec3..9107645b15 100644
--- a/jarvis/ui/web/frontend/src/views/settings/SystemPromptGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/SystemPromptGroup.tsx
@@ -106,7 +106,7 @@ export function SystemPromptGroup() {
{t("settings_view.system_prompt.chars").replace("{0}", String(draft.length))}
</span>
{trimmedEmpty && (
- <span className="text-[11px] text-amber-500">
+ <span className="text-[11px] text-foreground">
{t("settings_view.system_prompt.empty_hint")}
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/views/settings/WikiProviderCard.tsx b/jarvis/ui/web/frontend/src/views/settings/WikiProviderCard.tsx
index 57a53940f4..d2cb99139f 100644
--- a/jarvis/ui/web/frontend/src/views/settings/WikiProviderCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/WikiProviderCard.tsx
@@ -218,7 +218,7 @@ export function WikiProviderCard() {
</span>
</p>
{resolved.ready === false && (
- <p className="text-[11px] text-amber-500">
+ <p className="text-[11px] text-foreground">
{t("wiki_provider.resolved_fallback_warning")}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
index ac68ed2703..eca262b3f1 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
@@ -83,7 +83,7 @@ const TONE_TEXT: Record<StoryTone, string> = {
neutral: "text-muted-foreground",
busy: "text-primary",
ok: "text-emerald-600 dark:text-emerald-400",
- warn: "text-amber-600 dark:text-amber-400",
+ warn: "text-foreground",
error: "text-destructive",
};
@@ -91,7 +91,7 @@ const STAMP: Record<StoryTone, string> = {
neutral: "border-border text-muted-foreground",
busy: "border-primary/60 text-primary",
ok: "border-emerald-500/60 text-emerald-600 dark:text-emerald-400",
- warn: "border-amber-500/60 text-amber-600 dark:text-amber-400",
+ warn: "border-foreground/60 text-foreground",
error: "border-destructive/60 text-destructive",
};
@@ -855,7 +855,7 @@ function TranscriptFold({
{open && (
<div className="border-t border-border/70">
{(truncated || dropped > 0) && (
- <div className="px-5 py-2 text-xs text-amber-600 dark:text-amber-400">
+ <div className="px-5 py-2 text-xs text-foreground">
{dropped > 0 ? fill(t("subagents_view.transcript_dropped"), { n: dropped }) : t("subagents_view.transcript_truncated")}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
index 333219133b..1f3cbbb7b2 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
@@ -329,7 +329,7 @@ function Notice({
"flex items-center gap-2 rounded-xl border px-3.5 py-2.5 text-sm",
tone === "error"
? "border-destructive/30 bg-destructive/10 text-destructive"
- : "border-amber-500/30 bg-amber-500/10 text-amber-600 dark:text-amber-400",
+ : "border-foreground/30 bg-foreground/10 text-foreground",
)}
>
<CircleAlert className="h-4 w-4 shrink-0" />
diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts b/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
index 3235491171..4fb353de7c 100644
--- a/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
+++ b/jarvis/ui/web/frontend/src/views/sub-agents/tool-icons.ts
@@ -78,9 +78,9 @@ export function getToolAppearance(
return {
Icon: Code2,
label: agentBrandNow(),
- bg: "bg-orange-950",
- ring: "ring-orange-500",
- iconColor: "text-orange-300",
+ bg: "bg-foreground",
+ ring: "ring-foreground",
+ iconColor: "text-foreground",
};
}
if (matches(args, "codex")) {
@@ -208,9 +208,9 @@ export function getToolAppearance(
return {
Icon: Folder,
label: "Explorer",
- bg: "bg-amber-950",
- ring: "ring-amber-500",
- iconColor: "text-amber-300",
+ bg: "bg-foreground",
+ ring: "ring-foreground",
+ iconColor: "text-foreground",
};
}
if (matches(args, "http") || matches(args, "www") || matches(args, ".com")) {
@@ -246,9 +246,9 @@ export function getToolAppearance(
return {
Icon: MessageSquare,
label: "Remember",
- bg: "bg-amber-950",
- ring: "ring-amber-500",
- iconColor: "text-amber-300",
+ bg: "bg-foreground",
+ ring: "ring-foreground",
+ iconColor: "text-foreground",
};
}
diff --git a/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx b/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx
index d2f218477a..5c3c24e057 100644
--- a/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx
+++ b/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx
@@ -525,7 +525,7 @@ export function TaskCreateDialog({ onClose, initialDraft }: TaskCreateDialogProp
<p className="text-xs text-muted-foreground">{t("tasks_view.create.plugins_loading")}</p>
) : plugins.length === 0 ? (
<p className="flex items-center gap-1.5 text-xs text-muted-foreground">
- <AlertTriangle className="h-3.5 w-3.5 text-amber-400/80" />
+ <AlertTriangle className="h-3.5 w-3.5 text-foreground/80" />
{t("tasks_view.create.plugins_empty")}
</p>
) : (
@@ -564,8 +564,8 @@ export function TaskCreateDialog({ onClose, initialDraft }: TaskCreateDialogProp
</div>
)}
{hasElevatedGrant && (
- <p className="flex items-start gap-1.5 rounded-lg border border-amber-400/30 bg-amber-400/5 px-3 py-2 text-[11px] leading-relaxed text-amber-200/90">
- <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-400/80" />
+ <p className="flex items-start gap-1.5 rounded-lg border border-foreground/30 bg-foreground/5 px-3 py-2 text-[11px] leading-relaxed text-foreground/90">
+ <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground/80" />
{t("tasks_view.create.unattended_hint")}
</p>
)}
diff --git a/jarvis/ui/web/frontend/src/views/voice/ShortcutsTab.tsx b/jarvis/ui/web/frontend/src/views/voice/ShortcutsTab.tsx
index 446f66fc26..8c09b2c3c0 100644
--- a/jarvis/ui/web/frontend/src/views/voice/ShortcutsTab.tsx
+++ b/jarvis/ui/web/frontend/src/views/voice/ShortcutsTab.tsx
@@ -144,10 +144,10 @@ export function ShortcutsTab({ hideHeader = false }: ShortcutsTabProps = {}) {
{pttIsToggle && (
<div
- className="flex items-start gap-3 rounded-lg border border-amber-500/40 bg-amber-500/10 p-3"
+ className="flex items-start gap-3 rounded-lg border border-foreground/40 bg-foreground/10 p-3"
data-testid="shortcuts-mode-notice"
>
- <AlertTriangle className="mt-0.5 h-4 w-4 shrink-0 text-amber-500" />
+ <AlertTriangle className="mt-0.5 h-4 w-4 shrink-0 text-foreground" />
<div className="min-w-0 flex-1">
<p className="text-xs text-muted-foreground">
{t("voice.shortcuts.mode_notice")}
@@ -180,7 +180,7 @@ export function ShortcutsTab({ hideHeader = false }: ShortcutsTabProps = {}) {
/>
{row.action === "paste_last" && insertionBlocked && (
<p
- className="text-[11px] text-amber-500"
+ className="text-[11px] text-foreground"
data-testid="shortcuts-paste-last-blocked"
>
{t("voice.shortcuts.paste_last_blocked")}