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): retire the last literal brand yellows, in the notations that hid them

rubenluetke10-beep132d016e42c4
diff --git a/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx b/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
index e600359fbd..3d4240393d 100644
--- a/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
+++ b/jarvis/ui/web/frontend/src/components/FrontierSwitchModal.tsx
@@ -89,7 +89,7 @@ export function FrontierSwitchModal() {
<div
className={cn(
"w-full max-w-lg rounded-2xl border border-primary/40 bg-card",
- "p-6 shadow-[0_0_60px_rgba(255,214,10,0.18)]",
+ "p-6 shadow-[0_0_60px_rgb(var(--accent-rgb)/0.18)]",
"animate-in zoom-in-95 fade-in duration-200",
)}
>
diff --git a/jarvis/ui/web/frontend/src/components/JarvisDock.tsx b/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
index e8dfb46253..69858ec236 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisDock.tsx
@@ -192,9 +192,9 @@ export function JarvisDock() {
const stateClass = {
idle: "border-border bg-card/70",
bloom:
- "scale-105 border-primary/70 bg-primary/15 ring-2 ring-primary/40 shadow-[0_0_30px_rgba(255,214,10,0.28)] animate-[dock-breathe_2.2s_ease-in-out_infinite]",
+ "scale-105 border-primary/70 bg-primary/15 ring-2 ring-primary/40 shadow-[0_0_30px_rgb(var(--accent-rgb)/0.28)] animate-[dock-breathe_2.2s_ease-in-out_infinite]",
armed:
- "scale-110 border-primary bg-primary/25 ring-2 ring-primary shadow-[0_0_46px_rgba(255,214,10,0.5)]",
+ "scale-110 border-primary bg-primary/25 ring-2 ring-primary shadow-[0_0_46px_rgb(var(--accent-rgb)/0.5)]",
flash:
"scale-110 border-emerald-400 bg-emerald-400/15 ring-2 ring-emerald-400 shadow-[0_0_40px_rgba(52,211,153,0.5)]",
}[state];
diff --git a/jarvis/ui/web/frontend/src/components/ToastLayer.tsx b/jarvis/ui/web/frontend/src/components/ToastLayer.tsx
index 889af4cefc..5ff41e643a 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_rgba(255,214,10,0.15)]",
+ success: "border-primary/40 bg-card/95 text-foreground shadow-[0_0_24px_rgb(var(--accent-rgb)/0.15)]",
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/board/ShareCard.tsx b/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
index be2c8a37e7..03e372b1aa 100644
--- a/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/ShareCard.tsx
@@ -51,14 +51,14 @@ export const ShareCard = forwardRef<HTMLDivElement, ShareCardProps>(
overflow: "hidden",
}}
>
- {/* Atmosphere: amber glow top-left, cyan whisper bottom-right */}
+ {/* Atmosphere: a bright wash top-left, a quiet one bottom-right */}
<div
style={{
position: "absolute",
inset: 0,
background:
- "radial-gradient(60% 50% at 18% 8%, rgba(255,207,43,0.16), transparent 60%)," +
- "radial-gradient(55% 45% at 92% 100%, rgba(90,209,255,0.10), transparent 60%)",
+ "radial-gradient(60% 50% at 18% 8%, rgba(245,244,239,0.16), transparent 60%)," +
+ "radial-gradient(55% 45% at 92% 100%, rgba(138,138,146,0.14), transparent 60%)",
}}
/>
{/* Blueprint grid */}
@@ -102,8 +102,8 @@ export const ShareCard = forwardRef<HTMLDivElement, ShareCardProps>(
height: 64,
borderRadius: "50%",
border: `1.5px solid ${AMBER}`,
- background: "rgba(255,207,43,0.06)",
- boxShadow: "0 0 24px -6px rgba(255,207,43,0.5)",
+ background: "rgba(245,244,239,0.06)",
+ boxShadow: "0 0 24px -6px rgba(245,244,239,0.5)",
}}
>
<img src="/jarvis-mark-256.png" width={38} height={38} alt="" style={{ display: "block" }} />
@@ -150,7 +150,7 @@ export const ShareCard = forwardRef<HTMLDivElement, ShareCardProps>(
lineHeight: 0.9,
letterSpacing: "-0.04em",
color: "#fff",
- textShadow: "0 0 60px rgba(255,207,43,0.22)",
+ textShadow: "0 0 60px rgba(245,244,239,0.22)",
}}
>
{nf(userWords)}
diff --git a/jarvis/ui/web/frontend/src/components/board/WordsTrendChart.tsx b/jarvis/ui/web/frontend/src/components/board/WordsTrendChart.tsx
index 92b0c9a18c..0bf325c0e1 100644
--- a/jarvis/ui/web/frontend/src/components/board/WordsTrendChart.tsx
+++ b/jarvis/ui/web/frontend/src/components/board/WordsTrendChart.tsx
@@ -10,7 +10,7 @@ import {
import type { HeatmapCell } from "@/hooks/useBoard";
import { useT } from "@/i18n";
-export const TREND_YOU = "hsl(50 100% 52%)"; // signal yellow (primary)
+export const TREND_YOU = "hsl(var(--primary))"; // signal yellow (primary)
export const TREND_JARVIS = "hsl(199 90% 64%)"; // soft sky
interface WordsTrendChartProps {
diff --git a/jarvis/ui/web/frontend/src/components/costs/CostTrendChart.tsx b/jarvis/ui/web/frontend/src/components/costs/CostTrendChart.tsx
index 192bd7f858..6f33afe465 100644
--- a/jarvis/ui/web/frontend/src/components/costs/CostTrendChart.tsx
+++ b/jarvis/ui/web/frontend/src/components/costs/CostTrendChart.tsx
@@ -53,7 +53,7 @@ interface Point {
const AXIS_TINT = "hsl(0 0% 50%)";
const TOKEN_COLORS = {
tokens_in: "hsl(199 90% 62%)",
- tokens_out: "hsl(50 100% 52%)",
+ tokens_out: "hsl(var(--primary))",
tokens_cached: "hsl(268 72% 68%)",
} as const;
diff --git a/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx b/jarvis/ui/web/frontend/src/components/layout/SectionTabBar.tsx
index 75003a1602..f8a10bf14e 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 shadow-[0_0_8px_rgba(255,214,10,0.6)]"
+ className="absolute inset-x-0 bottom-0 h-0.5 rounded-full bg-primary shadow-[0_0_8px_rgb(var(--accent-rgb)/0.6)]"
/>
)}
</button>
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 2f4c9713fc..21ac08f495 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -654,7 +654,7 @@ export function Sidebar({
: footerTooltip
}
>
- <div className="h-2 w-2 shrink-0 rounded-full bg-primary shadow-[0_0_8px_rgba(255,214,10,0.7)]" />
+ <div className="h-2 w-2 shrink-0 rounded-full bg-primary shadow-[0_0_8px_rgb(var(--accent-rgb)/0.7)]" />
{!railed && (
<div className="flex-1 min-w-0">
<div
diff --git a/jarvis/ui/web/frontend/src/components/wiki/WikiGraph3D.tsx b/jarvis/ui/web/frontend/src/components/wiki/WikiGraph3D.tsx
index 28ff6c71c1..8dc125e999 100644
--- a/jarvis/ui/web/frontend/src/components/wiki/WikiGraph3D.tsx
+++ b/jarvis/ui/web/frontend/src/components/wiki/WikiGraph3D.tsx
@@ -482,8 +482,8 @@ export function WikiGraph3D({
// last cut accidentally drew.
if (spokeFromSun(link)) {
return themeRef.current === "dark"
- ? "rgba(255, 214, 10, 0.16)"
- : "rgba(168, 107, 0, 0.22)";
+ ? "rgb(var(--accent-rgb)/0.16)"
+ : "rgb(var(--accent-rgb)/0.22)";
}
return LINK_REST;
},
@@ -626,8 +626,8 @@ export function WikiGraph3D({
linkDirectionalParticleColor={(link: RenderEdge) =>
spokeFromSun(link)
? themeRef.current === "dark"
- ? "#ffe680"
- : "#a86b00"
+ ? "hsl(var(--primary))"
+ : "hsl(var(--primary))"
: PARTICLE_COLOUR
}
onNodeClick={handleNodeClick}
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index 20ede7cb2a..7a30f99cdc 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -2180,10 +2180,10 @@ label,
.deck-orb-glow {
background: radial-gradient(
circle,
- rgba(248, 226, 151, 0.5) 0%,
- rgba(231, 196, 110, 0.28) 38%,
- rgba(210, 147, 24, 0.1) 58%,
- rgba(210, 147, 24, 0) 70%
+ rgba(225, 225, 225, 0.5) 0%,
+ rgba(197, 197, 197, 0.28) 38%,
+ rgba(152, 152, 152, 0.1) 58%,
+ rgba(152, 152, 152, 0) 70%
);
opacity: calc(0.6 + var(--orb-level, 0) * 0.4);
transform: translate(-50%, -50%) scale(calc(1 + var(--orb-level, 0) * 0.18));
diff --git a/jarvis/ui/web/frontend/src/views/PluginsView.tsx b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
index 6cea09dcaf..277850cf8c 100644
--- a/jarvis/ui/web/frontend/src/views/PluginsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/PluginsView.tsx
@@ -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 hover:shadow-[0_0_16px_rgba(255,214,10,0.4)]"
+ 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 hover:shadow-[0_0_16px_rgb(var(--accent-rgb)/0.4)]"
>
Open {pluginName}
<ExternalLink className="h-3 w-3" />
@@ -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 hover:shadow-[0_0_16px_rgba(255,214,10,0.4)]"
+ 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 hover:shadow-[0_0_16px_rgb(var(--accent-rgb)/0.4)]"
>
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 hover:shadow-[0_0_16px_rgba(255,214,10,0.4)] disabled:cursor-not-allowed disabled:opacity-40"
+ 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 hover:shadow-[0_0_16px_rgb(var(--accent-rgb)/0.4)] disabled:cursor-not-allowed disabled:opacity-40"
>
{isPending ? (
<>
diff --git a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
index 3e98831343..52dbcee9d5 100644
--- a/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WorkflowsView.tsx
@@ -344,7 +344,7 @@ function WorkflowCard({
<article
className={cn(
"card-outline overflow-hidden transition-all",
- "hover:shadow-[0_0_24px_rgba(255,214,10,0.08)]",
+ "hover:shadow-[0_0_24px_rgb(var(--accent-rgb)/0.08)]",
)}
>
<header className="flex items-start gap-3 p-4">