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.

fix(theme): full white is for actions — quiet the indicators, and give the mascot two marking roles

rubenluetke10-beep4bc81521553d
diff --git a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
index cf008ebf28..08a1698f26 100644
--- a/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
+++ b/jarvis/ui/web/frontend/src/components/AccountUsageMeters.tsx
@@ -33,14 +33,14 @@ import { cn } from "@/lib/utils";
/**
* Bar colour per severity.
*
- * `bg-primary` and `bg-destructive` are theme tokens, so they follow light and
+ * `bg-foreground/70` and `bg-destructive` are theme tokens, so they follow light and
* dark mode on their own. The middle step is a fixed orange on purpose: the
* brand accent IS amber, so a token-based "warning" would be nearly the same
* hue as "normal" and the one transition that has to be noticed would be the
* one you cannot see.
*/
const BAR_CLASS: Record<string, string> = {
- normal: "bg-primary",
+ normal: "bg-foreground/70",
warning: "bg-foreground",
critical: "bg-destructive",
};
diff --git a/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx b/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
index ee20482e0f..1fac9ab8b8 100644
--- a/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/AgentAccountsPanel.tsx
@@ -344,7 +344,7 @@ function PlatformCard({
type="button"
onClick={() => void add()}
disabled={!label.trim() || busy === `add:${platform}`}
- className="shrink-0 rounded-lg bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground disabled:opacity-50"
+ className="shrink-0 rounded-lg bg-foreground/70 px-3 py-1.5 text-xs font-medium text-primary-foreground disabled:opacity-50"
>
{t("agent_accounts.add_confirm")}
</button>
@@ -488,7 +488,7 @@ function AccountRow({
className={cn(
"grid h-4 w-4 shrink-0 place-items-center rounded-full border",
active
- ? "border-primary bg-primary text-primary-foreground"
+ ? "border-primary bg-foreground/70 text-primary-foreground"
: "border-muted-foreground/50 hover:border-primary",
)}
>
@@ -523,7 +523,7 @@ function AccountRow({
type="button"
onClick={() => void signIn()}
disabled={pending}
- className="inline-flex shrink-0 items-center gap-1 rounded-lg bg-primary px-2 py-1 text-[11px] font-medium text-primary-foreground disabled:opacity-50"
+ className="inline-flex shrink-0 items-center gap-1 rounded-lg bg-foreground/70 px-2 py-1 text-[11px] font-medium text-primary-foreground disabled:opacity-50"
>
<LogIn className="h-3 w-3" />
{t("agent_accounts.sign_in")}
@@ -750,7 +750,7 @@ function LoginFlowBox({
type="button"
onClick={() => void submit()}
disabled={!code.trim() || sending}
- className="shrink-0 rounded-lg bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground disabled:opacity-50"
+ className="shrink-0 rounded-lg bg-foreground/70 px-3 py-1.5 text-xs font-medium text-primary-foreground disabled:opacity-50"
>
{t("agent_accounts.flow.submit")}
</button>
@@ -762,7 +762,7 @@ function LoginFlowBox({
<button
type="button"
onClick={onRetry}
- className="rounded-lg bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground"
+ className="rounded-lg bg-foreground/70 px-3 py-1.5 text-xs font-medium text-primary-foreground"
>
{t("agent_accounts.flow.retry")}
</button>
diff --git a/jarvis/ui/web/frontend/src/components/AuthGate.tsx b/jarvis/ui/web/frontend/src/components/AuthGate.tsx
index 330f00fd36..d36c81b8ec 100644
--- a/jarvis/ui/web/frontend/src/components/AuthGate.tsx
+++ b/jarvis/ui/web/frontend/src/components/AuthGate.tsx
@@ -207,7 +207,7 @@ export function AuthGate({ children }: AuthGateProps) {
</p>
)}
<button
- className="mt-4 w-full rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground disabled:cursor-not-allowed disabled:opacity-60"
+ className="mt-4 w-full rounded-md bg-foreground/70 px-3 py-2 text-sm font-medium text-primary-foreground disabled:cursor-not-allowed disabled:opacity-60"
disabled={!controlKey.trim() || submitting}
type="submit"
>
diff --git a/jarvis/ui/web/frontend/src/components/BrainModelSelector.tsx b/jarvis/ui/web/frontend/src/components/BrainModelSelector.tsx
index 2da97b111c..e82fb62d11 100644
--- a/jarvis/ui/web/frontend/src/components/BrainModelSelector.tsx
+++ b/jarvis/ui/web/frontend/src/components/BrainModelSelector.tsx
@@ -564,7 +564,7 @@ export function BrainModelSelector({
)}
{m.label}
{recommendedModel && m.id === recommendedModel && (
- <span className="shrink-0 rounded-full bg-primary px-1.5 py-0.5 text-[11px] font-medium uppercase tracking-wide text-primary-foreground">
+ <span className="shrink-0 rounded-full bg-foreground/70 px-1.5 py-0.5 text-[11px] font-medium uppercase tracking-wide text-primary-foreground">
{t("apikeys_model.recommended_tag")}
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/components/ChatInput.tsx b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
index 9f1c02ced2..a894c977ce 100644
--- a/jarvis/ui/web/frontend/src/components/ChatInput.tsx
+++ b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
@@ -179,7 +179,7 @@ export function ChatInput() {
>
<span className="relative flex h-2 w-2" aria-hidden>
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-primary/70" />
- <span className="relative inline-flex h-2 w-2 rounded-full bg-primary" />
+ <span className="relative inline-flex h-2 w-2 rounded-full bg-foreground/70" />
</span>
<span className="font-medium">{t("chats_view.dictation_listening")}</span>
</div>
@@ -246,7 +246,7 @@ export function ChatInput() {
className={cn(
"inline-flex h-8 w-8 items-center justify-center rounded-lg transition-colors",
canSend
- ? "bg-primary text-primary-foreground hover:bg-primary/90"
+ ? "bg-foreground/70 text-primary-foreground hover:bg-primary/90"
: "bg-secondary text-muted-foreground/60",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx b/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
index 4b3c889481..e995def035 100644
--- a/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
+++ b/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
@@ -145,7 +145,7 @@ export function FrontierSwitchModal() {
onClick={handleOk}
disabled={acking}
className={cn(
- "rounded-md border border-primary bg-primary px-4 py-2",
+ "rounded-md border border-primary bg-foreground/70 px-4 py-2",
"text-sm font-semibold text-primary-foreground",
"transition-opacity hover:opacity-90",
"disabled:cursor-not-allowed disabled:opacity-50",
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
index e0e5def5a4..7c34124e27 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
@@ -725,7 +725,7 @@ function AgentRow({
// Said once, at the edge: a 3 px gold rule and a faint wash mark the
// worker that runs, instead of a gold frame plus glow plus chip.
active &&
- "bg-primary/[0.035] before:absolute before:inset-y-2 before:left-0 before:w-[3px] before:rounded-r before:bg-primary",
+ "bg-primary/[0.035] before:absolute before:inset-y-2 before:left-0 before:w-[3px] before:rounded-r before:bg-foreground/70",
)}
>
<div
@@ -1750,7 +1750,7 @@ function SubagentActiveControl({
<span
aria-hidden="true"
className={cn(
- "h-[7px] w-[7px] rounded-full bg-primary",
+ "h-[7px] w-[7px] rounded-full bg-foreground/70",
activating && "animate-pulse motion-reduce:animate-none",
)}
/>
diff --git a/jarvis/ui/web/frontend/src/components/JarvisDock.tsx b/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
index 0b426cbbe4..d9b1aa4c1e 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
@@ -255,7 +255,7 @@ export function JarvisDock() {
{isBar ? (
<span className="flex h-6 items-end gap-0.5" aria-hidden>
<span className="h-3 w-1 rounded-sm bg-primary/80" />
- <span className="h-5 w-1 rounded-sm bg-primary" />
+ <span className="h-5 w-1 rounded-sm bg-foreground" />
<span className="h-2 w-1 rounded-sm bg-primary/60" />
<span className="h-4 w-1 rounded-sm bg-primary/80" />
</span>
diff --git a/jarvis/ui/web/frontend/src/components/LiveCore.tsx b/jarvis/ui/web/frontend/src/components/LiveCore.tsx
index e947202038..838a211dde 100644
--- a/jarvis/ui/web/frontend/src/components/LiveCore.tsx
+++ b/jarvis/ui/web/frontend/src/components/LiveCore.tsx
@@ -21,7 +21,7 @@ export function LiveCore({ className }: { className?: string }) {
>
<span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50" />
<span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50 [animation-delay:0.9s]" />
- <span className="thinking-core relative inline-flex h-2.5 w-2.5 rounded-full bg-primary" />
+ <span className="thinking-core relative inline-flex h-2.5 w-2.5 rounded-full bg-foreground/70" />
</span>
);
}
diff --git a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
index c89e40b291..b064a7a70a 100644
--- a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
+++ b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
@@ -118,8 +118,8 @@ export function MascotGigi({
<stop offset="100%" stopColor="#050505" />
</radialGradient>
<linearGradient id="gigiYAccent" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" stopColor="#FFFFFF" />
- <stop offset="100%" stopColor="#C9C9C9" />
+ <stop offset="0%" stopColor="hsl(var(--gigi-on-body))" />
+ <stop offset="100%" stopColor="hsl(var(--gigi-on-body))" stopOpacity="0.78" />
</linearGradient>
</defs>
@@ -127,7 +127,7 @@ export function MascotGigi({
<path
className="gigi-halo"
d="M 58 90 Q 58 36 128 36 Q 198 36 198 90 L 198 208 L 180 186 L 160 208 L 140 186 L 120 208 L 100 186 L 80 208 L 58 186 Z"
- fill="#FFFFFF"
+ fill="hsl(var(--gigi-trim))"
opacity="0.28"
filter="url(#gigiSoftGlow)"
/>
@@ -137,19 +137,19 @@ export function MascotGigi({
className="gigi-body"
d="M 58 90 Q 58 36 128 36 Q 198 36 198 90 L 198 208 L 180 186 L 160 208 L 140 186 L 120 208 L 100 186 L 80 208 L 58 186 Z"
fill="url(#gigiBody)"
- stroke="#FFFFFF"
+ stroke="hsl(var(--gigi-trim))"
strokeWidth="1.8"
strokeOpacity="0.85"
/>
{/* Scanlines */}
<g className="gigi-scanlines">
- <rect x="58" y="132" width="140" height="2.4" fill="#FFFFFF" opacity="0.55" />
- <rect x="58" y="160" width="140" height="1.4" fill="#FFFFFF" opacity="0.3" />
+ <rect x="58" y="132" width="140" height="2.4" fill="hsl(var(--gigi-on-body))" opacity="0.55" />
+ <rect x="58" y="160" width="140" height="1.4" fill="hsl(var(--gigi-on-body))" opacity="0.3" />
</g>
{/* Glitch pixels right */}
- <g className="gigi-glitch-right" fill="#FFFFFF" filter="url(#gigiYGlow)">
+ <g className="gigi-glitch-right" fill="hsl(var(--gigi-trim))" filter="url(#gigiYGlow)">
<rect x="200" y="104" width="6" height="6" />
<rect x="208" y="128" width="4" height="4" />
<rect x="202" y="146" width="9" height="3" />
@@ -157,7 +157,7 @@ export function MascotGigi({
<rect x="206" y="176" width="5" height="3" />
</g>
{/* Glitch pixels left */}
- <g className="gigi-glitch-left" fill="#C9C9C9" filter="url(#gigiYGlow)">
+ <g className="gigi-glitch-left" fill="hsl(var(--gigi-trim))" opacity="0.7" filter="url(#gigiYGlow)">
<rect x="44" y="96" width="6" height="4" />
<rect x="48" y="124" width="4" height="6" />
<rect x="40" y="148" width="8" height="3" />
@@ -165,12 +165,12 @@ export function MascotGigi({
</g>
{/* Chromatic displacement slices */}
- <rect x="64" y="118" width="18" height="10" fill="#FFFFFF" opacity="0.32" />
- <rect x="170" y="118" width="18" height="10" fill="#FFFFFF" opacity="0.32" />
+ <rect x="64" y="118" width="18" height="10" fill="hsl(var(--gigi-on-body))" opacity="0.32" />
+ <rect x="170" y="118" width="18" height="10" fill="hsl(var(--gigi-on-body))" opacity="0.32" />
{/* Eye glows */}
- <ellipse cx="102" cy="108" rx="13" ry="17" fill="#FFFFFF" opacity="0.35" filter="url(#gigiSoftGlow)" />
- <ellipse cx="154" cy="108" rx="13" ry="17" fill="#FFFFFF" opacity="0.35" filter="url(#gigiSoftGlow)" />
+ <ellipse cx="102" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter="url(#gigiSoftGlow)" />
+ <ellipse cx="154" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter="url(#gigiSoftGlow)" />
{/* Eye sockets — auto-blinkend */}
<g className="gigi-eyes">
@@ -186,8 +186,8 @@ export function MascotGigi({
{/* Eye sparkle */}
<g className="gigi-sparkle">
- <circle cx="106" cy="105" r="2" fill="#FFFFFF" />
- <circle cx="158" cy="105" r="2" fill="#FFFFFF" />
+ <circle cx="106" cy="105" r="2" fill="hsl(var(--gigi-on-body))" />
+ <circle cx="158" cy="105" r="2" fill="hsl(var(--gigi-on-body))" />
</g>
{/* Mouth — subtile Atmung */}
@@ -200,7 +200,7 @@ export function MascotGigi({
<path
className="gigi-arm gigi-arm-left"
d="M 58 140 Q 40 148 42 162"
- stroke="#FFFFFF"
+ stroke="hsl(var(--gigi-trim))"
strokeWidth="5.5"
fill="none"
strokeLinecap="round"
@@ -209,7 +209,7 @@ export function MascotGigi({
<path
className="gigi-arm gigi-arm-right"
d="M 198 140 Q 216 148 214 162"
- stroke="#FFFFFF"
+ stroke="hsl(var(--gigi-trim))"
strokeWidth="5.5"
fill="none"
strokeLinecap="round"
diff --git a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
index 5ff41e643a..c04f77a1b7 100644
--- a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
+++ b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
@@ -23,7 +23,7 @@ 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_rgb(var(--accent-rgb)/0.15)]",
+ success: "border-primary/40 bg-card/95 text-foreground",
warning: "border-foreground/40 bg-card/95 text-foreground",
error: "border-destructive/50 bg-card/95 text-foreground",
};
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
index 17a90b4bc5..5a08b9178c 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
@@ -442,7 +442,7 @@ export function AgentComposer({ autoFocus = false }: { autoFocus?: boolean }) {
>
<span className="relative flex h-2 w-2" aria-hidden>
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-primary/70" />
- <span className="relative inline-flex h-2 w-2 rounded-full bg-primary" />
+ <span className="relative inline-flex h-2 w-2 rounded-full bg-foreground/70" />
</span>
<span className="font-medium">{t("chats_view.dictation_listening")}</span>
</div>
@@ -692,7 +692,7 @@ export function AgentComposer({ autoFocus = false }: { autoFocus?: boolean }) {
className={cn(
"inline-flex h-8 w-8 items-center justify-center rounded-lg transition-colors",
canSend
- ? "bg-primary text-primary-foreground hover:bg-primary/90"
+ ? "bg-foreground/70 text-primary-foreground hover:bg-primary/90"
: "bg-secondary text-muted-foreground/60",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
index 4008446fec..7d5a4e8603 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentTimeline.tsx
@@ -219,7 +219,7 @@ const Turn = memo(function Turn({
>
<div className="flex flex-wrap items-center gap-x-2 gap-y-1 px-1 font-mono text-[10px] uppercase tracking-[0.14em] text-primary">
<span
- className={cn("h-1 w-1 rounded-full bg-primary", live && "motion-safe:animate-pulse")}
+ className={cn("h-1 w-1 rounded-full bg-foreground/70", live && "motion-safe:animate-pulse")}
aria-hidden
/>
<span>{assistantName}</span>
@@ -1122,7 +1122,7 @@ function ToolRow({
<button
type="button"
onClick={() => onDecide(block.approval!.approvalId, "allow")}
- className="inline-flex h-7 items-center gap-1 rounded-md bg-primary px-2.5 text-xs font-medium text-primary-foreground hover:bg-primary/90"
+ className="inline-flex h-7 items-center gap-1 rounded-md bg-foreground/70 px-2.5 text-xs font-medium text-primary-foreground hover:bg-primary/90"
data-testid="approval-allow"
>
<Check className="h-3.5 w-3.5" aria-hidden />
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentAllocation.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentAllocation.tsx
index 9fc3e146fe..ccc8a602c0 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgentAllocation.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentAllocation.tsx
@@ -270,7 +270,7 @@ export function AgentAllocation({
aria-valuenow={assigned}
>
<div
- className="h-full origin-left rounded-full bg-primary transition-transform duration-200"
+ className="h-full origin-left rounded-full bg-foreground/70 transition-transform duration-200"
style={{
transform: `scaleX(${total === 0 ? 0 : assigned / total})`,
}}
@@ -354,7 +354,7 @@ export function AgentAllocation({
)}
/>
{count > 0 && (
- <span className="absolute -bottom-0.5 -right-0.5 flex h-4 w-4 items-center justify-center rounded-full border-2 border-background bg-primary text-primary-foreground">
+ <span className="absolute -bottom-0.5 -right-0.5 flex h-4 w-4 items-center justify-center rounded-full border-2 border-background bg-foreground/70 text-primary-foreground">
<Check className="h-2.5 w-2.5 stroke-[3]" />
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
index 4dfebd144d..73c56ebd0c 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentInstallDialog.tsx
@@ -214,7 +214,7 @@ export function AgentInstallDialog({
data-testid={`agent-install-dismiss-${agent}`}
className={
installed
- ? "shrink-0 rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90"
+ ? "shrink-0 rounded-md bg-foreground/70 px-3 py-1.5 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90"
: "shrink-0 rounded-md border border-border px-3 py-1.5 text-sm text-foreground transition-colors hover:bg-primary/10"
}
>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
index 7bf9aafcce..ab0b48f3fb 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneNotifications.tsx
@@ -327,7 +327,7 @@ export function PaneNotifications({ onJump, onScreen = true }: PaneNotifications
{unread > 0 && (
<span
data-testid="pane-notifications-count"
- className="absolute -right-1.5 -top-1.5 min-w-[1rem] rounded-full bg-primary px-1 text-center font-mono text-[10px] font-semibold leading-4 text-primary-foreground"
+ className="absolute -right-1.5 -top-1.5 min-w-[1rem] rounded-full bg-foreground/70 px-1 text-center font-mono text-[10px] font-semibold leading-4 text-primary-foreground"
>
{unread > 99 ? "99+" : unread}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
index cd7c2e6d6b..d599736fc3 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneRecap.tsx
@@ -622,7 +622,7 @@ function RecapEditor({
onClick={submit}
disabled={saving}
data-testid={`pane-recap-save-${name}`}
- className="flex items-center gap-1 rounded-md bg-primary px-2.5 py-1.5 text-[11px] font-semibold text-primary-foreground transition-[filter] hover:brightness-95 disabled:opacity-50"
+ className="flex items-center gap-1 rounded-md bg-foreground/70 px-2.5 py-1.5 text-[11px] font-semibold text-primary-foreground transition-[filter] hover:brightness-95 disabled:opacity-50"
>
{saving && <Loader2 className="h-3 w-3 animate-spin" />}
Save
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
index aad020587c..75096f9ea6 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx
@@ -665,7 +665,7 @@ export function ResumeCard({
</p>
<div className="mt-4 flex flex-wrap items-center gap-x-4 gap-y-2 text-[10px] text-muted-foreground">
<span className="inline-flex items-center gap-1.5">
- <span className="h-1.5 w-1.5 bg-primary" />
+ <span className="h-1.5 w-1.5 bg-foreground/70" />
{t("workspace_launcher.resume.legend_continues")}
</span>
<span className="inline-flex items-center gap-1.5">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceChats.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceChats.tsx
index cd5651a7c7..abe4a68501 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceChats.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceChats.tsx
@@ -279,7 +279,7 @@ function WorkspaceBand({
aria-hidden
className={cn(
"h-1.5 w-1.5 shrink-0 rounded-full",
- workspace.active ? "bg-primary" : "bg-muted-foreground/30",
+ workspace.active ? "bg-foreground/70" : "bg-muted-foreground/30",
)}
/>
<span className="text-[10px] font-medium uppercase tracking-wider text-muted-foreground/60">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
index 3d6291a641..71bb908a79 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceLauncher.tsx
@@ -560,7 +560,7 @@ function StepNavigation({
<span
className={cn(
"absolute bottom-[-1px] left-0 right-0 h-0.5 lg:bottom-0 lg:left-auto lg:right-[-25px] lg:top-0 lg:h-auto lg:w-0.5",
- selected ? "bg-primary" : "bg-transparent",
+ selected ? "bg-foreground/70" : "bg-transparent",
)}
/>
<span className="block font-mono text-[10px] tabular-nums text-muted-foreground/70">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
index 37a3a9e24c..7afcf14dbf 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceShape.tsx
@@ -421,7 +421,7 @@ export function CountTrack({
aria-hidden="true"
className={cn(
"h-1.5 w-px transition-colors",
- count === n ? "bg-primary" : "bg-border",
+ count === n ? "bg-foreground/70" : "bg-border",
)}
/>
{n}
@@ -597,7 +597,7 @@ function StagePane({
<span
className={cn(
"m-1 h-1 w-1 shrink-0 rounded-full",
- focused ? "bg-primary" : "bg-muted-foreground/50",
+ focused ? "bg-foreground/70" : "bg-muted-foreground/50",
)}
/>
)}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/controls.tsx b/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
index d3b8c8d963..0c3e03b1ca 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/controls.tsx
@@ -64,7 +64,7 @@ const BASE =
"disabled:cursor-not-allowed disabled:opacity-40";
const VARIANTS: Record<NonNullable<ButtonProps["variant"]>, string> = {
- primary: "bg-primary text-primary-foreground hover:bg-primary/90",
+ primary: "bg-foreground/70 text-primary-foreground hover:bg-primary/90",
quiet:
"border border-border bg-card/60 text-foreground hover:border-border hover:bg-secondary",
subtle: "text-muted-foreground hover:bg-secondary hover:text-foreground",
diff --git a/jarvis/ui/web/frontend/src/components/board/ActivityHeatmap.tsx b/jarvis/ui/web/frontend/src/components/board/ActivityHeatmap.tsx
index 95f952b706..5c4424c7ff 100644
--- a/jarvis/ui/web/frontend/src/components/board/ActivityHeatmap.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ActivityHeatmap.tsx
@@ -8,7 +8,7 @@ const LEVEL: Record<number, string> = {
1: "bg-primary/30",
2: "bg-primary/50",
3: "bg-primary/75",
- 4: "bg-primary shadow-[0_0_8px_-1px] shadow-primary/50",
+ 4: "bg-foreground/70 /50",
};
const DEFAULT_WEEKS = 26;
diff --git a/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx b/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
index 390e363325..65657bcd98 100644
--- a/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/HeatmapGrid.tsx
@@ -154,5 +154,5 @@ const LEVEL: Record<number, string> = {
1: "bg-primary/25",
2: "bg-primary/45",
3: "bg-primary/70",
- 4: "bg-primary",
+ 4: "bg-foreground/70",
};
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
index e53609c674..2ca635e31d 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx
@@ -157,7 +157,7 @@ export function LogCard({ className }: { className?: string }) {
<span
className={cn(
"inline-block h-[1.1em] w-[0.55em] shrink-0 self-center",
- live ? "bg-primary" : "bg-foreground/60 motion-safe:animate-pulse",
+ live ? "bg-foreground/70" : "bg-foreground/60 motion-safe:animate-pulse",
)}
aria-hidden
/>
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
index 71492e65b5..2eb5c4dc6f 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx
@@ -123,7 +123,7 @@ export function CaptureCard({ className }: { className?: string }) {
{/* The draining rail: the picture's remaining time, visible. */}
<div className="h-px w-full bg-border/60">
<div
- className="h-px bg-primary transition-[width] duration-200 ease-linear"
+ className="h-px bg-foreground/70 transition-[width] duration-200 ease-linear"
style={{ width: `${(remaining / CAPTURE_AFTERGLOW_MS) * 100}%` }}
aria-hidden
/>
diff --git a/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx b/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
index 75854ece68..379230b9c3 100644
--- a/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
+++ b/jarvis/ui/web/frontend/src/components/extensions/primitives.tsx
@@ -129,7 +129,7 @@ export function SoftButton({
"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-50",
primary
- ? "bg-primary text-primary-foreground hover:bg-primary/90"
+ ? "bg-foreground/70 text-primary-foreground hover:bg-primary/90"
: "bg-sheen/[0.06] text-foreground hover:bg-sheen/[0.12]",
className,
)}
@@ -555,7 +555,7 @@ export function StatusDot({
off: "bg-muted-foreground/40",
warn: "bg-foreground",
error: "bg-destructive",
- busy: "bg-primary",
+ busy: "bg-foreground/70",
}[tone];
return (
<span className="inline-flex items-center gap-2 text-sm text-muted-foreground">
diff --git a/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx b/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
index def94a9abb..8abb52fd09 100644
--- a/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
+++ b/jarvis/ui/web/frontend/src/components/friends/ChatThread.tsx
@@ -124,7 +124,7 @@ function FriendMessageBubble({ message }: { message: FriendMessage }) {
className={cn(
"max-w-[75%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed",
isOutbound
- ? "bg-primary text-primary-foreground"
+ ? "bg-foreground/70 text-primary-foreground"
: "border border-border bg-card/80 text-foreground backdrop-blur"
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/home/JarvisBar.tsx b/jarvis/ui/web/frontend/src/components/home/JarvisBar.tsx
index 2c3be3150b..025837ecc9 100644
--- a/jarvis/ui/web/frontend/src/components/home/JarvisBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/JarvisBar.tsx
@@ -141,7 +141,7 @@ export function JarvisBar({ phase, hint }: { phase: WaveformPhase; hint: string
voiceState === "error"
? "bg-destructive"
: callActive
- ? "bg-primary animate-jarvis-pulse"
+ ? "bg-foreground/70 animate-jarvis-pulse"
: "bg-muted-foreground/40",
)}
/>
@@ -179,7 +179,7 @@ export function JarvisBar({ phase, hint }: { phase: WaveformPhase; hint: string
{promptMode.enabled && (
<span
aria-hidden
- className="h-1.5 w-1.5 shrink-0 rounded-full bg-primary animate-jarvis-pulse"
+ className="h-1.5 w-1.5 shrink-0 rounded-full bg-foreground/70 animate-jarvis-pulse"
/>
)}
</button>
diff --git a/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx b/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
index 1f6c86ff00..2b178e7913 100644
--- a/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
@@ -76,7 +76,7 @@ function SurfaceTab({
"flex items-center justify-center gap-1.5 rounded-[10px] px-2 py-1.5 text-xs font-medium transition-colors",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
active
- ? "bg-card text-foreground shadow-sm"
+ ? "bg-card text-foreground"
: "text-muted-foreground hover:text-foreground",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/home/VoiceStage.tsx b/jarvis/ui/web/frontend/src/components/home/VoiceStage.tsx
index a42d4d84b0..a6a46365da 100644
--- a/jarvis/ui/web/frontend/src/components/home/VoiceStage.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/VoiceStage.tsx
@@ -186,7 +186,7 @@ function TranscriptLine({
{text}
{live && (
<span
- className="ml-0.5 inline-block h-[1em] w-0.5 translate-y-0.5 animate-pulse bg-primary motion-reduce:animate-none"
+ className="ml-0.5 inline-block h-[1em] w-0.5 translate-y-0.5 animate-pulse bg-foreground motion-reduce:animate-none"
aria-hidden
/>
)}
diff --git a/jarvis/ui/web/frontend/src/components/home/VoiceThreadStage.tsx b/jarvis/ui/web/frontend/src/components/home/VoiceThreadStage.tsx
index 71d487d9d4..0d22879ff0 100644
--- a/jarvis/ui/web/frontend/src/components/home/VoiceThreadStage.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/VoiceThreadStage.tsx
@@ -130,13 +130,13 @@ function SpokenTurn({ message }: { message: ChatMessage }) {
className={cn(
"max-w-[80%] px-4 py-3 text-sm leading-relaxed",
isUser
- ? "rounded-2xl rounded-br-sm bg-primary text-primary-foreground"
+ ? "rounded-2xl rounded-br-sm bg-foreground/70 text-primary-foreground"
: "jarvis-message-surface rounded-2xl rounded-bl-sm border border-border text-foreground",
)}
>
{!isUser && (
<div className="flex items-center gap-1.5 font-mono text-[10px] uppercase tracking-[0.14em] text-primary">
- <span aria-hidden className="h-1 w-1 rounded-full bg-primary" />
+ <span aria-hidden className="h-1 w-1 rounded-full bg-foreground/70" />
{assistantName}
</div>
)}
diff --git a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
index e807d4f5d0..76d71fb75d 100644
--- a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
@@ -404,7 +404,7 @@ function DockIcon({
) : live ? (
<span
aria-hidden
- className="absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-primary ring-2 ring-background"
+ className="absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-foreground/70 ring-2 ring-background"
/>
) : null}
</button>
diff --git a/jarvis/ui/web/frontend/src/components/layout/PaneResizer.tsx b/jarvis/ui/web/frontend/src/components/layout/PaneResizer.tsx
index 67886b031e..d6d7971ad0 100644
--- a/jarvis/ui/web/frontend/src/components/layout/PaneResizer.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/PaneResizer.tsx
@@ -139,7 +139,7 @@ export const PaneResizer = forwardRef<HTMLDivElement, PaneResizerProps>(function
? "inset-y-0 left-1/2 w-px -translate-x-1/2"
: "inset-x-0 top-1/2 h-px -translate-y-1/2",
active
- ? "bg-primary"
+ ? "bg-foreground/70"
: "bg-border group-hover:bg-primary/60 group-focus-visible:bg-primary/60",
)}
/>
@@ -151,7 +151,7 @@ export const PaneResizer = forwardRef<HTMLDivElement, PaneResizerProps>(function
"pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full transition-colors",
vertical ? "h-8 w-[3px]" : "h-[3px] w-8",
active
- ? "bg-primary"
+ ? "bg-foreground/70"
: "bg-border group-hover:bg-primary/70 group-focus-visible:bg-primary/70",
)}
/>
diff --git a/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx b/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx
index 47b4b64203..ceafed457e 100644
--- a/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx
@@ -58,7 +58,7 @@ function PrimaryTab({
{active && (
<span
aria-hidden
- className="absolute inset-x-0 bottom-0 h-0.5 rounded-full bg-primary"
+ className="absolute inset-x-0 bottom-0 h-0.5 rounded-full bg-foreground"
/>
)}
</button>
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 c33568bbc2..1a29f27814 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.tsx
@@ -581,7 +581,7 @@ export function AssistantPanel({
aria-label={t("local_models.assistant.send")}
disabled={!activeSessionId || !draft.trim() || busy || running}
className={cn(
- "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground",
+ "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-foreground/70 text-primary-foreground",
"transition-opacity hover:opacity-90 disabled:opacity-30",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
)}
@@ -632,7 +632,7 @@ function ChipButton({
"transition-colors disabled:cursor-not-allowed disabled:opacity-45",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
primary
- ? "bg-primary text-primary-foreground hover:opacity-90"
+ ? "bg-foreground/70 text-primary-foreground hover:opacity-90"
: "border border-border text-muted-foreground hover:text-foreground",
)}
>
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 4dc1905076..4fbe066633 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantSteps.tsx
@@ -180,7 +180,7 @@ function ToolStep({
<button
type="button"
onClick={() => onDecide(block.approval!.approvalId, "allow")}
- className="rounded-md bg-primary px-2.5 py-1 text-[12px] font-medium text-primary-foreground hover:opacity-90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="rounded-md bg-foreground/70 px-2.5 py-1 text-[12px] font-medium text-primary-foreground hover:opacity-90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("local_models.assistant.steps.allow")}
</button>
diff --git a/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx b/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
index 0ac82ec9b8..aace81fa70 100644
--- a/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
+++ b/jarvis/ui/web/frontend/src/components/marketplace/PublishIdentity.tsx
@@ -290,7 +290,7 @@ function DeviceCodeTicket({
<span className="ml-auto flex items-center gap-2 text-[11px] text-muted-foreground">
<span className="relative flex h-2 w-2">
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-primary/60" />
- <span className="relative inline-flex h-2 w-2 rounded-full bg-primary" />
+ <span className="relative inline-flex h-2 w-2 rounded-full bg-foreground/70" />
</span>
{t("marketplace.identity_waiting")}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
index 90ee37a592..a845d81a96 100644
--- a/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/missions/VerdictPanel.tsx
@@ -186,7 +186,7 @@ function ConfidenceBar({ value }: { value: number }) {
</div>
<div className="h-1.5 overflow-hidden rounded-full bg-background/60">
<div
- className="h-full rounded-full bg-primary transition-[width] duration-500"
+ className="h-full rounded-full bg-foreground/70 transition-[width] duration-500"
style={{ width: `${pct}%` }}
/>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/IntroSequence.tsx b/jarvis/ui/web/frontend/src/components/onboarding/IntroSequence.tsx
index 33ba7f5244..58edf253a6 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/IntroSequence.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/IntroSequence.tsx
@@ -62,7 +62,7 @@ export function IntroSequence({ className }: { className?: string }) {
key={k}
className={cn(
"h-1 w-5 rounded-full transition-colors",
- i <= scene ? "bg-primary" : "bg-muted",
+ i <= scene ? "bg-foreground/70" : "bg-muted",
)}
/>
))}
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
index 404ea8c946..dcacc6c35d 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
@@ -224,7 +224,7 @@ export function OnboardingFlow({
aria-hidden
className={cn(
"absolute bottom-[-1px] left-0 right-0 h-0.5 lg:bottom-0 lg:left-auto lg:right-[-25px] lg:top-0 lg:h-auto lg:w-0.5",
- selected ? "bg-primary" : "bg-transparent",
+ selected ? "bg-foreground/70" : "bg-transparent",
)}
/>
<span className="block font-mono text-[11px] tabular-nums text-muted-foreground/70">
diff --git a/jarvis/ui/web/frontend/src/components/overlay/OverlayStylePreviews.tsx b/jarvis/ui/web/frontend/src/components/overlay/OverlayStylePreviews.tsx
index b192e3242a..e4b0c1e1d4 100644
--- a/jarvis/ui/web/frontend/src/components/overlay/OverlayStylePreviews.tsx
+++ b/jarvis/ui/web/frontend/src/components/overlay/OverlayStylePreviews.tsx
@@ -36,9 +36,15 @@ import {
* no microphone behind them any motion here would be invented.
*/
+/*
+ * This thumbnail paints its own ground rather than the app's, because it is a
+ * portrait of the desktop overlay — which has no page behind it. So the values
+ * are literals, not tokens, and they follow the same rule as the rest of the
+ * monochrome pass: the frame recedes and only the content lifts.
+ */
const PREVIEW_BG = "#0e0d0c";
-const PREVIEW_RIM = "#d7b669";
-const PREVIEW_BAR = "#e7c46e";
+const PREVIEW_RIM = "#4a4842";
+const PREVIEW_BAR = "#c9c6bd";
/** Maps an overlay style to its preview graphic. */
export function StylePreview({ style }: { style: OverlayStyle }) {
diff --git a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
index a7d917fa39..9e5ddb4327 100644
--- a/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
+++ b/jarvis/ui/web/frontend/src/components/runs/RunList.tsx
@@ -28,7 +28,7 @@ export function RunList({
)}
>
{selected && (
- <span className="absolute inset-y-2 left-0 w-0.5 rounded-full bg-primary" />
+ <span className="absolute inset-y-2 left-0 w-0.5 rounded-full bg-foreground" />
)}
<div className="flex items-center gap-2">
<OutcomeDot outcome={r.outcome} />
diff --git a/jarvis/ui/web/frontend/src/components/ui/badge.tsx b/jarvis/ui/web/frontend/src/components/ui/badge.tsx
index 6039a4dd55..8fe07b0636 100644
--- a/jarvis/ui/web/frontend/src/components/ui/badge.tsx
+++ b/jarvis/ui/web/frontend/src/components/ui/badge.tsx
@@ -7,7 +7,7 @@ const badgeVariants = cva(
{
variants: {
variant: {
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
+ default: "border-transparent bg-foreground/70 text-primary-foreground shadow hover:bg-primary/80",
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
outline: "text-foreground",
diff --git a/jarvis/ui/web/frontend/src/components/ui/button.tsx b/jarvis/ui/web/frontend/src/components/ui/button.tsx
index 223b5faeca..c9fb8b5981 100644
--- a/jarvis/ui/web/frontend/src/components/ui/button.tsx
+++ b/jarvis/ui/web/frontend/src/components/ui/button.tsx
@@ -9,9 +9,9 @@ const buttonVariants = cva(
variants: {
variant: {
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
},
diff --git a/jarvis/ui/web/frontend/src/components/ui/switch.tsx b/jarvis/ui/web/frontend/src/components/ui/switch.tsx
index e9bc1845ba..c0abdbff9a 100644
--- a/jarvis/ui/web/frontend/src/components/ui/switch.tsx
+++ b/jarvis/ui/web/frontend/src/components/ui/switch.tsx
@@ -11,7 +11,7 @@ const Switch = React.forwardRef<
// OFF state uses muted-foreground (not --input, which is nearly identical
// to the matte-black background and made off switches invisible). ON state
// (signal-yellow --primary) is unchanged.
- "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted-foreground/30",
+ "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-foreground/70 data-[state=unchecked]:bg-muted-foreground/30",
className,
)}
{...props}
diff --git a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
index d8e7453a42..f9d86b24ca 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/OutputPreview.tsx
@@ -84,7 +84,7 @@ export function markdownTitle(text: string | null | undefined): string | null {
const STATUS_DOT: Record<OutputStatus, string> = {
success: "bg-muted-foreground",
error: "bg-destructive",
- running: "bg-primary animate-pulse",
+ running: "bg-foreground/70 animate-pulse",
cancelled: "bg-foreground",
unknown: "bg-muted-foreground/50",
};
diff --git a/jarvis/ui/web/frontend/src/components/visualization/RunGraphPanel.tsx b/jarvis/ui/web/frontend/src/components/visualization/RunGraphPanel.tsx
index c922af725b..b9383b642a 100644
--- a/jarvis/ui/web/frontend/src/components/visualization/RunGraphPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/visualization/RunGraphPanel.tsx
@@ -86,7 +86,7 @@ const clampZoom = (value: number): number =>
const NODE_DOT: Record<string, string> = {
done: "bg-muted-foreground",
failed: "bg-destructive",
- running: "bg-primary animate-pulse",
+ running: "bg-foreground/70 animate-pulse",
skipped: "bg-muted-foreground/40",
};
diff --git a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
index 9bd3e23391..272dd2e41f 100644
--- a/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
+++ b/jarvis/ui/web/frontend/src/components/voice/BrowserRealtimeControl.tsx
@@ -377,7 +377,7 @@ export function BrowserRealtimeControl() {
"text-xs font-medium transition-colors",
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",
connected
- ? "bg-primary text-primary-foreground hover:bg-primary/90"
+ ? "bg-foreground/70 text-primary-foreground hover:bg-primary/90"
: "border border-border bg-card text-foreground hover:border-primary/50",
(unavailable || connecting) && "cursor-not-allowed opacity-60",
)}
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index ca6781f6c2..b5aa36321c 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -582,6 +582,24 @@ label,
outlived the colour — nothing yellow is left in either — but they stay
spelled this way until the call sites are renamed in their own pass,
because a rename and a recolour in one commit hides both. */
+ /* --- The mascot's two marking roles ----------------------------------
+ The ghost was drawn with one hardcoded white for everything, which is
+ only correct for half of it. Its markings fall into two groups that
+ need OPPOSITE behaviour:
+
+ on-body eyes, mouth, scanlines — these sit on the figure's own
+ near-black body, so they must stay light in BOTH themes.
+ trim arms, glitch pixels, outline, halo — these sit OUTSIDE the
+ silhouette, on the page, so they must contrast with the
+ PAGE and therefore flip with it. Hardcoded white made them
+ invisible on paper, which is the "partly wrong" the
+ maintainer saw.
+
+ Trim is also deliberately quiet on the dark ground: it is decoration
+ around the figure, not the figure, and pure white on near-black made
+ the glitch pixels louder than the eyes. */
+ --gigi-on-body: 60 16% 96%; /* the canvas — legible on the body */
+ --gigi-trim: 53 12% 13%; /* ink — reads on paper */
--jarvis-yellow: 38 37 30;
--jarvis-yellow-dim: 128 125 114;
--jarvis-grid: 50 11% 89%;
@@ -694,6 +712,10 @@ label,
--viz-result: 0 0% 100%;
--viz-deliverable: 47 6% 58%;
+ /* See the mascot note in :root. On this ground the trim steps DOWN to
+ muted rather than up to white: it frames the figure, it is not it. */
+ --gigi-on-body: 0 0% 100%;
+ --gigi-trim: 47 6% 58%;
--jarvis-yellow: 247 247 244;
--jarvis-yellow-dim: 154 151 140;
--jarvis-grid: 60 4% 8%;
diff --git a/jarvis/ui/web/frontend/src/views/ChatsView.tsx b/jarvis/ui/web/frontend/src/views/ChatsView.tsx
index 0da7f0bc3a..331a435c4a 100644
--- a/jarvis/ui/web/frontend/src/views/ChatsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ChatsView.tsx
@@ -404,7 +404,7 @@ function AssistantLabel() {
const assistantName = useEventStore((s) => s.assistantName);
return (
<div className="flex items-center gap-1.5 font-mono text-[10px] uppercase tracking-[0.14em] text-primary">
- <span className="h-1 w-1 rounded-full bg-primary" aria-hidden />
+ <span className="h-1 w-1 rounded-full bg-foreground/70" aria-hidden />
{assistantName}
</div>
);
@@ -451,7 +451,7 @@ function MessageBubble({ message }: { message: ChatMessage }) {
className={cn(
"max-w-[80%] px-4 py-3 text-sm leading-relaxed",
isUser
- ? "rounded-2xl rounded-br-sm bg-primary text-primary-foreground"
+ ? "rounded-2xl rounded-br-sm bg-foreground/70 text-primary-foreground"
: "jarvis-message-surface rounded-2xl rounded-bl-sm border border-border text-foreground",
)}
>
diff --git a/jarvis/ui/web/frontend/src/views/DictationView.tsx b/jarvis/ui/web/frontend/src/views/DictationView.tsx
index 3aba7a9324..c48d6a07c5 100644
--- a/jarvis/ui/web/frontend/src/views/DictationView.tsx
+++ b/jarvis/ui/web/frontend/src/views/DictationView.tsx
@@ -200,7 +200,7 @@ export function DictationView({ hideHeader = false }: DictationViewProps = {}) {
<span
className={`h-2 w-2 shrink-0 rounded-full ${
status?.active
- ? "animate-pulse bg-primary"
+ ? "animate-pulse bg-foreground/70"
: status?.available
? "bg-muted-foreground"
: "bg-muted-foreground/50"
diff --git a/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx b/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
index 621bd9da31..e55bd615d4 100644
--- a/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MakeItYoursView.tsx
@@ -164,7 +164,7 @@ export function MakeItYoursView() {
<div className="h-1.5 flex-1 overflow-hidden rounded-full bg-muted">
<div
data-testid="terminal-fill"
- className="h-full rounded-full bg-primary transition-all"
+ className="h-full rounded-full bg-foreground/70 transition-all"
style={{ width: `${Math.min(100, (layout / maxLayout) * 100)}%` }}
/>
</div>
@@ -395,7 +395,7 @@ function DotGrid({ n, active }: { n: number; active: boolean }) {
{Array.from({ length: n }).map((_, i) => (
<span
key={i}
- className={cn("h-2 w-2 rounded-[3px]", active ? "bg-primary" : "bg-muted-foreground/40")}
+ className={cn("h-2 w-2 rounded-[3px]", active ? "bg-foreground/70" : "bg-muted-foreground/40")}
/>
))}
</div>
@@ -437,7 +437,7 @@ function AgentsStep({
<div
className={cn(
"h-full rounded-full transition-all",
- assigned === layout ? "bg-primary" : "bg-primary/60",
+ assigned === layout ? "bg-foreground/70" : "bg-primary/60",
)}
style={{ width: `${Math.min(100, (assigned / layout) * 100)}%` }}
/>
diff --git a/jarvis/ui/web/frontend/src/views/PluginsView.tsx b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
index 44dd3ba3d2..b0ae252417 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
@@ -1319,7 +1319,7 @@ function PluginDetail({ plugin, onConnect, onDisconnect }: { plugin: Plugin } &
"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-foreground/50 bg-foreground/10 text-foreground hover:bg-foreground/20"
- : "bg-primary text-primary-foreground hover:bg-primary/90",
+ : "bg-foreground/70 text-primary-foreground hover:bg-primary/90",
)}
>
{busy ? (
@@ -2065,7 +2065,7 @@ function DeviceCodeDialog({
e.preventDefault();
void openExternalUrl(verificationUriComplete ?? verificationUri);
}}
- className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
+ className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-foreground/70 px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
Open {pluginName}
<ExternalLink className="h-3 w-3" />
@@ -2365,7 +2365,7 @@ export function PkceConnectDialog({
type="button"
onClick={handleContinue}
disabled={busy || (clientRequired && !clientId.trim())}
- className="inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60"
+ className="inline-flex items-center gap-1.5 rounded-md bg-foreground/70 px-3 py-1.5 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60"
>
{busy && <Loader2 className="h-3 w-3 animate-spin" />}
Continue
@@ -2604,7 +2604,7 @@ export function PatConnectDialog({
e.preventDefault();
void openExternalUrl(auth.token_creation_url);
}}
- className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
+ className="mt-2 inline-flex items-center gap-1.5 rounded-full bg-foreground/70 px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90"
>
Open {plugin.name} tokens
<ExternalLink className="h-3 w-3" />
@@ -2708,7 +2708,7 @@ export function PatConnectDialog({
type="button"
onClick={submit}
disabled={!canSubmit}
- className="inline-flex items-center gap-1.5 rounded-md bg-primary px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-40"
+ className="inline-flex items-center gap-1.5 rounded-md bg-foreground/70 px-3.5 py-1.5 text-xs font-semibold text-primary-foreground transition-all hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-40"
>
{isPending ? (
<>
diff --git a/jarvis/ui/web/frontend/src/views/SkillsView.tsx b/jarvis/ui/web/frontend/src/views/SkillsView.tsx
index 412f5317e9..9b773135ed 100644
--- a/jarvis/ui/web/frontend/src/views/SkillsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/SkillsView.tsx
@@ -713,7 +713,7 @@ function SelectBox({
className={cn(
"flex h-4 w-4 flex-shrink-0 items-center justify-center rounded border transition-colors",
checked
- ? "border-primary bg-primary text-primary-foreground"
+ ? "border-primary bg-foreground/70 text-primary-foreground"
: "border-muted-foreground/50 hover:border-muted-foreground",
disabled && "cursor-not-allowed opacity-40",
className,
diff --git a/jarvis/ui/web/frontend/src/views/WallpaperView.tsx b/jarvis/ui/web/frontend/src/views/WallpaperView.tsx
index 4d003b2221..f55dedaf78 100644
--- a/jarvis/ui/web/frontend/src/views/WallpaperView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WallpaperView.tsx
@@ -167,7 +167,7 @@ function LibraryDownloadBanner() {
className="h-1.5 flex-1 overflow-hidden rounded-full bg-secondary"
>
<div
- className="h-full rounded-full bg-primary transition-[width] duration-300"
+ className="h-full rounded-full bg-foreground/70 transition-[width] duration-300"
style={{ width: `${percent}%` }}
/>
</div>
@@ -335,7 +335,7 @@ function WallpaperTile({
)}
/>
{active && (
- <span className="pointer-events-none absolute right-2 top-2 flex h-6 w-6 items-center justify-center rounded-full bg-primary text-primary-foreground shadow">
+ <span className="pointer-events-none absolute right-2 top-2 flex h-6 w-6 items-center justify-center rounded-full bg-foreground/70 text-primary-foreground shadow">
<Check className="h-3.5 w-3.5" />
</span>
)}
diff --git a/jarvis/ui/web/frontend/src/views/automations/shared.tsx b/jarvis/ui/web/frontend/src/views/automations/shared.tsx
index a9eaebad11..a9d07d6577 100644
--- a/jarvis/ui/web/frontend/src/views/automations/shared.tsx
+++ b/jarvis/ui/web/frontend/src/views/automations/shared.tsx
@@ -60,8 +60,8 @@ export function useStateLabels(): Record<TaskState, string> {
const DOT_CLASS: Record<TaskState, string> = {
pending: "bg-muted-foreground/50",
- scheduled: "bg-primary",
- running: "bg-primary animate-pulse",
+ scheduled: "bg-foreground/70",
+ running: "bg-foreground/70 animate-pulse",
paused: "bg-muted-foreground/50",
completed: "bg-muted-foreground",
failed: "bg-destructive",
diff --git a/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx b/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
index 6504017032..f0564418dc 100644
--- a/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
+++ b/jarvis/ui/web/frontend/src/views/feedback/FeedbackView.tsx
@@ -617,7 +617,7 @@ export function FeedbackView() {
<button
type="submit"
disabled={!canSubmit}
- className="flex w-full items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2.5 text-sm font-semibold text-primary-foreground transition hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-50"
+ className="flex w-full items-center justify-center gap-2 rounded-lg bg-foreground/70 px-4 py-2.5 text-sm font-semibold text-primary-foreground transition hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-50"
>
<ExternalLink className="h-4 w-4" aria-hidden="true" />
{type === "bug"
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 e80af23191..0f3bab5fad 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/CataloguePanel.tsx
@@ -285,7 +285,7 @@ function PullLine({ pull, t }: { pull: PullState | null; t: Translate }) {
</p>
<div className="h-1 w-full overflow-hidden rounded-full bg-sheen/[0.08]">
<div
- className="h-full bg-primary transition-[width]"
+ className="h-full bg-foreground/70 transition-[width]"
style={{ width: `${percent}%` }}
/>
</div>
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 624a5b2775..406e2191fb 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/HuggingFacePanel.tsx
@@ -542,7 +542,7 @@ function FileRow({
<div className="mt-1 flex items-center gap-2">
<div className="h-1 w-40 overflow-hidden rounded-full bg-muted-foreground/20">
<div
- className="h-full bg-primary transition-[width]"
+ className="h-full bg-foreground/70 transition-[width]"
style={{ width: `${percent ?? 5}%` }}
/>
</div>
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 5165656f0c..f301fd8a4b 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/MemoryStrip.tsx
@@ -67,7 +67,7 @@ export function MemoryStrip({ resident, roleLabel }: MemoryStripProps) {
{resident.items.map((item, i) => (
<span key={item.tag} className="contents">
<span
- className={cn("h-full bg-primary", i % 2 === 1 && "opacity-75")}
+ className={cn("h-full bg-foreground/70", i % 2 === 1 && "opacity-75")}
style={{ width: width(item.weights_gb) }}
title={`${item.display_label || item.tag} · ${gb(item.weights_gb)}`}
/>
@@ -89,7 +89,7 @@ export function MemoryStrip({ resident, roleLabel }: MemoryStripProps) {
<ul className="mt-2 flex flex-wrap gap-x-4 gap-y-1 text-[11px] text-muted-foreground">
{resident.items.map((item) => (
<li key={item.tag} className="flex items-center gap-1.5" data-testid={`memory-strip-${item.tag}`}>
- <i className="inline-block h-2 w-2 rounded-[2px] bg-primary" aria-hidden />
+ <i className="inline-block h-2 w-2 rounded-[2px] bg-foreground/70" aria-hidden />
<span className="text-foreground/90">{item.display_label || item.tag}</span>
<span>
{item.roles.map(roleLabel).join(" · ")} · {gb(item.weights_gb)}
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 88722fc041..b58b1e6237 100644
--- a/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx
+++ b/jarvis/ui/web/frontend/src/views/local-models/ModelCard.tsx
@@ -330,7 +330,7 @@ export function ModelCard({
<div
className={cn(
"h-full transition-[width] duration-500 ease-out",
- overBudget ? "bg-foreground" : "bg-primary",
+ overBudget ? "bg-foreground" : "bg-foreground/70",
)}
style={{
width: `${Math.min(100, Math.round((weightsGb / Math.max(acceleratorGb, totalGb, 0.01)) * 100))}%`,
diff --git a/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
index 2db86b1293..5bb2b332c4 100644
--- a/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/AppSettingsGroup.tsx
@@ -84,7 +84,7 @@ function AppearanceRow() {
className={
"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium transition-colors " +
(active
- ? "bg-primary text-primary-foreground"
+ ? "bg-foreground/70 text-primary-foreground"
: "text-muted-foreground hover:bg-secondary hover:text-foreground")
}
>
@@ -213,7 +213,7 @@ function AutostartRow() {
type="button"
disabled={saving}
onClick={onEnableInstantStart}
- className="mt-2 inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50"
+ className="mt-2 inline-flex items-center gap-1.5 rounded-md bg-foreground/70 px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50"
>
<Zap className="h-3.5 w-3.5" />
{t("settings_view.autostart.enable_instant_start")}
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
index fded64b8c1..7873bbb5c3 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeybindRow.tsx
@@ -701,8 +701,8 @@ export function KeybindRow({
>
{capturing && (
<span className="relative mr-1 flex h-2 w-2 shrink-0">
- <span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-primary opacity-75" />
- <span className="relative inline-flex h-2 w-2 rounded-full bg-primary" />
+ <span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-foreground/70 opacity-75" />
+ <span className="relative inline-flex h-2 w-2 rounded-full bg-foreground/70" />
</span>
)}
{combo ? (
diff --git a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
index c21b6cfe72..8c3ccbbfd4 100644
--- a/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/KeyboardMap.tsx
@@ -68,7 +68,7 @@ function Key({
// Visual precedence: a live press always wins (you must SEE the key you hit),
// then the in-combo selection, then the "used by another action" marker.
const cls = pressed
- ? "border-primary bg-primary text-primary-foreground"
+ ? "border-primary bg-foreground/70 text-primary-foreground"
: selected
? "border-primary bg-primary/20 text-primary"
: boundLabel
@@ -209,7 +209,7 @@ export function KeyboardMap({
{/* Legend */}
<div className="mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px] text-muted-foreground">
<span className="flex items-center gap-1">
- <span className="inline-block h-2.5 w-2.5 rounded-sm bg-primary" />
+ <span className="inline-block h-2.5 w-2.5 rounded-sm bg-foreground/70" />
{t("settings_view.keybinds.keyboard.legend_pressed")}
</span>
<span className="flex items-center gap-1">
diff --git a/jarvis/ui/web/frontend/src/views/settings/TeamProxyGroup.tsx b/jarvis/ui/web/frontend/src/views/settings/TeamProxyGroup.tsx
index 8e89254c2b..60bde06827 100644
--- a/jarvis/ui/web/frontend/src/views/settings/TeamProxyGroup.tsx
+++ b/jarvis/ui/web/frontend/src/views/settings/TeamProxyGroup.tsx
@@ -182,7 +182,7 @@ export function TeamProxyGroup() {
className={cn(
"flex h-3.5 w-3.5 items-center justify-center rounded border",
on
- ? "border-primary bg-primary text-primary-foreground"
+ ? "border-primary bg-foreground/70 text-primary-foreground"
: "border-muted-foreground/50",
)}
>