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(ui): colour has jobs again — signal blue, semantic tones, coloured diffs

rubenluetke10-beep52fdff61869f
diff --git a/PersonalJarvisDesignDesign.md.md b/PersonalJarvisDesignDesign.md.md
index ba9e035c42..74b589c87a 100644
--- a/PersonalJarvisDesignDesign.md.md
+++ b/PersonalJarvisDesignDesign.md.md
@@ -1,17 +1,18 @@
---
-version: 3.0
+version: 3.1
name: Personal Jarvis
description: >-
The design system for the Personal Jarvis DESKTOP APP — not a marketing site.
Graphite, not void: a near-black room whose surfaces have edges you can see,
whose ink is bright enough to read at a glance, and whose type ships with the
- app. Black-and-white by conviction — colour has exactly three jobs (life,
- identity, fault) and appears nowhere else — but never grey-on-black. Version
- 2.0 (the "black room", 2026-09-01 afternoon) was rejected by the maintainer
- the same evening as "dead, like a skeleton", "a funeral", "you cannot
- recognise the type". This version keeps its structure and replaces its
- values, re-measured against the live references that evening. Light mode is
- the same system with the value scale inverted, never an afterthought.
+ app. Graphite carries the structure; colour carries meaning on top of it —
+ one desaturated signal blue, four semantic tones, coloured diffs, a coloured
+ run graph — on the model of Cursor's own theme, read from its installed
+ build. Version 2.0 (the "black room") was rejected as "dead, like a
+ skeleton"; 3.0 fixed the greys and 3.1 (same evening) gave colour its jobs
+ back after the maintainer pointed at Cursor: same greys, but the diffs,
+ warnings and links are coloured, and that is what makes it look finished.
+ Light mode is the same system with the value scale inverted.
sources:
maintainer-verdict-2026-09-01: >-
On the 2.0 build: black-and-white is wanted, but this one looks dead — a
@@ -81,10 +82,25 @@ colors:
light-fill: "#26251E"
light-on-fill: "#F7F7F4"
- # --- Status. The ONLY hues in the product, identical in both themes. ------
- life: "#2DBE7E"
- fault: "#E8574C"
- degraded: "#D6A94A"
+ # --- Signal + semantic. Cursor Dark Anysphere / Cursor Light values. -----
+ dark-signal: "#81A1C1"
+ dark-life: "#3FA266"
+ dark-fault: "#E34671"
+ dark-degraded: "#F1B467"
+ dark-info: "#88C0D0"
+ dark-diff-add-ink: "#70B489"
+ dark-diff-add-ground: "#3FA266 @ 18%"
+ dark-diff-del-ink: "#FC6B83"
+ dark-diff-del-ground: "#B80049 @ 20%"
+ light-signal: "#2778C1"
+ light-life: "#007041"
+ light-fault: "#BE1744"
+ light-degraded: "#A46700"
+ light-info: "#176C74"
+ light-diff-add-ink: "#007041"
+ light-diff-add-ground: "#00B068 @ 18%"
+ light-diff-del-ink: "#BE1744"
+ light-diff-del-ground: "#FF617B @ 22%"
typography:
display:
@@ -287,12 +303,31 @@ components:
typography: "{typography.title}"
rounded: "{rounded.pill}"
size: 36px
+ nav-row-selected-bar:
+ backgroundColor: "{colors.dark-signal}"
+ width: 2px
+ link:
+ textColor: "{colors.dark-signal}"
+ typography: "{typography.body}"
+ badge-info:
+ backgroundColor: "{colors.dark-info}"
+ textColor: "{colors.dark-on-fill}"
+ typography: "{typography.micro}"
+ rounded: "{rounded.pill}"
+ diff-line-add:
+ backgroundColor: "{colors.dark-diff-add-ground}"
+ textColor: "{colors.dark-diff-add-ink}"
+ typography: "{typography.code}"
+ diff-line-del:
+ backgroundColor: "{colors.dark-diff-del-ground}"
+ textColor: "{colors.dark-diff-del-ink}"
+ typography: "{typography.code}"
status-dot-live:
- backgroundColor: "{colors.life}"
+ backgroundColor: "{colors.dark-life}"
rounded: "{rounded.pill}"
size: 8px
status-dot-fault:
- backgroundColor: "{colors.fault}"
+ backgroundColor: "{colors.dark-fault}"
rounded: "{rounded.pill}"
size: 8px
status-dot-idle:
@@ -364,9 +399,13 @@ status hues, the seven-step scale) and changes what it was wrong about:
- **Nothing below 11 px.** The 271 remaining `text-[7–10px]` sites were swept
to the `micro` step in the same change.
-Still black-and-white. Still neutral greys (`r = g = b` in dark, warm paper in
-light). Still exactly three hues. The conviction was never the problem; the
-values were.
+Still neutral greys (`r = g = b` in dark, warm paper in light) for every
+surface and every rim. **But no longer colourless.** 3.1 — the same evening,
+after the maintainer held the 3.0 build next to Cursor — puts colour back
+where it means something. Cursor's greys are practically ours; what makes
+Cursor look finished is that a removed line is rose, an added one green, a
+warning amber, a link blue, and all of it desaturated to one family. That is
+the whole difference, and it is now ours too (see *Colour has jobs*).
## Colors
@@ -433,21 +472,45 @@ measures. But the floor for anything a person is meant to read is now 64 %,
up from 58 %, and the placeholder step is 48 %, up from 44 %. Small numbers;
the difference between "meta" and "faded".
-### Status — the only hue in the product
+### Colour has jobs
-Three colours, identical in both themes because a status must not change
-meaning with the theme. Everything else in the interface is neutral.
+Read from Cursor's installed theme (`cursor-dark-color-theme.json`, 252
+roles) rather than from screenshots. The recipe: neutral greys carry the
+structure; colour appears only where it *means* something; every hue is
+desaturated to about the same chroma so the set reads as one family. One
+signal hue, four semantic tones, coloured diffs. Nothing else.
-| Token | Meaning | Value |
-|---|---|---|
-| `life` | Running, live, connected, on, passed. | `#2DBE7E` |
-| `fault` | Failed, blocked, disconnected, error. | `#E8574C` |
-| `degraded` | Stale, partial, needs attention. | `#D6A94A` |
+| Token | Job | Dark | Light |
+|---|---|---|---|
+| `signal` (`--accent`) | Links, focus ring token, the active nav row's leading bar, the install caret, prose links. **Press this / follow this.** | `#81A1C1` | `#2778C1` |
+| `life` (`--success`) | Running, live, connected, passed, progress. | `#3FA266` | `#007041` |
+| `fault` (`--destructive`) | Failed, blocked, error, destructive action. | `#E34671` | `#BE1744` |
+| `degraded` (`--warning`) | Stale, modified, partial, needs attention. | `#F1B467` | `#A46700` |
+| `info` (`--info`) | Counts, new items, hints — "note this" without "something is wrong". | `#88C0D0` | `#176C74` |
+
+`--primary` stays the white fill: the primary button, marks and the orb ring
+are still ink-on-ink, as in Grok and ChatGPT. `signal` is a *colour*, not a
+fill for buttons — the exception a Cursor "Install" button makes is not one
+this product needs.
+
+Binding rules. A status may **never** be encoded as `ink` or `fill`. A status
+ramp may **never** render "ok" dimmer than "unknown". A success state must
+actually use `life`. And a hue is never decorative: if an element is coloured,
+the colour must be readable as one of the five jobs above.
+
+### Diffs
+
+Monochrome diffs with strike-through (3.0) are withdrawn. An added line is
+green ink on green at 18 %; a removed line is rose ink on rose at 20 %. That
+is Cursor's `diffEditor.*` / `gitDecoration.*` pair exactly, and it is the
+single most-cited reason the maintainer named for Cursor looking finished.
+
+### The run graph
-A status may **never** be encoded as `ink` or `fill`. A status ramp may
-**never** render "ok" dimmer than "unknown". A success state must actually
-use `life` — four green rings are most of what makes Grok's window read as
-running.
+Eleven step families on the same palette Cursor paints code in — lavender
+reasoning, cyan shell and web, amber writes and deliverables, sky search,
+mauve integrations, pink sub-agents, blue ignition, green landing, neutral
+unknown. Two values (3.0) were honest but unreadable at a glance.
### Identity
@@ -461,7 +524,7 @@ are never read as state.
### Selection
Dragging across text answers in the theme's own material — `sheen` at 22 % —
-never the engine's default blue. It was the one saturated slab a
+never the engine's default blue. Selection is not a job for `signal`. It was the one saturated slab a
black-and-white product showed every time someone selected a sentence.
## Typography
@@ -630,6 +693,9 @@ Every section owns four states, and all four are designed.
it encloses, it is not a rim.
- Don't set a status in `ink` or `fill`, and never let "ok" be quieter than
"unknown".
+- Don't colour anything that is not one of the five jobs. A hue with no
+ meaning is noise; five hues with meaning are the difference between a
+ wireframe and a product.
- Don't use tiny uppercase labels. Don't go below 11 px.
- Don't add a shadow to anything that is not floating.
- Don't fetch a font from a remote host. Ever.
@@ -644,7 +710,8 @@ graphite: `rim` down to `#DFDDD5` so it reads on white cards, `ink-meta`
down to `#66635A` (6.6 : 1 on paper), and the user bubble becomes a quiet
`lift` fill with strong ink rather than a black slab.
-The three status hues do **not** change between themes.
+The five colour jobs keep their meaning between themes and take Cursor
+Light's values (`#2778C1`, `#007041`, `#BE1744`, `#A46700`, `#176C74`).
## The Agentic IDE panes
@@ -653,8 +720,9 @@ ladder re-derived per appearance in `terminalThemes.ts`, because a light pane
inside a dark app is a supported combination and xterm cannot read a CSS
token. The values there are this document's values: dark shell over `#121212`,
rims at white 12 %, float `#303030`, ink `#F0F0F0` / `#A3A3A3` / `#7A7A7A`.
-The 16 ANSI slots keep their hues — a terminal's palette is one of the few
-places colour legitimately survives.
+The 16 ANSI slots are Cursor's own terminal set (rose, green, `#D2943E`,
+`#81A1C1`, `#B48EAD`, `#88C0D0`, brights one step lighter) so a CLI's output
+and the app's chrome share one palette; the light pane takes Cursor Light's.
## Enforcement
diff --git a/assets/icons/jarvis-dev.ico b/assets/icons/jarvis-dev.ico
index 6dba2c4ee9..e2fedfedd2 100644
Binary files a/assets/icons/jarvis-dev.ico and b/assets/icons/jarvis-dev.ico differ
diff --git a/assets/icons/jarvis-dev.png b/assets/icons/jarvis-dev.png
index 837c71c90c..132b12cb75 100644
Binary files a/assets/icons/jarvis-dev.png and b/assets/icons/jarvis-dev.png differ
diff --git a/docs/BRAND.md b/docs/BRAND.md
index 188379ebef..077504636a 100644
--- a/docs/BRAND.md
+++ b/docs/BRAND.md
@@ -32,11 +32,12 @@ paper's warmth — that was the muddy look.
| Hairline, dark | `#2B2B2B` | ![](https://img.shields.io/badge/_-2B2B2B?style=flat-square&labelColor=2B2B2B) |
| Muted text, light | `#66635A` | ![](https://img.shields.io/badge/_-66635A?style=flat-square&labelColor=66635A) |
| Muted text, dark | `#A3A3A3` | ![](https://img.shields.io/badge/_-A3A3A3?style=flat-square&labelColor=A3A3A3) |
-| Destructive, light | `#C0392B` | ![](https://img.shields.io/badge/_-C0392B?style=flat-square&labelColor=C0392B) |
+| Destructive, light | `#BE1744` | ![](https://img.shields.io/badge/_-BE1744?style=flat-square&labelColor=BE1744) |
-Three things keep their own colour on purpose, because taking it away would remove
-information rather than noise: third-party provider logos, the sixteen ANSI slots a
-terminal paints with, and the destructive action. Everything else is ink and paper.
+Surfaces, rims and ink are neutral. Colour is spent only where it carries information:
+provider logos in their real colours, the sixteen ANSI slots, and the five colour jobs
+below (signal, life, fault, degraded, info) plus coloured diffs. Everything else is ink
+and paper.
These are the exact tokens from the desktop app
(`jarvis/ui/web/frontend/src/index.css`). The README, the product, and any brand asset
@@ -53,9 +54,13 @@ must stay on the same values so nothing drifts.
hairline, and chat bubbles are quiet fills (`#1F1F1F` in, `#2E2E2E` out).
- **Both modes, always.** A colour comes from a theme token or from the per-appearance
tables in `terminalThemes.ts`. Never hardcode one mode's value.
-- **No second accent.** There is no brand hue to reintroduce. The cyan and magenta in the
- wordmark are a *glitch artifact*, not part of the palette; never use them as UI colours.
- **Gigi** is black-and-white: a black body, white eyes and outline, no disc behind it.
+- **One signal hue, five colour jobs, no brand hue.** Surfaces and rims stay neutral. Colour
+ appears only where it means something: `signal` blue (`#81A1C1` dark / `#2778C1` light)
+ for links, focus and the active row's bar; `life` green, `fault` rose, `degraded` amber and
+ `info` cyan for state; green/rose grounds under diffs. All of it on Cursor's desaturated
+ values so the set reads as one family. The cyan and magenta in the wordmark are a *glitch
+ artifact*, never UI colours. **Gigi** is black-and-white: a black body, white eyes and
+ outline, no disc behind it.
- **Rasters convert on max(r, g, b), the orb on luma.** That is what keeps a mark legible
after it loses its colour.
diff --git a/jarvis/assets/icons/jarvis-dev.ico b/jarvis/assets/icons/jarvis-dev.ico
index 6dba2c4ee9..e2fedfedd2 100644
Binary files a/jarvis/assets/icons/jarvis-dev.ico and b/jarvis/assets/icons/jarvis-dev.ico differ
diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
index 8af91bce6d..12230d033d 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx
@@ -269,7 +269,7 @@ function ViewerContent({
</div>
)}
{kind === "markdown" ? (
- <article className="prose prose-neutral max-w-none text-sm dark:prose-invert prose-a:text-primary prose-code:text-foreground prose-pre:border prose-pre:border-border prose-pre:bg-card">
+ <article className="prose prose-neutral max-w-none text-sm dark:prose-invert prose-a:text-accent prose-code:text-foreground prose-pre:border prose-pre:border-border prose-pre:bg-card">
<ReactMarkdown remarkPlugins={[remarkGfm]} components={markdownComponents}>{text}</ReactMarkdown>
</article>
) : text ? (
diff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
index 72bdcd4500..19d94a6ac9 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
@@ -68,22 +68,24 @@ export const LIGHT_TERMINAL_THEME: ITheme = {
cursorAccent: "#fcfbf8",
selectionBackground: "#dedcd4",
selectionForeground: "#2b2b33",
- black: "#3a3a44",
- red: "#c0392b",
- green: "#1b7f3b",
- yellow: "#9a6700",
- blue: "#1a5fb4",
- magenta: "#8b3fa8",
- cyan: "#0e7490",
- white: "#6b6b76",
- brightBlack: "#77777f",
- brightRed: "#e0402c",
- brightGreen: "#12703a",
- brightYellow: "#b07d00",
- brightBlue: "#0b57d0",
- brightMagenta: "#a333c8",
- brightCyan: "#0f7c8f",
- brightWhite: "#1f1f26",
+ // Cursor Light's terminal slots: the same semantic tones the app's light
+ // tokens use (life #007041, fault #BE1744, degraded #A46700, link #0064B0).
+ black: "#3a3a3a",
+ red: "#be1744",
+ green: "#007041",
+ yellow: "#8b5700",
+ blue: "#0064b0",
+ magenta: "#92156a",
+ cyan: "#176c74",
+ white: "#6b6b6b",
+ brightBlack: "#777777",
+ brightRed: "#ce405b",
+ brightGreen: "#00854c",
+ brightYellow: "#a46700",
+ brightBlue: "#2778c1",
+ brightMagenta: "#b0348a",
+ brightCyan: "#1f8a94",
+ brightWhite: "#1f1f1f",
};
/**
@@ -102,21 +104,24 @@ export const DARK_TERMINAL_THEME: ITheme = {
cursorAccent: "#12141a",
selectionBackground: "#3a4252",
selectionForeground: "#ffffff",
- black: "#2a2d36",
- red: "#ff6b5e",
- green: "#5ddb8c",
- yellow: "#ffd60a",
- blue: "#7aa8ff",
- magenta: "#d99bff",
- cyan: "#6fdbe8",
- white: "#c8c8d0",
- brightBlack: "#8a8a95",
- brightRed: "#ff8b80",
- brightGreen: "#86e8a8",
- brightYellow: "#ffe479",
- brightBlue: "#a5c4ff",
- brightMagenta: "#e8bdff",
- brightCyan: "#9aeaf2",
+ // Cursor Dark Anysphere's terminal slots — the desaturated set the app's
+ // dark tokens are built from (life #3FA266, fault #E34671, signal #81A1C1,
+ // info #88C0D0). Brights are one step lighter, never neon.
+ black: "#2b2b2b",
+ red: "#fc6b83",
+ green: "#3fa266",
+ yellow: "#d2943e",
+ blue: "#81a1c1",
+ magenta: "#b48ead",
+ cyan: "#88c0d0",
+ white: "#c8c8c8",
+ brightBlack: "#8a8a8a",
+ brightRed: "#ff8fa3",
+ brightGreen: "#70b489",
+ brightYellow: "#f1b467",
+ brightBlue: "#a5bdd6",
+ brightMagenta: "#d4b3cc",
+ brightCyan: "#a8d6e1",
brightWhite: "#ffffff",
};
@@ -252,7 +257,7 @@ export const PANE_CHROME: Record<TerminalAppearance, PaneChrome> = {
connecting: "rgba(38,37,30,0.14)",
live: "rgba(38,37,30,0.14)",
exited: "rgba(38,37,30,0.07)",
- error: "rgba(199,46,35,0.45)",
+ error: "rgba(190,23,68,0.45)",
},
},
dark: {
@@ -263,7 +268,7 @@ export const PANE_CHROME: Record<TerminalAppearance, PaneChrome> = {
connecting: "rgba(255,255,255,0.12)",
live: "rgba(255,255,255,0.12)",
exited: "rgba(255,255,255,0.06)",
- error: "rgba(232,87,76,0.55)",
+ error: "rgba(227,70,113,0.55)",
},
},
};
diff --git a/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx b/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
index 6324c73ba5..8bb03d8629 100644
--- a/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
+++ b/jarvis/ui/web/frontend/src/components/docs/DocsContent.tsx
@@ -116,7 +116,7 @@ function DocsContentInner({
}
return (
- <article className="prose prose-neutral dark:prose-invert prose-base mx-auto max-w-3xl px-8 py-10 prose-headings:scroll-mt-20 prose-headings:text-pretty prose-p:text-pretty prose-code:before:hidden prose-code:after:hidden prose-a:text-primary prose-a:no-underline hover:prose-a:underline lg:px-10">
+ <article className="prose prose-neutral dark:prose-invert prose-base mx-auto max-w-3xl px-8 py-10 prose-headings:scroll-mt-20 prose-headings:text-pretty prose-p:text-pretty prose-code:before:hidden prose-code:after:hidden prose-a:text-accent prose-a:no-underline hover:prose-a:underline lg:px-10">
<header className="not-prose mb-9 border-b border-border pb-6">
<nav
aria-label="Breadcrumb"
diff --git a/jarvis/ui/web/frontend/src/components/ui/badge.tsx b/jarvis/ui/web/frontend/src/components/ui/badge.tsx
index bf9007b1c9..d84e939fa6 100644
--- a/jarvis/ui/web/frontend/src/components/ui/badge.tsx
+++ b/jarvis/ui/web/frontend/src/components/ui/badge.tsx
@@ -34,6 +34,7 @@ const badgeVariants = cva(
fault: "border-transparent bg-destructive text-destructive-foreground",
/** Stale, partial, needs attention. */
degraded: "border-transparent bg-warning text-primary-foreground",
+ info: "border-transparent bg-info text-info-foreground",
/**
* Retained so the ~30 existing call sites keep compiling; `fault` is
* the name to use for new code.
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index 63b21dc653..0e88189c78 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -523,19 +523,20 @@ label,
carried by weight and by --foreground-strong instead. 14.3:1 on paper. */
--primary: 53 12% 13%;
--primary-foreground: 60 16% 96%; /* the paper, not pure white */
- --accent: 53 12% 13%;
- --accent-foreground: 60 16% 96%;
- --ring: 53 12% 13%;
-
- /* --- Status. The only hue in the product ------------------------------
- Three meanings, identical in both themes so a status never changes
- meaning with the theme; the lightness is tuned per ground so each one
- stays legible on it. Nothing else in the interface carries hue except
- identity — a vendor logo in its real colours, or a coloured avatar. */
- --success: 153 62% 32%; /* life: running, live, connected, passed */
- --destructive: 4 70% 46%; /* fault: failed, blocked, disconnected */
+ --accent: 206 66% 45%; /* #2778C1 — the SIGNAL: links, focus, active marks */
+ --accent-foreground: 0 0% 99%;
+ --ring: 206 66% 45%;
+
+ /* --- Status. Colour has jobs again (v3.1, 2026-09-01) ------------------
+ The all-neutral product read as dead. Cursor's Anysphere theme is the
+ model: neutral greys carrying one desaturated signal hue and a small
+ semantic set — green life, rose fault, amber degraded, cyan info —
+ plus coloured diffs and a coloured run graph. Same meanings in both
+ themes; the lightness is tuned per ground. */
+ --success: 156 100% 22%; /* #007041 — life */
+ --destructive: 344 78% 42%; /* #BE1744 — fault */
--destructive-foreground: 0 0% 100%;
- --warning: 41 70% 38%; /* degraded: stale, partial, needs attention */
+ --warning: 38 100% 32%; /* #A46700 — degraded */
/* Added / removed code in a chat diff. Green and red were always the
weaker half of this signal: a diff already carries + and - in its
@@ -543,10 +544,10 @@ label,
says it more directly — an added line comes FORWARD (strong ink on a
lifted ground) and a deleted one RECEDES (meta ink, struck through,
see .diff-line-del). Strike-through is the move colour cannot make. */
- --diff-add: 50 13% 8%;
- --diff-add-bg: 50 11% 89%;
- --diff-del: 46 6% 38%;
- --diff-del-bg: 51 18% 94%;
+ --diff-add: 156 100% 22%; /* #007041 */
+ --diff-add-bg: 155 100% 35%; /* #00B068, read at 18 % */
+ --diff-del: 344 78% 42%; /* #BE1744 */
+ --diff-del-bg: 350 100% 69%; /* #FF617B, read at 22 % */
--radius: 0.75rem;
@@ -554,7 +555,7 @@ label,
/* The accent as raw channels, for glows / grid lines / halos. Now the ink
itself: on paper a "glow" means a faint darkening, not a light source,
so every grid and halo built from this reads as a pencil rule. */
- --accent-rgb: 38 37 30;
+ --accent-rgb: 39 120 193;
/* What a translucent overlay DARKENS with (backdrops, vignettes, shadows).
Warm near-black rather than pure black, so a scrim over paper does not
turn grey-blue. */
@@ -604,17 +605,17 @@ label,
What survives is the only distinction worth a value: where a run starts
and where it lands are full ink, everything in between is neutral. Only
the card's icon tile reads `hsl(var(--viz-*))`. */
- --viz-trigger: 53 12% 13%; /* full ink — the run's ignition */
- --viz-reasoning: 46 6% 41%; /* the worker thinking */
- --viz-terminal: 46 6% 41%; /* shell commands */
- --viz-file: 46 6% 41%; /* file writes/edits */
- --viz-search: 46 6% 41%; /* read/grep/glob */
- --viz-web: 46 6% 41%; /* fetch/web */
- --viz-integration: 46 6% 41%; /* MCP / external tools */
- --viz-agent: 46 6% 41%; /* sub-agent spawns */
- --viz-tool: 46 6% 41%; /* unrecognised tools */
- --viz-result: 53 12% 13%; /* full ink — the run's landing */
- --viz-deliverable: 46 6% 41%; /* files left behind */
+ --viz-trigger: 206 66% 45%;
+ --viz-reasoning: 247 45% 52%;
+ --viz-terminal: 184 67% 27%;
+ --viz-file: 38 100% 32%;
+ --viz-search: 208 100% 35%;
+ --viz-web: 184 67% 27%;
+ --viz-integration: 315 75% 33%;
+ --viz-agent: 330 60% 45%;
+ --viz-tool: 46 6% 38%;
+ --viz-result: 156 100% 22%;
+ --viz-deliverable: 38 100% 32%;
/* --- The mascot's two marking roles ----------------------------------
The ghost was drawn with one hardcoded white for everything, which is
@@ -643,6 +644,11 @@ label,
--jarvis-yellow: 38 37 30;
--jarvis-yellow-dim: 128 125 114;
--jarvis-grid: 45 10% 86%;
+
+ /* --- Info. The fourth semantic hue — see .dark ------------------------- */
+ --info: 184 67% 27%; /* #176C74 */
+ --info-foreground: 0 0% 99%;
+
}
.dark {
@@ -718,26 +724,26 @@ label,
has none above `ink` and keeps the two equal. 19.8:1. */
--primary: 0 0% 100%;
--primary-foreground: 0 0% 7%; /* the room */
- --accent: 0 0% 100%;
- --accent-foreground: 0 0% 7%;
- --ring: 0 0% 100%;
+ --accent: 208 33% 63%; /* #81A1C1 — the SIGNAL: links, focus, active marks */
+ --accent-foreground: 0 0% 8%;
+ --ring: 208 33% 63%;
- /* --- Status. Same three meanings as light, lifted for a black ground -- */
- --success: 153 62% 46%; /* #2DBE7E — life */
- --destructive: 4 77% 60%; /* #E8574C — fault */
+ /* --- Status. Same meanings as light; Cursor Dark's own values ---------- */
+ --success: 143 43% 44%; /* #3FA266 — life: running, live, passed */
+ --destructive: 344 74% 58%; /* #E34671 — fault: failed, blocked, error */
--destructive-foreground: 0 0% 98%;
- --warning: 41 63% 57%; /* #D6A94A — degraded */
+ --warning: 36 76% 67%; /* #F1B467 — degraded: stale, modified, attention */
/* Added / removed code — see :root. The added line takes the lift so it
comes forward off the card it sits on; the deleted line takes the card
itself, i.e. no ground of its own, and recedes through meta ink and the
strike-through. It must never be DARKER than the surface under it. */
- --diff-add: 0 0% 98%;
- --diff-add-bg: 0 0% 16%;
- --diff-del: 0 0% 64%;
- --diff-del-bg: 0 0% 12%;
+ --diff-add: 143 30% 57%; /* #70B489 */
+ --diff-add-bg: 143 43% 44%; /* #3FA266, read at 18 % */
+ --diff-del: 350 96% 71%; /* #FC6B83 */
+ --diff-del-bg: 336 100% 36%; /* #B80049, read at 20 % */
- --accent-rgb: 255 255 255;
+ --accent-rgb: 129 161 193;
--scrim-rgb: 0 0 0;
--sheen-rgb: 255 255 255;
--shell-rgb: 18 18 18; /* the room, as channels */
@@ -759,17 +765,17 @@ label,
/* Run-graph node categories — see :root. Ignition and landing take the
full accent; every step between them is neutral and leaves the telling
to its glyph. */
- --viz-trigger: 0 0% 100%;
- --viz-reasoning: 0 0% 64%;
- --viz-terminal: 0 0% 64%;
- --viz-file: 0 0% 64%;
- --viz-search: 0 0% 64%;
- --viz-web: 0 0% 64%;
- --viz-integration: 0 0% 64%;
- --viz-agent: 0 0% 64%;
- --viz-tool: 0 0% 64%;
- --viz-result: 0 0% 100%;
- --viz-deliverable: 0 0% 64%;
+ --viz-trigger: 208 33% 63%; /* blue — the run's ignition */
+ --viz-reasoning: 247 90% 80%; /* lavender — thinking */
+ --viz-terminal: 193 43% 67%; /* cyan — shell */
+ --viz-file: 36 76% 67%; /* amber — writes */
+ --viz-search: 212 100% 76%; /* sky — read/grep/glob */
+ --viz-web: 193 43% 67%; /* cyan — fetch/web */
+ --viz-integration: 308 18% 62%; /* mauve — MCP / external */
+ --viz-agent: 317 63% 75%; /* pink — sub-agents */
+ --viz-tool: 0 0% 64%; /* neutral — unrecognised tools */
+ --viz-result: 143 43% 44%; /* green — the run's landing */
+ --viz-deliverable: 36 76% 67%; /* amber — files left behind */
/* Black-and-white Gigi: white eyes and a white outline on charcoal. */
--gigi-on-body: 0 0% 100%;
@@ -779,6 +785,13 @@ label,
--jarvis-yellow: 255 255 255;
--jarvis-yellow-dim: 163 163 163;
--jarvis-grid: 0 0% 17%;
+
+ /* --- Info. The fourth semantic hue --------------------------------------
+ Cursor's badge / untracked / find-match cyan (#88C0D0). It says "note
+ this" without saying "something is wrong": counts, new items, hints. */
+ --info: 193 43% 67%;
+ --info-foreground: 0 0% 8%;
+
}
}
@@ -850,6 +863,13 @@ body {
letter-spacing: 0;
}
+/* Links in rendered prose take the signal hue. The typography plugin reads
+ these two variables for its `a` rules in both palettes. */
+.prose {
+ --tw-prose-links: hsl(var(--accent));
+ --tw-prose-invert-links: hsl(var(--accent));
+}
+
/* Selecting text answers in the theme's own material, not the engine's
default blue — the one saturated slab a black-and-white product used to
show every time someone dragged across a sentence. */
@@ -1005,6 +1025,7 @@ body {
.jarvis-nav-active {
background: hsl(var(--secondary));
color: hsl(var(--foreground-strong));
+ box-shadow: inset 2px 0 0 hsl(var(--accent));
}
/* Section-level grounds disappear everywhere the wallpaper is active. The
@@ -3467,28 +3488,15 @@ body {
*/
@layer components {
.diff-line-add {
- background-color: hsl(var(--diff-add-bg));
+ background-color: hsl(var(--diff-add-bg) / 0.18);
color: hsl(var(--diff-add));
}
- /* Struck through, not just dimmed. With no red to say "removed", the line
- has to show it: the rule is drawn in the line's own muted ink so it reads
- as a cancellation rather than as a second underline, and it is scoped to
- whole diff LINES — the "+12 -3" counters below must stay legible. */
+ /* Removed lines keep their ink readable: the rose ground is faint and the
+ rose ink carries the meaning. Cursor draws exactly this pair
+ (diffEditor.removedTextBackground #B80049 at 13-20 %, gutter #E34671). */
.diff-line-del {
- background-color: hsl(var(--diff-del-bg));
- color: hsl(var(--diff-del));
- text-decoration: line-through;
- text-decoration-color: hsl(var(--diff-del) / 0.55);
- text-decoration-thickness: 1px;
- }
-
- /* The same two inks with no ground, for the "+12 -3" on a row. */
- .diff-ink-add {
- color: hsl(var(--diff-add));
- }
-
- .diff-ink-del {
+ background-color: hsl(var(--diff-del-bg) / 0.2);
color: hsl(var(--diff-del));
}
}
diff --git a/jarvis/ui/web/frontend/tailwind.config.ts b/jarvis/ui/web/frontend/tailwind.config.ts
index d6b45f6f05..2f3db10c07 100644
--- a/jarvis/ui/web/frontend/tailwind.config.ts
+++ b/jarvis/ui/web/frontend/tailwind.config.ts
@@ -41,6 +41,12 @@ const config: Config = {
* place hue is allowed to appear, so it needs its own token.
*/
warning: "hsl(var(--warning))",
+ /* The fourth semantic hue: counts, new items, hints — "note this"
+ without "something is wrong". Cursor's badge cyan. */
+ info: {
+ DEFAULT: "hsl(var(--info))",
+ foreground: "hsl(var(--info-foreground))",
+ },
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
diff --git a/scripts/make_gigi_app_icon.py b/scripts/make_gigi_app_icon.py
index 7ffdb4ef8f..914a193e8f 100644
--- a/scripts/make_gigi_app_icon.py
+++ b/scripts/make_gigi_app_icon.py
@@ -38,7 +38,7 @@ from __future__ import annotations
import math
from pathlib import Path
-from PIL import Image, ImageChops, ImageDraw, ImageFilter
+from PIL import Image, ImageChops, ImageDraw, ImageFilter, ImageFont
ROOT = Path(__file__).resolve().parent.parent
@@ -90,6 +90,8 @@ POOL_RADIUS = 0.66
BODY_INK = (10, 10, 10)
FACE_INK = (6, 6, 6) # pupils and the mouth's core, a touch deeper still
PAPER = (255, 255, 255)
+DEV_AMBER = (241, 180, 103) # the interface's "degraded" amber (#F1B467)
+DEV_INK = (20, 20, 20)
#: The mark's box as a fraction of the tile — bigger where the tile is smaller.
SPAN_LARGE = 0.62
SPAN_SMALL = 0.76
@@ -287,6 +289,42 @@ def render_tile(size: int) -> Image.Image:
return tile
+def _dev_ribbon(size: int) -> Image.Image:
+ """The amber DEV label the dev instance wears in its lower-right corner.
+
+ Drawn from the same amber the interface uses for "degraded" so the two
+ icons share a palette, and sized from the tile so it survives every ICO
+ member: below 32 px the word cannot be read, so the label collapses to a
+ plain amber block that still says "this is the other one" at a glance.
+ """
+ ribbon = Image.new("RGBA", (size, size), (0, 0, 0, 0))
+ draw = ImageDraw.Draw(ribbon)
+ width = size * 0.5
+ height = size * 0.2
+ margin = size * 0.05
+ x1 = size - margin
+ y1 = size - margin
+ x0 = x1 - width
+ y0 = y1 - height
+ radius = height * 0.28
+ draw.rounded_rectangle((x0, y0, x1, y1), radius=radius, fill=(*DEV_AMBER, 255))
+ if size >= 32:
+ font = ImageFont.load_default(size=int(height * 0.78))
+ text = "DEV"
+ left, top, right, bottom = draw.textbbox((0, 0), text, font=font)
+ tx = x0 + (width - (right - left)) / 2 - left
+ ty = y0 + (height - (bottom - top)) / 2 - top
+ draw.text((tx, ty), text, font=font, fill=(*DEV_INK, 255))
+ return ribbon
+
+
+def render_dev_tile(size: int) -> Image.Image:
+ """The dev instance's icon: the same tile, wearing the DEV ribbon."""
+ tile = render_tile(size)
+ tile.alpha_composite(_dev_ribbon(size))
+ return tile
+
+
def render_mark(size: int) -> Image.Image:
"""The free-standing mark, for surfaces that bring their own frame.
@@ -338,7 +376,20 @@ def main() -> None:
ROOT / "jarvis" / "ui" / "web" / "frontend" / "public" / "jarvis-gigi.ico",
):
write_ico(path, members)
- print(f"wrote the app icon at {MASTER} px, 256 px, and {len(ICO_SIZES)} ICO members")
+ # The dev instance (``--instance dev``) shows its own DEV-badged copy on the
+ # taskbar and in its shortcut. It is rendered here, from the same drawing,
+ # so a redrawn Gigi can no longer leave the dev icon one draft behind.
+ dev_members = [render_dev_tile(s) for s in sorted(ICO_SIZES, reverse=True)]
+ write_png(ROOT / "assets" / "icons" / "jarvis-dev.png", render_dev_tile(256))
+ for path in (
+ ROOT / "jarvis" / "assets" / "icons" / "jarvis-dev.ico",
+ ROOT / "assets" / "icons" / "jarvis-dev.ico",
+ ):
+ write_ico(path, dev_members)
+ print(
+ f"wrote the app icon at {MASTER} px, 256 px, {len(ICO_SIZES)} ICO members, "
+ "and the DEV-badged copy"
+ )
if __name__ == "__main__":