Replaces the conventional chat aesthetic on /ai with a brutalist-mono
operator deck. The page now reads as a flight recorder — turn numbers
in the gutter, hairline rules, sodium-amber phosphor primary on
deep-ink ground, vim-style modeline at the foot.
Type system is the design's load-bearing element:
- JetBrains Mono for everything system-y (operator lines, signatures,
modeline, session ids, tool calls)
- Newsreader serif for the agent's prose only — the synthesis voice
literally lifts off the page in a different family from the machine
voice. Operator and agent are typographically inseparable from their
speaker.
Layout changes:
- Sticky session header with a giant base36 session id ("3K9P · A4C2")
and a metadata strip showing agent, model, turn count, status. The
status pill flips colour: AMBER on stream, ROSE on awaiting confirm,
MINT on ready, MUTED on mock.
- Empty state is no longer the apologetic "How can I help you today?".
It's "ATLAS. standing by." in oversize mono with the agent name in
italic serif amber, a hairline divider, and a single one-liner
instruction prefixed with ›. Lines stagger in via animation-delay.
- Operator turns: monospace, 14px, sodium-amber › prompt, no bubble.
Hangs from a left gutter with T01/T02… turn number + UTC timestamp.
- Agent turns: serif, 17px/1.55, with a tiny mono signature underneath
("atlas» 03:14:08Z · recv"). Cyan accent column instead of amber.
- Composer: terminal frame (square, 1px border, focus ring is amber
glow). Internal ›_ prompt mark in front of the textarea, mono input.
- Bottom modeline: utc clock + turn count + estimated tokens on the
left, keyboard hints on the right. Streaming flips the right side
to a pulsing phosphor bar + STREAM label.
Atmosphere details:
- 2px scanline overlay (very faint, 1.2% opacity)
- Corner phosphor blooms (amber top-right, cyan bottom-left)
- Inline SVG turbulence grain (3.5% opacity) over the whole theme
- Cursor blink animation on the prompt mark
- Consolas-tier ligatures on the mono via JetBrains Mono ss01/calt
All theming scoped via [data-theme="console"] — picks up automatically
because /ai's AppShell now passes theme="console". Other routes are
untouched. Tool-call cards from @crema/agent-ui inherit the palette
via overridden CSS variables (--card, --border, --primary, etc) plus
a [data-slot="tool-call-card"] override for the frame.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
153 lines
6.0 KiB
CSS
153 lines
6.0 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Geist+Mono:wght@100..900&display=swap");
|
|
|
|
/* Active theme — must be first so its @import url() font directives resolve
|
|
* to the top of the output. Themes are self-contained: tokens + fonts. */
|
|
@import "../../lib-theme-skyrise/theme.css"; /* CREMA:THEME */
|
|
|
|
/* Per-route alt theme — applied via [data-theme="console"] on AppShell. */
|
|
@import "./themes/console.css";
|
|
|
|
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@source "../../lib-chat-ui/src";
|
|
@source "../../lib-aifirst-ui/src";
|
|
@source "../../lib-llm-ui/src";
|
|
@source "../../lib-action-bus/src";
|
|
@source "../../lib-arcadia-client/src";
|
|
@source "../../lib-arcadia-auth-ui/src";
|
|
@source "../../lib-table-ui/src";
|
|
@source "../../lib-search-ui/src";
|
|
@source "../../lib-feedback-ui/src";
|
|
@source "../../lib-auth-ui/src";
|
|
@source "../../lib-agent-ui/src";
|
|
@source "../../lib-llm-providers-ui/src";
|
|
@source "../../lib-file-ui/src";
|
|
@source "../../lib-card-ui/src";
|
|
@source "../../lib-dashboard-ui/src";
|
|
@source "../../lib-chart-ui/src";
|
|
@source "../../lib-map-ui/src";
|
|
@source "../../lib-status-ui/src";
|
|
/* CREMA:SOURCES */
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--font-heading: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
|
|
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
|
|
--font-ai-prose: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
|
|
--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-success: var(--success);
|
|
--color-success-foreground: var(--success-foreground);
|
|
--color-syntax-keyword: var(--syntax-keyword);
|
|
--color-syntax-string: var(--syntax-string);
|
|
--color-syntax-number: var(--syntax-number);
|
|
--color-syntax-comment: var(--syntax-comment);
|
|
--color-syntax-function: var(--syntax-function);
|
|
--color-syntax-type: var(--syntax-type);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--color-foreground: var(--foreground);
|
|
--color-background: var(--background);
|
|
--ease-standard: var(--ease-standard);
|
|
--ease-emphasized: var(--ease-emphasized);
|
|
--ease-decelerate: var(--ease-decelerate);
|
|
--ease-accelerate: var(--ease-accelerate);
|
|
--ease-spring-gentle: var(--ease-spring-gentle);
|
|
--ease-spring-snappy: var(--ease-spring-snappy);
|
|
--ease-spring-bouncy: var(--ease-spring-bouncy);
|
|
--duration-spring: var(--duration-spring);
|
|
--duration-fast: var(--duration-fast);
|
|
--duration-base: var(--duration-base);
|
|
--duration-slow: var(--duration-slow);
|
|
--duration-slower: var(--duration-slower);
|
|
--text-display: var(--text-display-size);
|
|
--text-display--line-height: var(--text-display-lh);
|
|
--text-headline: var(--text-headline-size);
|
|
--text-headline--line-height: var(--text-headline-lh);
|
|
--text-title: var(--text-title-size);
|
|
--text-title--line-height: var(--text-title-lh);
|
|
--text-body: var(--text-body-size);
|
|
--text-body--line-height: var(--text-body-lh);
|
|
--text-label: var(--text-label-size);
|
|
--text-label--line-height: var(--text-label-lh);
|
|
--text-caption: var(--text-caption-size);
|
|
--text-caption--line-height: var(--text-caption-lh);
|
|
--shadow-e0: var(--elevation-0);
|
|
--shadow-e1: var(--elevation-1);
|
|
--shadow-e2: var(--elevation-2);
|
|
--shadow-e3: var(--elevation-3);
|
|
--shadow-e4: var(--elevation-4);
|
|
--shadow-e5: var(--elevation-5);
|
|
--border-width-thin: var(--border-width-thin);
|
|
--border-width-base: var(--border-width-base);
|
|
--border-width-thick: var(--border-width-thick);
|
|
--border-width-heavy: var(--border-width-heavy);
|
|
--radius-sm: calc(var(--radius) * 0.5);
|
|
--radius-md: calc(var(--radius) * 0.75);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.15);
|
|
--radius-2xl: calc(var(--radius) * 1.3);
|
|
--radius-3xl: calc(var(--radius) * 1.5);
|
|
--radius-4xl: calc(var(--radius) * 1.75);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
html, body {
|
|
min-height: 100%;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
min-height: 100dvh;
|
|
overscroll-behavior-y: none;
|
|
}
|
|
html {
|
|
@apply font-sans;
|
|
overscroll-behavior-y: none;
|
|
}
|
|
|
|
/* Mount the skyrise aurora-field as a fixed backdrop layer so the
|
|
* iridescent drift always covers the viewport — independent of body
|
|
* height, scroll position, or backdrop-filter siblings unmounting
|
|
* (which can otherwise leave the body bg stuck in a stale paint). */
|
|
[data-slot="aurora-field"] {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|