Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

style(tokens): name the violet accent pair so non-wallet surfaces can flip on light

nirholas10d92101b620
diff --git a/public/tokens.css b/public/tokens.css
index 9cbbf4e8e..5f43685af 100644
--- a/public/tokens.css
+++ b/public/tokens.css
@@ -171,13 +171,6 @@
--danger: #f87171;
--warn: #fbbf24;
- /* Wallet identity accent — the violet family that marks every wallet surface
- (chip, HUD, vanity studio) as one coherent system across the app. Route all
- wallet UI through these tokens rather than scattering raw rgba(139,92,246,…).
- accent default chip text / glow
- accent-soft chip fill (low alpha)
- stroke chip border
- hi vanity-highlighted address glyphs (pure white) */
/* Violet accent pair (QB-07). The pale violet that marks identity, agent and
on-chain surfaces was only ever named for the wallet, so every OTHER surface
reaching for the same hue hardcoded it: payments, integrations, gestures,
@@ -191,6 +184,13 @@
--accent-violet: #c4b5fd;
--accent-violet-strong: #a78bfa;
+ /* Wallet identity accent — the violet family that marks every wallet surface
+ (chip, HUD, vanity studio) as one coherent system across the app. Route all
+ wallet UI through these tokens rather than scattering raw rgba(139,92,246,…).
+ accent default chip text / glow
+ accent-soft chip fill (low alpha)
+ stroke chip border
+ hi vanity-highlighted address glyphs (pure white) */
--wallet-accent: var(--accent-violet);
--wallet-accent-strong: var(--accent-violet-strong);
--wallet-accent-soft: rgba(139, 92, 246, 0.10);
@@ -507,16 +507,20 @@
--text-4: #aab0bc;
--nv-bar-bg: rgba(255, 255, 255, 0.82);
- /* Wallet identity accent. The dark palette's pale violets (#c4b5fd text,
- #a78bfa vanity) were never remapped for light, so every wallet chip on a
- light surface rendered its address at 1.7:1 against the card: unreadable,
- and well under the 4.5:1 AA floor for the 11px type it uses. Darkening the
- two ink tokens to the violet-600/700 rungs keeps the violet identity that
- marks wallet UI across the app and measures 5.3:1 and 6.6:1. The fills,
- strokes and glow are alpha-based on the same 139,92,246 hue and already
- composite correctly on a light canvas, so they stay put. */
- --wallet-accent: #6d28d9;
- --wallet-accent-strong: #5b21b6;
+ /* Violet accent pair, and through the --wallet-* aliases every wallet surface
+ with it. The dark palette's pale violets (#c4b5fd text, #a78bfa vanity) were
+ never remapped for light, so every wallet chip on a light surface rendered
+ its address at 1.7:1 against the card: unreadable, and well under the 4.5:1
+ AA floor for the 11px type it uses. Darkening the two ink tokens to the
+ violet-600/700 rungs keeps the violet identity that marks wallet and
+ identity UI across the app and measures 5.3:1 and 6.6:1. Remapping the
+ PRIMITIVE rather than the wallet alias is what carries the fix to the
+ non-wallet surfaces (payments, integrations, gestures, genome, galaxy) that
+ now reference var(--accent-violet) directly. The fills, strokes and glow are
+ alpha-based on the same 139,92,246 hue and already composite correctly on a
+ light canvas, so they stay put. */
+ --accent-violet: #6d28d9;
+ --accent-violet-strong: #5b21b6;
/* Skeleton on light. A white-tint shimmer is invisible on a white canvas, so
the ramp inverts to a dark tint at the same two alphas. */
diff --git a/src/alpha-copilot.css b/src/alpha-copilot.css
index ba472c24f..3c5268619 100644
--- a/src/alpha-copilot.css
+++ b/src/alpha-copilot.css
@@ -228,8 +228,8 @@ body {
.ac-conviction-bar { flex: 1; height: 8px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.ac-conviction-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wallet-accent), var(--wallet-accent-strong)); border-radius: var(--radius-pill); transition: width var(--duration-slow) var(--ease-emphasized); }
.ac-conviction.is-snipe .ac-conviction-bar span { background: linear-gradient(90deg, var(--success), #34d399); }
-.ac-conviction.is-pass .ac-conviction-bar span { background: linear-gradient(90deg, var(--danger), var(--danger)); }
-.ac-conviction.is-watch .ac-conviction-bar span { background: linear-gradient(90deg, var(--warn), var(--warn)); }
+.ac-conviction.is-pass .ac-conviction-bar span { background: var(--danger); }
+.ac-conviction.is-watch .ac-conviction-bar span { background: var(--warn); }
.ac-conviction-val { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--ink); white-space: nowrap; }
.ac-conviction-val small { color: var(--ink-faint); font-size: var(--text-2xs); margin-left: 4px; }