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.

2.6 KB
Raw Blame
/* ==========================================================================
   dashboard-next — design tokens
   The --nxt-* names are the dashboard/app-shell alias layer. They now resolve
   to the canonical token set (public/tokens.css, B01) so there is ONE source of
   truth for shared values. Tokens whose value is identical to a canonical token
   are aliased via var(); the few that intentionally differ (the dashboard's
   pure-black background ramp, dark glass, slightly tighter accent wash) stay
   explicit and are commented. Dashboard-shell chrome dimensions (--dn-*) live
   here too. See DESIGN-TOKENS.md.
   ========================================================================== */
@import url('/tokens.css');

:root {
	/* Background ramp — dashboard runs a darker, pure-black base than the
	   site-wide --bg-0/--bg-1. The two rungs that ARE the canonical values now
	   say so with var() instead of a copy, per this sheet's own rule (alias when
	   identical, explicit when deliberately different); the pure-black floor and
	   the #111 mid rung have no canonical equivalent and stay explicit. */
	--nxt-bg-0: #000000;
	--nxt-bg-1: var(--bg-0);
	--nxt-bg-2: #111111;
	--nxt-bg-3: var(--bg-1);

	/* Ink / accent / stroke / state — aliased to canonical (identical values) */
	--nxt-ink:           var(--ink);            /* #e8e8e8 */
	--nxt-ink-dim:       var(--ink-dim);        /* #888888 */
	--nxt-ink-fade:      #555555;               /* darker than canonical --ink-faint; explicit */
	--nxt-accent:        var(--accent);         /* #ffffff */
	--nxt-accent-soft:   rgba(255, 255, 255, 0.08); /* tighter than canonical 0.10; explicit */
	--nxt-accent-strong: var(--ink);            /* #e8e8e8 */
	--nxt-glass:         rgba(0, 0, 0, 0.55);   /* dark glass — no canonical equivalent */
	--nxt-glass-strong:  rgba(0, 0, 0, 0.82);
	--nxt-stroke:        var(--stroke);         /* rgba(255,255,255,0.08) */
	--nxt-stroke-strong: var(--stroke-strong);  /* rgba(255,255,255,0.14) */
	--nxt-success:       var(--success);
	--nxt-warn:          var(--warn);
	--nxt-danger:        var(--danger);

	/* Radii — aliased to canonical scale */
	--nxt-radius:      var(--radius-lg);   /* 14px */
	--nxt-radius-sm:   var(--radius-md);   /* 10px */
	--nxt-radius-pill: var(--radius-pill); /* 999px */

	/* Dashboard chrome dimensions (shell-specific layout, not design primitives) */
	--dn-rail-w: 232px;          /* sidebar width on >= md */
	--dn-rail-w-collapsed: 64px; /* sidebar width when user collapses it */
	--dn-drawer-w: 360px;        /* right drawer width on >= xl */
	--dn-topbar-h: 56px;
	--dn-content-max: 1280px;
	--dn-gutter: 24px;
}