Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

refactor(gui): split stylesheet sections

Rach Pradhanfa4c6ee78761
diff --git a/gui/src/styles/core.css b/gui/src/styles/core.css
new file mode 100644
index 00000000..a42aaaec
--- /dev/null
+++ b/gui/src/styles/core.css
@@ -0,0 +1,486 @@
+@import "tailwindcss";
+@import "tw-shimmer";
+@import "tw-animate-css";
+@import "shadcn/tailwind.css";
+@import "@fontsource-variable/geist";
+
+@custom-variant dark (&:is(.dark *));
+
+/* Desktop app: never allow native HTML5 element dragging (text/images/links). */
+* {
+ -webkit-user-drag: none;
+}
+
+/* Syntax-highlight token colors for the local code-block renderer (CodeBlock.tsx
+ + highlight/). github-light defaults, github-dark under `.dark`. */
+:root {
+ --sh-keyword: #d73a49;
+ --sh-string: #032f62;
+ --sh-class: #005cc5;
+ --sh-property: #005cc5;
+ --sh-entity: #6f42c1;
+ --sh-jsxliterals: #e36209;
+ --sh-sign: #6a737d;
+ --sh-comment: #6a737d;
+}
+
+.dark {
+ --sh-keyword: #ff7b72;
+ --sh-string: #a5d6ff;
+ --sh-class: #79c0ff;
+ --sh-property: #79c0ff;
+ --sh-entity: #d2a8ff;
+ --sh-jsxliterals: #ffa657;
+ --sh-sign: #8b949e;
+ --sh-comment: #8b949e;
+}
+
+.sh-keyword {
+ color: var(--sh-keyword);
+}
+.sh-string {
+ color: var(--sh-string);
+}
+.sh-class {
+ color: var(--sh-class);
+}
+.sh-property {
+ color: var(--sh-property);
+}
+.sh-entity {
+ color: var(--sh-entity);
+}
+.sh-jsxliterals {
+ color: var(--sh-jsxliterals);
+}
+.sh-sign {
+ color: var(--sh-sign);
+}
+.sh-comment {
+ color: var(--sh-comment);
+ font-style: italic;
+}
+
+@font-face {
+ font-family: "Geist Mono";
+ src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2");
+ font-style: normal;
+ font-weight: 100 900;
+ font-display: swap;
+}
+
+@theme {
+ --font-sans:
+ "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
+ Consolas, monospace;
+ --font-mono:
+ "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
+ Consolas, monospace;
+}
+
+@layer base {
+ :root {
+ color-scheme: light dark;
+ }
+
+ * {
+ box-sizing: border-box;
+ @apply border-border outline-ring/50;
+ }
+
+ html,
+ body,
+ #root {
+ @apply min-h-screen overflow-hidden bg-transparent text-foreground antialiased;
+ }
+
+ body {
+ @apply m-0 font-sans bg-background text-foreground;
+ text-rendering: optimizeLegibility;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ }
+
+ button,
+ textarea,
+ input {
+ font: inherit;
+ }
+
+ textarea,
+ input {
+ user-select: text;
+ }
+
+ code,
+ pre {
+ font-family:
+ "Geist Mono",
+ ui-monospace,
+ SFMono-Regular,
+ SF Mono,
+ Menlo,
+ Monaco,
+ Consolas,
+ monospace;
+ }
+
+ a {
+ @apply text-inherit;
+ }
+ html {
+ @apply font-sans;
+ }
+}
+
+@theme inline {
+ --font-heading: var(--font-sans);
+ --font-sans: "Geist Variable", sans-serif;
+ --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-warn: var(--warn);
+ --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);
+ --radius-sm: calc(var(--radius) * 0.6);
+ --radius-md: calc(var(--radius) * 0.8);
+ --radius-lg: var(--radius);
+ --radius-xl: calc(var(--radius) * 1.4);
+ --radius-2xl: calc(var(--radius) * 1.8);
+ --radius-3xl: calc(var(--radius) * 2.2);
+ --radius-4xl: calc(var(--radius) * 2.6);
+}
+
+:root {
+ --background: #faf8f3;
+ --foreground: #1a1813;
+ --card: #f0ece3;
+ --card-foreground: #1a1813;
+ --popover: #f0ece3;
+ --popover-foreground: #1a1813;
+ --primary: #1a1813;
+ --primary-foreground: #faf8f3;
+ --secondary: #e7e1d5;
+ --secondary-foreground: #1a1813;
+ --muted: #e7e1d5;
+ --muted-foreground: #6b6557;
+ --accent: #c77d20;
+ --accent-foreground: #faf8f3;
+ --destructive: #b14228;
+ --border: #dad3c5;
+ --input: #dad3c5;
+ --ring: #c77d20;
+ --chart-1: #c77d20;
+ --chart-2: #5c7e47;
+ --chart-3: #9a6e1b;
+ --chart-4: #b14228;
+ --chart-5: #6b6557;
+ --radius: 0.5rem;
+ --sidebar: #f0ece3;
+ --sidebar-foreground: #1a1813;
+ --sidebar-primary: #c77d20;
+ --sidebar-primary-foreground: #faf8f3;
+ --sidebar-accent: #e7e1d5;
+ --sidebar-accent-foreground: #1a1813;
+ --sidebar-border: #dad3c5;
+ --sidebar-ring: #c77d20;
+ --accent-dim: #9a6519;
+ --success: #5c7e47;
+ --warn: #9a6e1b;
+ --faint: #a8a090;
+ --diff-add-bg: #e4efd8;
+ --diff-del-bg: #f5ded7;
+ --pane-surface: var(--background);
+ --pane-border: var(--border);
+ --pane-shadow: rgb(26 24 19 / 12%);
+ --elevation-xs: 0 1px 2px rgb(0 0 0 / 5%);
+ --elevation-sm: 0 1px 2px rgb(0 0 0 / 5%), 0 2px 6px -1px rgb(0 0 0 / 6%);
+ --elevation-md: 0 2px 4px rgb(0 0 0 / 6%), 0 6px 16px -2px rgb(0 0 0 / 10%);
+}
+
+.dark {
+ --background: #16140f;
+ --foreground: #edeae2;
+ --card: #1f1c16;
+ --card-foreground: #edeae2;
+ --popover: #1f1c16;
+ --popover-foreground: #edeae2;
+ --primary: #edeae2;
+ --primary-foreground: #16140f;
+ --secondary: #2a261e;
+ --secondary-foreground: #edeae2;
+ --muted: #2a261e;
+ --muted-foreground: #9a9384;
+ --accent: #e8a33d;
+ --accent-foreground: #16140f;
+ --destructive: #d2674f;
+ --border: #332e25;
+ --input: #332e25;
+ --ring: #e8a33d;
+ --chart-1: #e8a33d;
+ --chart-2: #7fa86b;
+ --chart-3: #d9a441;
+ --chart-4: #d2674f;
+ --chart-5: #9a9384;
+ --sidebar: #1f1c16;
+ --sidebar-foreground: #edeae2;
+ --sidebar-primary: #e8a33d;
+ --sidebar-primary-foreground: #16140f;
+ --sidebar-accent: #2a261e;
+ --sidebar-accent-foreground: #edeae2;
+ --sidebar-border: #332e25;
+ --sidebar-ring: #e8a33d;
+ --accent-dim: #a8772b;
+ --success: #7fa86b;
+ --warn: #d9a441;
+ --faint: #5c564b;
+ --diff-add-bg: #1e2a18;
+ --diff-del-bg: #2e1b17;
+ --pane-surface: var(--background);
+ --pane-border: var(--border);
+ --pane-shadow: rgb(0 0 0 / 30%);
+ --elevation-xs: 0 1px 2px rgb(0 0 0 / 30%);
+ --elevation-sm: 0 1px 2px rgb(0 0 0 / 35%), 0 2px 6px -1px rgb(0 0 0 / 30%);
+ --elevation-md: 0 2px 4px rgb(0 0 0 / 35%), 0 8px 20px -3px rgb(0 0 0 / 45%);
+}
+
+.provider-success-page {
+ position: relative;
+ display: grid;
+ min-height: 100vh;
+ place-items: center;
+ overflow: hidden;
+ padding: 2rem;
+ color: #edeae2;
+ background:
+ radial-gradient(circle at 50% 8%, rgb(189 128 228 / 18%), transparent 34rem),
+ radial-gradient(circle at 18% 82%, rgb(232 163 61 / 14%), transparent 30rem),
+ linear-gradient(180deg, #1b1812 0%, #100f0b 100%);
+}
+
+.provider-success-page::before {
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
+ content: "";
+ background-image:
+ linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
+ linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
+ background-size: 72px 72px;
+ mask-image: radial-gradient(circle at center, black, transparent 72%);
+}
+
+.provider-success-ambient {
+ position: absolute;
+ width: 24rem;
+ height: 24rem;
+ pointer-events: none;
+ border-radius: 999px;
+ filter: blur(72px);
+ opacity: 0.62;
+}
+
+.provider-success-ambient-primary {
+ top: 8%;
+ right: 18%;
+ background: rgb(189 128 228 / 34%);
+}
+
+.provider-success-ambient-secondary {
+ bottom: 9%;
+ left: 16%;
+ background: rgb(232 163 61 / 24%);
+}
+
+.provider-success-card {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ width: min(100%, 31rem);
+ flex-direction: column;
+ align-items: center;
+ padding: 2.75rem;
+ text-align: center;
+ border: 1px solid rgb(237 234 226 / 10%);
+ border-radius: 2rem;
+ background:
+ linear-gradient(180deg, rgb(255 255 255 / 6%), transparent 42%),
+ rgb(31 28 22 / 78%);
+ box-shadow:
+ 0 28px 90px rgb(0 0 0 / 42%),
+ inset 0 1px 0 rgb(255 255 255 / 10%);
+ backdrop-filter: blur(22px);
+}
+
+.provider-success-brand {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 11.25rem;
+ margin-bottom: 2rem;
+}
+
+.provider-success-brand img {
+ width: 100%;
+ height: auto;
+ filter: drop-shadow(0 14px 28px rgb(0 0 0 / 28%));
+}
+
+.provider-success-badge {
+ position: relative;
+ display: grid;
+ width: 5.75rem;
+ height: 5.75rem;
+ place-items: center;
+ margin-bottom: 1.5rem;
+ color: #10100b;
+ border: 1px solid rgb(255 255 255 / 18%);
+ border-radius: 999px;
+ background:
+ radial-gradient(circle at 32% 22%, rgb(255 255 255 / 90%), transparent 24%),
+ linear-gradient(135deg, #a9c989 0%, #7fa86b 45%, #e8a33d 120%);
+ box-shadow:
+ 0 0 0 0.65rem rgb(127 168 107 / 10%),
+ 0 0 56px rgb(127 168 107 / 36%);
+}
+
+.provider-success-check {
+ width: 2.35rem;
+ height: 2.35rem;
+}
+
+.provider-success-sparkle {
+ position: absolute;
+ top: -0.35rem;
+ right: -0.35rem;
+ width: 1.55rem;
+ height: 1.55rem;
+ padding: 0.3rem;
+ color: #e8a33d;
+ border: 1px solid rgb(232 163 61 / 28%);
+ border-radius: 999px;
+ background: #1f1c16;
+ box-shadow: 0 8px 24px rgb(232 163 61 / 24%);
+}
+
+.provider-success-eyebrow {
+ margin: 0 0 0.75rem;
+ color: #e8a33d;
+ font-size: 0.75rem;
+ font-weight: 700;
+ letter-spacing: 0.16em;
+ text-transform: uppercase;
+}
+
+.provider-success-title {
+ max-width: 24rem;
+ margin: 0;
+ color: #fffaf0;
+ font-size: clamp(2.25rem, 7vw, 4.25rem);
+ font-weight: 760;
+ letter-spacing: -0.065em;
+ line-height: 0.95;
+}
+
+.provider-success-copy {
+ max-width: 25rem;
+ margin: 1.15rem 0 0;
+ color: rgb(237 234 226 / 72%);
+ font-size: 1rem;
+ line-height: 1.65;
+}
+
+.provider-success-button {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 0.55rem;
+ margin-top: 2rem;
+ padding: 0.9rem 1.25rem;
+ color: #16140f;
+ font-size: 0.95rem;
+ font-weight: 750;
+ text-decoration: none;
+ border: 1px solid rgb(255 255 255 / 16%);
+ border-radius: 999px;
+ background: linear-gradient(135deg, #f0bd62, #e8a33d 48%, #bd80e4 135%);
+ box-shadow:
+ 0 16px 36px rgb(232 163 61 / 22%),
+ inset 0 1px 0 rgb(255 255 255 / 38%);
+ transition:
+ transform 160ms ease,
+ box-shadow 160ms ease,
+ filter 160ms ease;
+}
+
+.provider-success-button:hover {
+ transform: translateY(-1px);
+ filter: brightness(1.04);
+ box-shadow:
+ 0 20px 46px rgb(232 163 61 / 30%),
+ inset 0 1px 0 rgb(255 255 255 / 42%);
+}
+
+.provider-success-button:focus-visible {
+ outline: 2px solid #bd80e4;
+ outline-offset: 4px;
+}
+
+.provider-success-note {
+ margin: 1rem 0 0;
+ color: rgb(237 234 226 / 48%);
+ font-size: 0.82rem;
+}
+
+@media (max-width: 520px) {
+ .provider-success-page {
+ padding: 1rem;
+ }
+
+ .provider-success-card {
+ padding: 2rem 1.35rem;
+ border-radius: 1.5rem;
+ }
+
+ .provider-success-brand {
+ width: 9rem;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .provider-success-button {
+ transition: none;
+ }
+
+ .provider-success-button:hover {
+ transform: none;
+ }
+}
+
diff --git a/gui/src/styles/index.css b/gui/src/styles/index.css
index a4520260..224cd74f 100644
--- a/gui/src/styles/index.css
+++ b/gui/src/styles/index.css
@@ -1,1282 +1,5 @@
-
-:root[data-theme="mono"] {
- --background: #ffffff;
- --foreground: #0a0a0a;
- --card: #f4f4f5;
- --card-foreground: #0a0a0a;
- --popover: #f4f4f5;
- --popover-foreground: #0a0a0a;
- --primary: #0a0a0a;
- --primary-foreground: #ffffff;
- --secondary: #e8e8ea;
- --secondary-foreground: #0a0a0a;
- --muted: #ececee;
- --muted-foreground: #5f5f66;
- --accent: #18181b;
- --accent-foreground: #ffffff;
- --destructive: #b42318;
- --border: #e1e1e4;
- --input: #e1e1e4;
- --ring: #18181b;
- --chart-1: #18181b;
- --chart-2: #3f3f46;
- --chart-3: #71717a;
- --chart-4: #a1a1aa;
- --chart-5: #d4d4d8;
- --sidebar: #f4f4f5;
- --sidebar-foreground: #0a0a0a;
- --sidebar-primary: #18181b;
- --sidebar-primary-foreground: #ffffff;
- --sidebar-accent: #e8e8ea;
- --sidebar-accent-foreground: #0a0a0a;
- --sidebar-border: #e1e1e4;
- --sidebar-ring: #18181b;
- --accent-dim: #3f3f46;
- --success: #3f7d4f;
- --warn: #9a6e1b;
- --faint: #b6b6bb;
- --diff-add-bg: #eaf2ea;
- --diff-del-bg: #f7e9e9;
-}
-[data-theme="mono"].dark {
- --background: #0a0a0a;
- --foreground: #fafafa;
- --card: #161618;
- --card-foreground: #fafafa;
- --popover: #161618;
- --popover-foreground: #fafafa;
- --primary: #fafafa;
- --primary-foreground: #0a0a0a;
- --secondary: #242427;
- --secondary-foreground: #fafafa;
- --muted: #242427;
- --muted-foreground: #a1a1aa;
- --accent: #fafafa;
- --accent-foreground: #0a0a0a;
- --destructive: #f0654a;
- --border: #2a2a2e;
- --input: #2a2a2e;
- --ring: #fafafa;
- --chart-1: #fafafa;
- --chart-2: #d4d4d8;
- --chart-3: #a1a1aa;
- --chart-4: #71717a;
- --chart-5: #52525b;
- --sidebar: #161618;
- --sidebar-foreground: #fafafa;
- --sidebar-primary: #fafafa;
- --sidebar-primary-foreground: #0a0a0a;
- --sidebar-accent: #242427;
- --sidebar-accent-foreground: #fafafa;
- --sidebar-border: #2a2a2e;
- --sidebar-ring: #fafafa;
- --accent-dim: #d4d4d8;
- --success: #6abf7f;
- --warn: #d9a441;
- --faint: #52525b;
- --diff-add-bg: #16241a;
- --diff-del-bg: #2a1818;
-}
-:root[data-theme="rose"] {
- --background: #fff5f8;
- --foreground: #43162a;
- --card: #ffe9f0;
- --card-foreground: #43162a;
- --popover: #ffe9f0;
- --popover-foreground: #43162a;
- --primary: #43162a;
- --primary-foreground: #fff5f8;
- --secondary: #ffd6e4;
- --secondary-foreground: #43162a;
- --muted: #ffdae7;
- --muted-foreground: #985570;
- --accent: #e23e72;
- --accent-foreground: #fff5f8;
- --destructive: #c4304a;
- --border: #f7c6d8;
- --input: #f7c6d8;
- --ring: #e23e72;
- --chart-1: #e23e72;
- --chart-2: #d96a98;
- --chart-3: #b5487a;
- --chart-4: #e88aa8;
- --chart-5: #985570;
- --sidebar: #ffe9f0;
- --sidebar-foreground: #43162a;
- --sidebar-primary: #e23e72;
- --sidebar-primary-foreground: #fff5f8;
- --sidebar-accent: #ffd6e4;
- --sidebar-accent-foreground: #43162a;
- --sidebar-border: #f7c6d8;
- --sidebar-ring: #e23e72;
- --accent-dim: #c22f60;
- --success: #4f9d7a;
- --warn: #c98a2b;
- --faint: #dbabbd;
- --diff-add-bg: #e9f1e6;
- --diff-del-bg: #ffdde7;
-}
-[data-theme="rose"].dark {
- --background: #1a0e14;
- --foreground: #f7dde7;
- --card: #251521;
- --card-foreground: #f7dde7;
- --popover: #251521;
- --popover-foreground: #f7dde7;
- --primary: #f7dde7;
- --primary-foreground: #1a0e14;
- --secondary: #341f2c;
- --secondary-foreground: #f7dde7;
- --muted: #341f2c;
- --muted-foreground: #c79aac;
- --accent: #ff6b9d;
- --accent-foreground: #1a0e14;
- --destructive: #e8617a;
- --border: #3e2533;
- --input: #3e2533;
- --ring: #ff6b9d;
- --chart-1: #ff6b9d;
- --chart-2: #ff9bbd;
- --chart-3: #d96a98;
- --chart-4: #b5487a;
- --chart-5: #c79aac;
- --sidebar: #251521;
- --sidebar-foreground: #f7dde7;
- --sidebar-primary: #ff6b9d;
- --sidebar-primary-foreground: #1a0e14;
- --sidebar-accent: #341f2c;
- --sidebar-accent-foreground: #f7dde7;
- --sidebar-border: #3e2533;
- --sidebar-ring: #ff6b9d;
- --accent-dim: #e85b8d;
- --success: #6abf9f;
- --warn: #d9a441;
- --faint: #5c3d4c;
- --diff-add-bg: #182619;
- --diff-del-bg: #2e1820;
-}
-@import "tailwindcss";
-@import "tw-shimmer";
-@import "tw-animate-css";
-@import "shadcn/tailwind.css";
-@import "@fontsource-variable/geist";
-
-@custom-variant dark (&:is(.dark *));
-
-/* Desktop app: never allow native HTML5 element dragging (text/images/links). */
-* {
- -webkit-user-drag: none;
-}
-
-/* Syntax-highlight token colors for the local code-block renderer (CodeBlock.tsx
- + highlight/). github-light defaults, github-dark under `.dark`. */
-:root {
- --sh-keyword: #d73a49;
- --sh-string: #032f62;
- --sh-class: #005cc5;
- --sh-property: #005cc5;
- --sh-entity: #6f42c1;
- --sh-jsxliterals: #e36209;
- --sh-sign: #6a737d;
- --sh-comment: #6a737d;
-}
-
-.dark {
- --sh-keyword: #ff7b72;
- --sh-string: #a5d6ff;
- --sh-class: #79c0ff;
- --sh-property: #79c0ff;
- --sh-entity: #d2a8ff;
- --sh-jsxliterals: #ffa657;
- --sh-sign: #8b949e;
- --sh-comment: #8b949e;
-}
-
-.sh-keyword {
- color: var(--sh-keyword);
-}
-.sh-string {
- color: var(--sh-string);
-}
-.sh-class {
- color: var(--sh-class);
-}
-.sh-property {
- color: var(--sh-property);
-}
-.sh-entity {
- color: var(--sh-entity);
-}
-.sh-jsxliterals {
- color: var(--sh-jsxliterals);
-}
-.sh-sign {
- color: var(--sh-sign);
-}
-.sh-comment {
- color: var(--sh-comment);
- font-style: italic;
-}
-
-@font-face {
- font-family: "Geist Mono";
- src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2");
- font-style: normal;
- font-weight: 100 900;
- font-display: swap;
-}
-
-@theme {
- --font-sans:
- "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
- Consolas, monospace;
- --font-mono:
- "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
- Consolas, monospace;
-}
-
-@layer base {
- :root {
- color-scheme: light dark;
- }
-
- * {
- box-sizing: border-box;
- @apply border-border outline-ring/50;
- }
-
- html,
- body,
- #root {
- @apply min-h-screen overflow-hidden bg-transparent text-foreground antialiased;
- }
-
- body {
- @apply m-0 font-sans bg-background text-foreground;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
-
- button,
- textarea,
- input {
- font: inherit;
- }
-
- textarea,
- input {
- user-select: text;
- }
-
- code,
- pre {
- font-family:
- "Geist Mono",
- ui-monospace,
- SFMono-Regular,
- SF Mono,
- Menlo,
- Monaco,
- Consolas,
- monospace;
- }
-
- a {
- @apply text-inherit;
- }
- html {
- @apply font-sans;
- }
-}
-
-@theme inline {
- --font-heading: var(--font-sans);
- --font-sans: "Geist Variable", sans-serif;
- --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-warn: var(--warn);
- --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);
- --radius-sm: calc(var(--radius) * 0.6);
- --radius-md: calc(var(--radius) * 0.8);
- --radius-lg: var(--radius);
- --radius-xl: calc(var(--radius) * 1.4);
- --radius-2xl: calc(var(--radius) * 1.8);
- --radius-3xl: calc(var(--radius) * 2.2);
- --radius-4xl: calc(var(--radius) * 2.6);
-}
-
-:root {
- --background: #faf8f3;
- --foreground: #1a1813;
- --card: #f0ece3;
- --card-foreground: #1a1813;
- --popover: #f0ece3;
- --popover-foreground: #1a1813;
- --primary: #1a1813;
- --primary-foreground: #faf8f3;
- --secondary: #e7e1d5;
- --secondary-foreground: #1a1813;
- --muted: #e7e1d5;
- --muted-foreground: #6b6557;
- --accent: #c77d20;
- --accent-foreground: #faf8f3;
- --destructive: #b14228;
- --border: #dad3c5;
- --input: #dad3c5;
- --ring: #c77d20;
- --chart-1: #c77d20;
- --chart-2: #5c7e47;
- --chart-3: #9a6e1b;
- --chart-4: #b14228;
- --chart-5: #6b6557;
- --radius: 0.5rem;
- --sidebar: #f0ece3;
- --sidebar-foreground: #1a1813;
- --sidebar-primary: #c77d20;
- --sidebar-primary-foreground: #faf8f3;
- --sidebar-accent: #e7e1d5;
- --sidebar-accent-foreground: #1a1813;
- --sidebar-border: #dad3c5;
- --sidebar-ring: #c77d20;
- --accent-dim: #9a6519;
- --success: #5c7e47;
- --warn: #9a6e1b;
- --faint: #a8a090;
- --diff-add-bg: #e4efd8;
- --diff-del-bg: #f5ded7;
- --pane-surface: var(--background);
- --pane-border: var(--border);
- --pane-shadow: rgb(26 24 19 / 12%);
- --elevation-xs: 0 1px 2px rgb(0 0 0 / 5%);
- --elevation-sm: 0 1px 2px rgb(0 0 0 / 5%), 0 2px 6px -1px rgb(0 0 0 / 6%);
- --elevation-md: 0 2px 4px rgb(0 0 0 / 6%), 0 6px 16px -2px rgb(0 0 0 / 10%);
-}
-
-.dark {
- --background: #16140f;
- --foreground: #edeae2;
- --card: #1f1c16;
- --card-foreground: #edeae2;
- --popover: #1f1c16;
- --popover-foreground: #edeae2;
- --primary: #edeae2;
- --primary-foreground: #16140f;
- --secondary: #2a261e;
- --secondary-foreground: #edeae2;
- --muted: #2a261e;
- --muted-foreground: #9a9384;
- --accent: #e8a33d;
- --accent-foreground: #16140f;
- --destructive: #d2674f;
- --border: #332e25;
- --input: #332e25;
- --ring: #e8a33d;
- --chart-1: #e8a33d;
- --chart-2: #7fa86b;
- --chart-3: #d9a441;
- --chart-4: #d2674f;
- --chart-5: #9a9384;
- --sidebar: #1f1c16;
- --sidebar-foreground: #edeae2;
- --sidebar-primary: #e8a33d;
- --sidebar-primary-foreground: #16140f;
- --sidebar-accent: #2a261e;
- --sidebar-accent-foreground: #edeae2;
- --sidebar-border: #332e25;
- --sidebar-ring: #e8a33d;
- --accent-dim: #a8772b;
- --success: #7fa86b;
- --warn: #d9a441;
- --faint: #5c564b;
- --diff-add-bg: #1e2a18;
- --diff-del-bg: #2e1b17;
- --pane-surface: var(--background);
- --pane-border: var(--border);
- --pane-shadow: rgb(0 0 0 / 30%);
- --elevation-xs: 0 1px 2px rgb(0 0 0 / 30%);
- --elevation-sm: 0 1px 2px rgb(0 0 0 / 35%), 0 2px 6px -1px rgb(0 0 0 / 30%);
- --elevation-md: 0 2px 4px rgb(0 0 0 / 35%), 0 8px 20px -3px rgb(0 0 0 / 45%);
-}
-
-.provider-success-page {
- position: relative;
- display: grid;
- min-height: 100vh;
- place-items: center;
- overflow: hidden;
- padding: 2rem;
- color: #edeae2;
- background:
- radial-gradient(circle at 50% 8%, rgb(189 128 228 / 18%), transparent 34rem),
- radial-gradient(circle at 18% 82%, rgb(232 163 61 / 14%), transparent 30rem),
- linear-gradient(180deg, #1b1812 0%, #100f0b 100%);
-}
-
-.provider-success-page::before {
- position: absolute;
- inset: 0;
- pointer-events: none;
- content: "";
- background-image:
- linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
- linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
- background-size: 72px 72px;
- mask-image: radial-gradient(circle at center, black, transparent 72%);
-}
-
-.provider-success-ambient {
- position: absolute;
- width: 24rem;
- height: 24rem;
- pointer-events: none;
- border-radius: 999px;
- filter: blur(72px);
- opacity: 0.62;
-}
-
-.provider-success-ambient-primary {
- top: 8%;
- right: 18%;
- background: rgb(189 128 228 / 34%);
-}
-
-.provider-success-ambient-secondary {
- bottom: 9%;
- left: 16%;
- background: rgb(232 163 61 / 24%);
-}
-
-.provider-success-card {
- position: relative;
- z-index: 1;
- display: flex;
- width: min(100%, 31rem);
- flex-direction: column;
- align-items: center;
- padding: 2.75rem;
- text-align: center;
- border: 1px solid rgb(237 234 226 / 10%);
- border-radius: 2rem;
- background:
- linear-gradient(180deg, rgb(255 255 255 / 6%), transparent 42%),
- rgb(31 28 22 / 78%);
- box-shadow:
- 0 28px 90px rgb(0 0 0 / 42%),
- inset 0 1px 0 rgb(255 255 255 / 10%);
- backdrop-filter: blur(22px);
-}
-
-.provider-success-brand {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 11.25rem;
- margin-bottom: 2rem;
-}
-
-.provider-success-brand img {
- width: 100%;
- height: auto;
- filter: drop-shadow(0 14px 28px rgb(0 0 0 / 28%));
-}
-
-.provider-success-badge {
- position: relative;
- display: grid;
- width: 5.75rem;
- height: 5.75rem;
- place-items: center;
- margin-bottom: 1.5rem;
- color: #10100b;
- border: 1px solid rgb(255 255 255 / 18%);
- border-radius: 999px;
- background:
- radial-gradient(circle at 32% 22%, rgb(255 255 255 / 90%), transparent 24%),
- linear-gradient(135deg, #a9c989 0%, #7fa86b 45%, #e8a33d 120%);
- box-shadow:
- 0 0 0 0.65rem rgb(127 168 107 / 10%),
- 0 0 56px rgb(127 168 107 / 36%);
-}
-
-.provider-success-check {
- width: 2.35rem;
- height: 2.35rem;
-}
-
-.provider-success-sparkle {
- position: absolute;
- top: -0.35rem;
- right: -0.35rem;
- width: 1.55rem;
- height: 1.55rem;
- padding: 0.3rem;
- color: #e8a33d;
- border: 1px solid rgb(232 163 61 / 28%);
- border-radius: 999px;
- background: #1f1c16;
- box-shadow: 0 8px 24px rgb(232 163 61 / 24%);
-}
-
-.provider-success-eyebrow {
- margin: 0 0 0.75rem;
- color: #e8a33d;
- font-size: 0.75rem;
- font-weight: 700;
- letter-spacing: 0.16em;
- text-transform: uppercase;
-}
-
-.provider-success-title {
- max-width: 24rem;
- margin: 0;
- color: #fffaf0;
- font-size: clamp(2.25rem, 7vw, 4.25rem);
- font-weight: 760;
- letter-spacing: -0.065em;
- line-height: 0.95;
-}
-
-.provider-success-copy {
- max-width: 25rem;
- margin: 1.15rem 0 0;
- color: rgb(237 234 226 / 72%);
- font-size: 1rem;
- line-height: 1.65;
-}
-
-.provider-success-button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 0.55rem;
- margin-top: 2rem;
- padding: 0.9rem 1.25rem;
- color: #16140f;
- font-size: 0.95rem;
- font-weight: 750;
- text-decoration: none;
- border: 1px solid rgb(255 255 255 / 16%);
- border-radius: 999px;
- background: linear-gradient(135deg, #f0bd62, #e8a33d 48%, #bd80e4 135%);
- box-shadow:
- 0 16px 36px rgb(232 163 61 / 22%),
- inset 0 1px 0 rgb(255 255 255 / 38%);
- transition:
- transform 160ms ease,
- box-shadow 160ms ease,
- filter 160ms ease;
-}
-
-.provider-success-button:hover {
- transform: translateY(-1px);
- filter: brightness(1.04);
- box-shadow:
- 0 20px 46px rgb(232 163 61 / 30%),
- inset 0 1px 0 rgb(255 255 255 / 42%);
-}
-
-.provider-success-button:focus-visible {
- outline: 2px solid #bd80e4;
- outline-offset: 4px;
-}
-
-.provider-success-note {
- margin: 1rem 0 0;
- color: rgb(237 234 226 / 48%);
- font-size: 0.82rem;
-}
-
-@media (max-width: 520px) {
- .provider-success-page {
- padding: 1rem;
- }
-
- .provider-success-card {
- padding: 2rem 1.35rem;
- border-radius: 1.5rem;
- }
-
- .provider-success-brand {
- width: 9rem;
- }
-}
-
-@media (prefers-reduced-motion: reduce) {
- .provider-success-button {
- transition: none;
- }
-
- .provider-success-button:hover {
- transform: none;
- }
-}
-
-/* ── Theme presets ──────────────────────────────────────────────
- Warm Graphite is the default (:root / .dark above). Each preset
- redefines the same token names; every component reads semantic
- tokens, so the whole app re-themes automatically. Per preset the
- dark block follows the light block so it wins in dark mode. */
-
-/* Slate / Cool Graphite — cool neutrals + steel-blue accent */
-:root[data-theme="slate"] {
- --background: #f6f7f9;
- --foreground: #1a1d21;
- --card: #eceef1;
- --card-foreground: #1a1d21;
- --popover: #eceef1;
- --popover-foreground: #1a1d21;
- --primary: #1a1d21;
- --primary-foreground: #f6f7f9;
- --secondary: #e1e4e9;
- --secondary-foreground: #1a1d21;
- --muted: #e1e4e9;
- --muted-foreground: #5c636e;
- --accent: #3b6fb0;
- --accent-foreground: #f6f7f9;
- --destructive: #b1452f;
- --border: #d3d8df;
- --input: #d3d8df;
- --ring: #3b6fb0;
- --chart-1: #3b6fb0;
- --chart-2: #4f7d52;
- --chart-3: #b07d2a;
- --chart-4: #b1452f;
- --chart-5: #5c636e;
- --sidebar: #eceef1;
- --sidebar-foreground: #1a1d21;
- --sidebar-primary: #3b6fb0;
- --sidebar-primary-foreground: #f6f7f9;
- --sidebar-accent: #e1e4e9;
- --sidebar-accent-foreground: #1a1d21;
- --sidebar-border: #d3d8df;
- --sidebar-ring: #3b6fb0;
- --accent-dim: #2f5a90;
- --success: #4f7d52;
- --warn: #9a6e1b;
- --faint: #a6adb6;
- --diff-add-bg: #dde9da;
- --diff-del-bg: #f1ddd7;
-}
-[data-theme="slate"].dark {
- --background: #14171b;
- --foreground: #e6e9ee;
- --card: #1c2026;
- --card-foreground: #e6e9ee;
- --popover: #1c2026;
- --popover-foreground: #e6e9ee;
- --primary: #e6e9ee;
- --primary-foreground: #14171b;
- --secondary: #262c34;
- --secondary-foreground: #e6e9ee;
- --muted: #262c34;
- --muted-foreground: #98a0ab;
- --accent: #6aa0e0;
- --accent-foreground: #14171b;
- --destructive: #d2674f;
- --border: #2f3640;
- --input: #2f3640;
- --ring: #6aa0e0;
- --chart-1: #6aa0e0;
- --chart-2: #7fae84;
- --chart-3: #d9a441;
- --chart-4: #d2674f;
- --chart-5: #98a0ab;
- --sidebar: #1c2026;
- --sidebar-foreground: #e6e9ee;
- --sidebar-primary: #6aa0e0;
- --sidebar-primary-foreground: #14171b;
- --sidebar-accent: #262c34;
- --sidebar-accent-foreground: #e6e9ee;
- --sidebar-border: #2f3640;
- --sidebar-ring: #6aa0e0;
- --accent-dim: #4f7cb0;
- --success: #7fae84;
- --warn: #d9a441;
- --faint: #5b636e;
- --diff-add-bg: #18241a;
- --diff-del-bg: #2c1b18;
-}
-
-/* Nord / Ocean — arctic blue-teal */
-:root[data-theme="nord"] {
- --background: #f3f6f8;
- --foreground: #1b2a30;
- --card: #e6eef1;
- --card-foreground: #1b2a30;
- --popover: #e6eef1;
- --popover-foreground: #1b2a30;
- --primary: #1b2a30;
- --primary-foreground: #f3f6f8;
- --secondary: #dae6ea;
- --secondary-foreground: #1b2a30;
- --muted: #dae6ea;
- --muted-foreground: #566b73;
- --accent: #2f8f9d;
- --accent-foreground: #f3f6f8;
- --destructive: #b1452f;
- --border: #cadbe0;
- --input: #cadbe0;
- --ring: #2f8f9d;
- --chart-1: #2f8f9d;
- --chart-2: #4f8a6b;
- --chart-3: #c08a2a;
- --chart-4: #b1452f;
- --chart-5: #566b73;
- --sidebar: #e6eef1;
- --sidebar-foreground: #1b2a30;
- --sidebar-primary: #2f8f9d;
- --sidebar-primary-foreground: #f3f6f8;
- --sidebar-accent: #dae6ea;
- --sidebar-accent-foreground: #1b2a30;
- --sidebar-border: #cadbe0;
- --sidebar-ring: #2f8f9d;
- --accent-dim: #25727d;
- --success: #4f8a6b;
- --warn: #9a6e1b;
- --faint: #9fb4bb;
- --diff-add-bg: #d8eadf;
- --diff-del-bg: #f1ddd7;
-}
-[data-theme="nord"].dark {
- --background: #11181c;
- --foreground: #dfe9ee;
- --card: #18222a;
- --card-foreground: #dfe9ee;
- --popover: #18222a;
- --popover-foreground: #dfe9ee;
- --primary: #dfe9ee;
- --primary-foreground: #11181c;
- --secondary: #20303a;
- --secondary-foreground: #dfe9ee;
- --muted: #20303a;
- --muted-foreground: #8fa3ad;
- --accent: #6fc0cc;
- --accent-foreground: #11181c;
- --destructive: #d2674f;
- --border: #283a44;
- --input: #283a44;
- --ring: #6fc0cc;
- --chart-1: #6fc0cc;
- --chart-2: #84c39a;
- --chart-3: #d9a441;
- --chart-4: #d2674f;
- --chart-5: #8fa3ad;
- --sidebar: #18222a;
- --sidebar-foreground: #dfe9ee;
- --sidebar-primary: #6fc0cc;
- --sidebar-primary-foreground: #11181c;
- --sidebar-accent: #20303a;
- --sidebar-accent-foreground: #dfe9ee;
- --sidebar-border: #283a44;
- --sidebar-ring: #6fc0cc;
- --accent-dim: #4f99a6;
- --success: #84c39a;
- --warn: #d9a441;
- --faint: #586a73;
- --diff-add-bg: #15241d;
- --diff-del-bg: #2c1b18;
-}
-
-/* Forest / Sage — warm-neutral base + green accent */
-:root[data-theme="forest"] {
- --background: #f7f8f3;
- --foreground: #1c2118;
- --card: #ecefe3;
- --card-foreground: #1c2118;
- --popover: #ecefe3;
- --popover-foreground: #1c2118;
- --primary: #1c2118;
- --primary-foreground: #f7f8f3;
- --secondary: #e2e7d6;
- --secondary-foreground: #1c2118;
- --muted: #e2e7d6;
- --muted-foreground: #5e6653;
- --accent: #4f7d3f;
- --accent-foreground: #f7f8f3;
- --destructive: #b1452f;
- --border: #d6dcc8;
- --input: #d6dcc8;
- --ring: #4f7d3f;
- --chart-1: #4f7d3f;
- --chart-2: #3f7d6a;
- --chart-3: #b07d2a;
- --chart-4: #b1452f;
- --chart-5: #5e6653;
- --sidebar: #ecefe3;
- --sidebar-foreground: #1c2118;
- --sidebar-primary: #4f7d3f;
- --sidebar-primary-foreground: #f7f8f3;
- --sidebar-accent: #e2e7d6;
- --sidebar-accent-foreground: #1c2118;
- --sidebar-border: #d6dcc8;
- --sidebar-ring: #4f7d3f;
- --accent-dim: #3d6531;
- --success: #3f7d6a;
- --warn: #9a6e1b;
- --faint: #a9b099;
- --diff-add-bg: #e0ecd5;
- --diff-del-bg: #f3ddd6;
-}
-[data-theme="forest"].dark {
- --background: #14160f;
- --foreground: #e8ebe0;
- --card: #1d2018;
- --card-foreground: #e8ebe0;
- --popover: #1d2018;
- --popover-foreground: #e8ebe0;
- --primary: #e8ebe0;
- --primary-foreground: #14160f;
- --secondary: #282c20;
- --secondary-foreground: #e8ebe0;
- --muted: #282c20;
- --muted-foreground: #9aa08c;
- --accent: #82b06a;
- --accent-foreground: #14160f;
- --destructive: #d2674f;
- --border: #323626;
- --input: #323626;
- --ring: #82b06a;
- --chart-1: #82b06a;
- --chart-2: #6abf9f;
- --chart-3: #d9a441;
- --chart-4: #d2674f;
- --chart-5: #9aa08c;
- --sidebar: #1d2018;
- --sidebar-foreground: #e8ebe0;
- --sidebar-primary: #82b06a;
- --sidebar-primary-foreground: #14160f;
- --sidebar-accent: #282c20;
- --sidebar-accent-foreground: #e8ebe0;
- --sidebar-border: #323626;
- --sidebar-ring: #82b06a;
- --accent-dim: #5f8a4a;
- --success: #6abf9f;
- --warn: #d9a441;
- --faint: #5c6350;
- --diff-add-bg: #1a2415;
- --diff-del-bg: #2c1b18;
-}
-
-.workspace-board-dock :is(.dockview-theme-light, .dockview-theme-dark) {
- --dv-tabs-and-actions-container-height: 2rem;
- --dv-tabs-and-actions-container-font-size: 0.6875rem;
- --dv-tabs-and-actions-container-background-color: transparent;
- --dv-activegroup-visiblepanel-tab-background-color: color-mix(
- in oklab,
- var(--background) 72%,
- transparent
- );
- --dv-activegroup-hiddenpanel-tab-background-color: transparent;
- --dv-inactivegroup-visiblepanel-tab-background-color: transparent;
- --dv-inactivegroup-hiddenpanel-tab-background-color: transparent;
- --dv-tab-divider-color: transparent;
- --dv-drag-over-background-color: color-mix(
- in oklab,
- var(--foreground) 6%,
- transparent
- );
- --dv-drag-over-border-color: color-mix(
- in oklab,
- var(--foreground) 18%,
- transparent
- );
- --dv-resize-handle-background-color: transparent;
-}
-
-.workspace-board-dock.dockview-theme-light,
-.workspace-board-dock .dockview-theme-light {
- --dv-separator-border: rgb(0 0 0 / 5%);
-}
-
-.workspace-board-dock.dockview-theme-dark,
-.workspace-board-dock .dockview-theme-dark {
- --dv-separator-border: rgb(255 255 255 / 5%);
-}
-
-.workspace-board-dock .dv-groupview {
- border-radius: 0;
- background: transparent;
- overflow: hidden;
-}
-
-.workspace-board-dock
- .workspace-board-outer-group
- > .dv-tabs-and-actions-container {
- display: none !important;
-}
-
-.workspace-board-dock .dv-groupview .dv-tabs-and-actions-container {
- padding-inline: 0.25rem;
- backdrop-filter: none;
- background: transparent;
-}
-
-.workspace-board-dock .dv-groupview .dv-tab {
- border-radius: 0;
- cursor: grab;
- font-size: 0.6875rem;
- font-weight: 600;
- letter-spacing: 0.02em;
-}
-
-.workspace-board-dock .dv-groupview .dv-tab:active {
- cursor: grabbing;
-}
-
-.workspace-board-dock .dv-groupview .dv-content-container {
- background: transparent;
-}
-
-.workspace-board-dock .workspace-board-outer-group {
- background: var(--pane-surface);
-}
-
-.workspace-board-dock .workspace-board-outer-group > .dv-content-container {
- background: var(--pane-surface);
-}
-
-/* Terminal palette derived from the app's theme tokens so it tracks every preset
- (warm-graphite/slate/nord/forest) and light/dark automatically — the frame
- (bg/fg/cursor/neutrals) follows the active preset, while the ANSI hues map to
- the shared syntax-highlight + semantic tokens. */
-.terminal-pane-shell .wterm {
- --term-bg: transparent;
- --term-fg: var(--foreground);
- --term-cursor: var(--accent);
- --term-font-family:
- "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
- Consolas, monospace;
- --term-font-size: 13px;
-
- /* normal */
- --term-color-0: color-mix(in oklab, var(--foreground) 55%, var(--background));
- --term-color-1: var(--destructive);
- --term-color-2: var(--success);
- --term-color-3: var(--warn);
- --term-color-4: var(--sh-class);
- --term-color-5: var(--sh-entity);
- --term-color-6: color-mix(in oklab, var(--sh-class) 60%, var(--success));
- --term-color-7: color-mix(in oklab, var(--foreground) 78%, var(--background));
- /* bright */
- --term-color-8: var(--muted-foreground);
- --term-color-9: var(--destructive);
- --term-color-10: var(--success);
- --term-color-11: var(--warn);
- --term-color-12: var(--sh-class);
- --term-color-13: var(--sh-entity);
- --term-color-14: color-mix(in oklab, var(--sh-class) 60%, var(--success));
- --term-color-15: var(--foreground);
-
- background: transparent;
- padding: 0;
- border-radius: 0;
- box-shadow: none;
-}
-
-.workspace-board .dv-drop-target-anchor,
-.workspace-board .dv-drop-target-selection {
- border: 1px solid color-mix(in oklab, var(--foreground) 24%, transparent);
- background: color-mix(in oklab, var(--foreground) 8%, transparent);
- box-shadow: inset 0 0 0 1px
- color-mix(in oklab, var(--background) 72%, transparent);
-}
-
-.chat-tile-inner-dock .dv-drop-target-anchor,
-.chat-tile-inner-dock .dv-drop-target-selection {
- border: 1px solid color-mix(in oklab, var(--foreground) 24%, transparent);
- background: color-mix(in oklab, var(--foreground) 8%, transparent);
- box-shadow: inset 0 0 0 1px
- color-mix(in oklab, var(--background) 72%, transparent);
-}
-
-.workspace-board-dock
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.chat-tile-inner-dock
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after {
- background: color-mix(in oklab, var(--foreground) 10%, transparent);
- border-radius: 999px;
-}
-
-.workspace-board-dock.dockview-theme-light
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.workspace-board-dock
- .dockview-theme-light
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.chat-tile-inner-dock.dockview-theme-light
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.chat-tile-inner-dock
- .dockview-theme-light
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after {
- background: rgb(0 0 0 / 5%);
-}
-
-.workspace-board-dock.dockview-theme-dark
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.workspace-board-dock
- .dockview-theme-dark
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.chat-tile-inner-dock.dockview-theme-dark
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after,
-.chat-tile-inner-dock
- .dockview-theme-dark
- > .dv-resize-container
- > .dv-sash-container
- > .dv-sash::after {
- background: rgb(255 255 255 / 5%);
-}
-
-/* --- Auxiliary pane reveal (changes / preview / terminal) ---
- The pane's container is resized smoothly by tweening its dockview group size
- (see workspace-board/paneResizeAnimation.ts); the pane's own content just
- crossfades so the appearing/disappearing content reads cleanly against the
- surrounding panes gliding to their new size. */
-@keyframes cg-pane-fade-in {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@keyframes cg-pane-fade-out {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-
-.cg-pane-enter {
- animation: cg-pane-fade-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
-}
-.cg-pane-exit {
- animation: cg-pane-fade-out 180ms ease-out both;
-}
-
-@media (prefers-reduced-motion: reduce) {
- .cg-pane-enter,
- .cg-pane-exit {
- animation: none;
- }
-}
-
-/* --- Chat entrance + streaming motion (transitions.dev-style easings) --- */
-
-/* Message slides up + fades in as it lands in the thread. */
-@keyframes cg-message-in {
- from {
- opacity: 0;
- transform: translateY(12px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.cg-message-in {
- /* easeOutExpo — a soft, fast-settling deceleration */
- animation: cg-message-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
-}
-
-/* Streaming assistant text: each freshly rendered block fades up gently so the
- answer "flows in" rather than snapping token-by-token. */
-@keyframes cg-stream-in {
- from {
- opacity: 0;
- transform: translateY(4px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.cg-stream-in > * {
- animation: cg-stream-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
-}
-
-@media (prefers-reduced-motion: reduce) {
- .cg-message-in,
- .cg-stream-in > * {
- animation: none;
- }
-}
-
-/* --- Ultra mode shine (the `ultracode` codeword opt-in) ---
- When Ultra is engaged on the composer, the card wears a rainbow that travels
- left→right as a WAVE (a flowing linear gradient), rather than a conic gradient
- pinwheeling around the centre. The border is painted into a masked ::before so
- the gradient only shows as a ring; a soft blurred ::after gives the lit bloom. */
-@keyframes cg-ultra-wave {
- to {
- background-position: -200% 0;
- }
-}
-
-@keyframes cg-ultra-glow {
- 0%,
- 100% {
- opacity: 0.85;
- }
- 50% {
- opacity: 1;
- }
-}
-
-.cg-ultra-shine {
- position: relative;
- isolation: isolate;
-}
-
-.cg-ultra-shine::before {
- position: absolute;
- inset: 0;
- z-index: -1;
- padding: 1.5px;
- content: "";
- border-radius: inherit;
- background: linear-gradient(
- 90deg in oklab,
- #ff5f6d,
- #ffb347,
- #ffe66d,
- #5cd68a,
- #36c5d6,
- #5b7cff,
- #b06aff,
- #ff5fa2,
- #ff5f6d
- );
- background-size: 200% 100%;
- /* Show the gradient only as a ring: fill minus content box. */
- -webkit-mask:
- linear-gradient(#000 0 0) content-box,
- linear-gradient(#000 0 0);
- -webkit-mask-composite: xor;
- mask:
- linear-gradient(#000 0 0) content-box,
- linear-gradient(#000 0 0);
- mask-composite: exclude;
- animation:
- cg-ultra-wave 6s linear infinite,
- cg-ultra-glow 2.4s ease-in-out infinite;
-}
-
-/* Soft outer bloom so the card reads as "lit". */
-.cg-ultra-shine::after {
- position: absolute;
- inset: 0;
- z-index: -2;
- content: "";
- border-radius: inherit;
- background: linear-gradient(
- 90deg in oklab,
- #ff5f6d,
- #ffb347,
- #ffe66d,
- #5cd68a,
- #36c5d6,
- #5b7cff,
- #b06aff,
- #ff5fa2,
- #ff5f6d
- );
- background-size: 200% 100%;
- filter: blur(6px);
- opacity: 0.22;
- animation: cg-ultra-wave 6s linear infinite;
-}
-
-@media (prefers-reduced-motion: reduce) {
- .cg-ultra-shine::before,
- .cg-ultra-shine::after {
- animation: none;
- }
-}
-
-/* --- Inset content pane + sidebar spotlight ---
- macOS detail-pane layout: the content sits flush against the sidebar and the
- window edges, rounded only on the corners that face the sidebar so the sidebar
- surface shows through the rounded notch. The whole window wears the sidebar
- colour (bg-sidebar on .app-shell); the content pane is the brighter --background
- surface laid over it. The sidebar still recedes while you work in the content —
- dimming so the active side reads as "lit" — then lights back up on hover. */
-.cg-content-region {
- padding: 0;
-}
-
-.cg-content-card {
- border-radius: 0.75rem 0 0 0.75rem;
- background: var(--pane-surface);
-}
-
-.cg-sidebar-region {
- transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
- will-change: opacity;
-}
-
-/* Working in the content (composer focused, a control active) dims the sidebar. */
-.app-shell:has(.cg-content-card:focus-within) .cg-sidebar-region {
- opacity: 0.48;
-}
-
-/* …but hovering the sidebar lights it back up, even while the composer holds focus. */
-.app-shell:has(.cg-content-card:focus-within) .cg-sidebar-region:hover {
- opacity: 1;
-}
-
-@media (prefers-reduced-motion: reduce) {
- .cg-sidebar-region {
- transition: none;
- }
-}
+@import "./theme-foundations.css";
+@import "./core.css";
+@import "./theme-presets.css";
+@import "./workspace.css";
+@import "./motion.css";
diff --git a/gui/src/styles/motion.css b/gui/src/styles/motion.css
new file mode 100644
index 00000000..3bb8ef50
--- /dev/null
+++ b/gui/src/styles/motion.css
@@ -0,0 +1,207 @@
+/* --- Auxiliary pane reveal (changes / preview / terminal) ---
+ The pane's container is resized smoothly by tweening its dockview group size
+ (see workspace-board/paneResizeAnimation.ts); the pane's own content just
+ crossfades so the appearing/disappearing content reads cleanly against the
+ surrounding panes gliding to their new size. */
+@keyframes cg-pane-fade-in {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@keyframes cg-pane-fade-out {
+ from {
+ opacity: 1;
+ }
+ to {
+ opacity: 0;
+ }
+}
+
+.cg-pane-enter {
+ animation: cg-pane-fade-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+.cg-pane-exit {
+ animation: cg-pane-fade-out 180ms ease-out both;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .cg-pane-enter,
+ .cg-pane-exit {
+ animation: none;
+ }
+}
+
+/* --- Chat entrance + streaming motion (transitions.dev-style easings) --- */
+
+/* Message slides up + fades in as it lands in the thread. */
+@keyframes cg-message-in {
+ from {
+ opacity: 0;
+ transform: translateY(12px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.cg-message-in {
+ /* easeOutExpo — a soft, fast-settling deceleration */
+ animation: cg-message-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+
+/* Streaming assistant text: each freshly rendered block fades up gently so the
+ answer "flows in" rather than snapping token-by-token. */
+@keyframes cg-stream-in {
+ from {
+ opacity: 0;
+ transform: translateY(4px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.cg-stream-in > * {
+ animation: cg-stream-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .cg-message-in,
+ .cg-stream-in > * {
+ animation: none;
+ }
+}
+
+/* --- Ultra mode shine (the `ultracode` codeword opt-in) ---
+ When Ultra is engaged on the composer, the card wears a rainbow that travels
+ left→right as a WAVE (a flowing linear gradient), rather than a conic gradient
+ pinwheeling around the centre. The border is painted into a masked ::before so
+ the gradient only shows as a ring; a soft blurred ::after gives the lit bloom. */
+@keyframes cg-ultra-wave {
+ to {
+ background-position: -200% 0;
+ }
+}
+
+@keyframes cg-ultra-glow {
+ 0%,
+ 100% {
+ opacity: 0.85;
+ }
+ 50% {
+ opacity: 1;
+ }
+}
+
+.cg-ultra-shine {
+ position: relative;
+ isolation: isolate;
+}
+
+.cg-ultra-shine::before {
+ position: absolute;
+ inset: 0;
+ z-index: -1;
+ padding: 1.5px;
+ content: "";
+ border-radius: inherit;
+ background: linear-gradient(
+ 90deg in oklab,
+ #ff5f6d,
+ #ffb347,
+ #ffe66d,
+ #5cd68a,
+ #36c5d6,
+ #5b7cff,
+ #b06aff,
+ #ff5fa2,
+ #ff5f6d
+ );
+ background-size: 200% 100%;
+ /* Show the gradient only as a ring: fill minus content box. */
+ -webkit-mask:
+ linear-gradient(#000 0 0) content-box,
+ linear-gradient(#000 0 0);
+ -webkit-mask-composite: xor;
+ mask:
+ linear-gradient(#000 0 0) content-box,
+ linear-gradient(#000 0 0);
+ mask-composite: exclude;
+ animation:
+ cg-ultra-wave 6s linear infinite,
+ cg-ultra-glow 2.4s ease-in-out infinite;
+}
+
+/* Soft outer bloom so the card reads as "lit". */
+.cg-ultra-shine::after {
+ position: absolute;
+ inset: 0;
+ z-index: -2;
+ content: "";
+ border-radius: inherit;
+ background: linear-gradient(
+ 90deg in oklab,
+ #ff5f6d,
+ #ffb347,
+ #ffe66d,
+ #5cd68a,
+ #36c5d6,
+ #5b7cff,
+ #b06aff,
+ #ff5fa2,
+ #ff5f6d
+ );
+ background-size: 200% 100%;
+ filter: blur(6px);
+ opacity: 0.22;
+ animation: cg-ultra-wave 6s linear infinite;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .cg-ultra-shine::before,
+ .cg-ultra-shine::after {
+ animation: none;
+ }
+}
+
+/* --- Inset content pane + sidebar spotlight ---
+ macOS detail-pane layout: the content sits flush against the sidebar and the
+ window edges, rounded only on the corners that face the sidebar so the sidebar
+ surface shows through the rounded notch. The whole window wears the sidebar
+ colour (bg-sidebar on .app-shell); the content pane is the brighter --background
+ surface laid over it. The sidebar still recedes while you work in the content —
+ dimming so the active side reads as "lit" — then lights back up on hover. */
+.cg-content-region {
+ padding: 0;
+}
+
+.cg-content-card {
+ border-radius: 0.75rem 0 0 0.75rem;
+ background: var(--pane-surface);
+}
+
+.cg-sidebar-region {
+ transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
+ will-change: opacity;
+}
+
+/* Working in the content (composer focused, a control active) dims the sidebar. */
+.app-shell:has(.cg-content-card:focus-within) .cg-sidebar-region {
+ opacity: 0.48;
+}
+
+/* …but hovering the sidebar lights it back up, even while the composer holds focus. */
+.app-shell:has(.cg-content-card:focus-within) .cg-sidebar-region:hover {
+ opacity: 1;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .cg-sidebar-region {
+ transition: none;
+ }
+}
diff --git a/gui/src/styles/theme-foundations.css b/gui/src/styles/theme-foundations.css
new file mode 100644
index 00000000..260a40d4
--- /dev/null
+++ b/gui/src/styles/theme-foundations.css
@@ -0,0 +1,157 @@
+
+:root[data-theme="mono"] {
+ --background: #ffffff;
+ --foreground: #0a0a0a;
+ --card: #f4f4f5;
+ --card-foreground: #0a0a0a;
+ --popover: #f4f4f5;
+ --popover-foreground: #0a0a0a;
+ --primary: #0a0a0a;
+ --primary-foreground: #ffffff;
+ --secondary: #e8e8ea;
+ --secondary-foreground: #0a0a0a;
+ --muted: #ececee;
+ --muted-foreground: #5f5f66;
+ --accent: #18181b;
+ --accent-foreground: #ffffff;
+ --destructive: #b42318;
+ --border: #e1e1e4;
+ --input: #e1e1e4;
+ --ring: #18181b;
+ --chart-1: #18181b;
+ --chart-2: #3f3f46;
+ --chart-3: #71717a;
+ --chart-4: #a1a1aa;
+ --chart-5: #d4d4d8;
+ --sidebar: #f4f4f5;
+ --sidebar-foreground: #0a0a0a;
+ --sidebar-primary: #18181b;
+ --sidebar-primary-foreground: #ffffff;
+ --sidebar-accent: #e8e8ea;
+ --sidebar-accent-foreground: #0a0a0a;
+ --sidebar-border: #e1e1e4;
+ --sidebar-ring: #18181b;
+ --accent-dim: #3f3f46;
+ --success: #3f7d4f;
+ --warn: #9a6e1b;
+ --faint: #b6b6bb;
+ --diff-add-bg: #eaf2ea;
+ --diff-del-bg: #f7e9e9;
+}
+[data-theme="mono"].dark {
+ --background: #0a0a0a;
+ --foreground: #fafafa;
+ --card: #161618;
+ --card-foreground: #fafafa;
+ --popover: #161618;
+ --popover-foreground: #fafafa;
+ --primary: #fafafa;
+ --primary-foreground: #0a0a0a;
+ --secondary: #242427;
+ --secondary-foreground: #fafafa;
+ --muted: #242427;
+ --muted-foreground: #a1a1aa;
+ --accent: #fafafa;
+ --accent-foreground: #0a0a0a;
+ --destructive: #f0654a;
+ --border: #2a2a2e;
+ --input: #2a2a2e;
+ --ring: #fafafa;
+ --chart-1: #fafafa;
+ --chart-2: #d4d4d8;
+ --chart-3: #a1a1aa;
+ --chart-4: #71717a;
+ --chart-5: #52525b;
+ --sidebar: #161618;
+ --sidebar-foreground: #fafafa;
+ --sidebar-primary: #fafafa;
+ --sidebar-primary-foreground: #0a0a0a;
+ --sidebar-accent: #242427;
+ --sidebar-accent-foreground: #fafafa;
+ --sidebar-border: #2a2a2e;
+ --sidebar-ring: #fafafa;
+ --accent-dim: #d4d4d8;
+ --success: #6abf7f;
+ --warn: #d9a441;
+ --faint: #52525b;
+ --diff-add-bg: #16241a;
+ --diff-del-bg: #2a1818;
+}
+:root[data-theme="rose"] {
+ --background: #fff5f8;
+ --foreground: #43162a;
+ --card: #ffe9f0;
+ --card-foreground: #43162a;
+ --popover: #ffe9f0;
+ --popover-foreground: #43162a;
+ --primary: #43162a;
+ --primary-foreground: #fff5f8;
+ --secondary: #ffd6e4;
+ --secondary-foreground: #43162a;
+ --muted: #ffdae7;
+ --muted-foreground: #985570;
+ --accent: #e23e72;
+ --accent-foreground: #fff5f8;
+ --destructive: #c4304a;
+ --border: #f7c6d8;
+ --input: #f7c6d8;
+ --ring: #e23e72;
+ --chart-1: #e23e72;
+ --chart-2: #d96a98;
+ --chart-3: #b5487a;
+ --chart-4: #e88aa8;
+ --chart-5: #985570;
+ --sidebar: #ffe9f0;
+ --sidebar-foreground: #43162a;
+ --sidebar-primary: #e23e72;
+ --sidebar-primary-foreground: #fff5f8;
+ --sidebar-accent: #ffd6e4;
+ --sidebar-accent-foreground: #43162a;
+ --sidebar-border: #f7c6d8;
+ --sidebar-ring: #e23e72;
+ --accent-dim: #c22f60;
+ --success: #4f9d7a;
+ --warn: #c98a2b;
+ --faint: #dbabbd;
+ --diff-add-bg: #e9f1e6;
+ --diff-del-bg: #ffdde7;
+}
+[data-theme="rose"].dark {
+ --background: #1a0e14;
+ --foreground: #f7dde7;
+ --card: #251521;
+ --card-foreground: #f7dde7;
+ --popover: #251521;
+ --popover-foreground: #f7dde7;
+ --primary: #f7dde7;
+ --primary-foreground: #1a0e14;
+ --secondary: #341f2c;
+ --secondary-foreground: #f7dde7;
+ --muted: #341f2c;
+ --muted-foreground: #c79aac;
+ --accent: #ff6b9d;
+ --accent-foreground: #1a0e14;
+ --destructive: #e8617a;
+ --border: #3e2533;
+ --input: #3e2533;
+ --ring: #ff6b9d;
+ --chart-1: #ff6b9d;
+ --chart-2: #ff9bbd;
+ --chart-3: #d96a98;
+ --chart-4: #b5487a;
+ --chart-5: #c79aac;
+ --sidebar: #251521;
+ --sidebar-foreground: #f7dde7;
+ --sidebar-primary: #ff6b9d;
+ --sidebar-primary-foreground: #1a0e14;
+ --sidebar-accent: #341f2c;
+ --sidebar-accent-foreground: #f7dde7;
+ --sidebar-border: #3e2533;
+ --sidebar-ring: #ff6b9d;
+ --accent-dim: #e85b8d;
+ --success: #6abf9f;
+ --warn: #d9a441;
+ --faint: #5c3d4c;
+ --diff-add-bg: #182619;
+ --diff-del-bg: #2e1820;
+}
diff --git a/gui/src/styles/theme-presets.css b/gui/src/styles/theme-presets.css
new file mode 100644
index 00000000..70fdb031
--- /dev/null
+++ b/gui/src/styles/theme-presets.css
@@ -0,0 +1,246 @@
+/* ── Theme presets ──────────────────────────────────────────────
+ Warm Graphite is the default (:root / .dark above). Each preset
+ redefines the same token names; every component reads semantic
+ tokens, so the whole app re-themes automatically. Per preset the
+ dark block follows the light block so it wins in dark mode. */
+
+/* Slate / Cool Graphite — cool neutrals + steel-blue accent */
+:root[data-theme="slate"] {
+ --background: #f6f7f9;
+ --foreground: #1a1d21;
+ --card: #eceef1;
+ --card-foreground: #1a1d21;
+ --popover: #eceef1;
+ --popover-foreground: #1a1d21;
+ --primary: #1a1d21;
+ --primary-foreground: #f6f7f9;
+ --secondary: #e1e4e9;
+ --secondary-foreground: #1a1d21;
+ --muted: #e1e4e9;
+ --muted-foreground: #5c636e;
+ --accent: #3b6fb0;
+ --accent-foreground: #f6f7f9;
+ --destructive: #b1452f;
+ --border: #d3d8df;
+ --input: #d3d8df;
+ --ring: #3b6fb0;
+ --chart-1: #3b6fb0;
+ --chart-2: #4f7d52;
+ --chart-3: #b07d2a;
+ --chart-4: #b1452f;
+ --chart-5: #5c636e;
+ --sidebar: #eceef1;
+ --sidebar-foreground: #1a1d21;
+ --sidebar-primary: #3b6fb0;
+ --sidebar-primary-foreground: #f6f7f9;
+ --sidebar-accent: #e1e4e9;
+ --sidebar-accent-foreground: #1a1d21;
+ --sidebar-border: #d3d8df;
+ --sidebar-ring: #3b6fb0;
+ --accent-dim: #2f5a90;
+ --success: #4f7d52;
+ --warn: #9a6e1b;
+ --faint: #a6adb6;
+ --diff-add-bg: #dde9da;
+ --diff-del-bg: #f1ddd7;
+}
+[data-theme="slate"].dark {
+ --background: #14171b;
+ --foreground: #e6e9ee;
+ --card: #1c2026;
+ --card-foreground: #e6e9ee;
+ --popover: #1c2026;
+ --popover-foreground: #e6e9ee;
+ --primary: #e6e9ee;
+ --primary-foreground: #14171b;
+ --secondary: #262c34;
+ --secondary-foreground: #e6e9ee;
+ --muted: #262c34;
+ --muted-foreground: #98a0ab;
+ --accent: #6aa0e0;
+ --accent-foreground: #14171b;
+ --destructive: #d2674f;
+ --border: #2f3640;
+ --input: #2f3640;
+ --ring: #6aa0e0;
+ --chart-1: #6aa0e0;
+ --chart-2: #7fae84;
+ --chart-3: #d9a441;
+ --chart-4: #d2674f;
+ --chart-5: #98a0ab;
+ --sidebar: #1c2026;
+ --sidebar-foreground: #e6e9ee;
+ --sidebar-primary: #6aa0e0;
+ --sidebar-primary-foreground: #14171b;
+ --sidebar-accent: #262c34;
+ --sidebar-accent-foreground: #e6e9ee;
+ --sidebar-border: #2f3640;
+ --sidebar-ring: #6aa0e0;
+ --accent-dim: #4f7cb0;
+ --success: #7fae84;
+ --warn: #d9a441;
+ --faint: #5b636e;
+ --diff-add-bg: #18241a;
+ --diff-del-bg: #2c1b18;
+}
+
+/* Nord / Ocean — arctic blue-teal */
+:root[data-theme="nord"] {
+ --background: #f3f6f8;
+ --foreground: #1b2a30;
+ --card: #e6eef1;
+ --card-foreground: #1b2a30;
+ --popover: #e6eef1;
+ --popover-foreground: #1b2a30;
+ --primary: #1b2a30;
+ --primary-foreground: #f3f6f8;
+ --secondary: #dae6ea;
+ --secondary-foreground: #1b2a30;
+ --muted: #dae6ea;
+ --muted-foreground: #566b73;
+ --accent: #2f8f9d;
+ --accent-foreground: #f3f6f8;
+ --destructive: #b1452f;
+ --border: #cadbe0;
+ --input: #cadbe0;
+ --ring: #2f8f9d;
+ --chart-1: #2f8f9d;
+ --chart-2: #4f8a6b;
+ --chart-3: #c08a2a;
+ --chart-4: #b1452f;
+ --chart-5: #566b73;
+ --sidebar: #e6eef1;
+ --sidebar-foreground: #1b2a30;
+ --sidebar-primary: #2f8f9d;
+ --sidebar-primary-foreground: #f3f6f8;
+ --sidebar-accent: #dae6ea;
+ --sidebar-accent-foreground: #1b2a30;
+ --sidebar-border: #cadbe0;
+ --sidebar-ring: #2f8f9d;
+ --accent-dim: #25727d;
+ --success: #4f8a6b;
+ --warn: #9a6e1b;
+ --faint: #9fb4bb;
+ --diff-add-bg: #d8eadf;
+ --diff-del-bg: #f1ddd7;
+}
+[data-theme="nord"].dark {
+ --background: #11181c;
+ --foreground: #dfe9ee;
+ --card: #18222a;
+ --card-foreground: #dfe9ee;
+ --popover: #18222a;
+ --popover-foreground: #dfe9ee;
+ --primary: #dfe9ee;
+ --primary-foreground: #11181c;
+ --secondary: #20303a;
+ --secondary-foreground: #dfe9ee;
+ --muted: #20303a;
+ --muted-foreground: #8fa3ad;
+ --accent: #6fc0cc;
+ --accent-foreground: #11181c;
+ --destructive: #d2674f;
+ --border: #283a44;
+ --input: #283a44;
+ --ring: #6fc0cc;
+ --chart-1: #6fc0cc;
+ --chart-2: #84c39a;
+ --chart-3: #d9a441;
+ --chart-4: #d2674f;
+ --chart-5: #8fa3ad;
+ --sidebar: #18222a;
+ --sidebar-foreground: #dfe9ee;
+ --sidebar-primary: #6fc0cc;
+ --sidebar-primary-foreground: #11181c;
+ --sidebar-accent: #20303a;
+ --sidebar-accent-foreground: #dfe9ee;
+ --sidebar-border: #283a44;
+ --sidebar-ring: #6fc0cc;
+ --accent-dim: #4f99a6;
+ --success: #84c39a;
+ --warn: #d9a441;
+ --faint: #586a73;
+ --diff-add-bg: #15241d;
+ --diff-del-bg: #2c1b18;
+}
+
+/* Forest / Sage — warm-neutral base + green accent */
+:root[data-theme="forest"] {
+ --background: #f7f8f3;
+ --foreground: #1c2118;
+ --card: #ecefe3;
+ --card-foreground: #1c2118;
+ --popover: #ecefe3;
+ --popover-foreground: #1c2118;
+ --primary: #1c2118;
+ --primary-foreground: #f7f8f3;
+ --secondary: #e2e7d6;
+ --secondary-foreground: #1c2118;
+ --muted: #e2e7d6;
+ --muted-foreground: #5e6653;
+ --accent: #4f7d3f;
+ --accent-foreground: #f7f8f3;
+ --destructive: #b1452f;
+ --border: #d6dcc8;
+ --input: #d6dcc8;
+ --ring: #4f7d3f;
+ --chart-1: #4f7d3f;
+ --chart-2: #3f7d6a;
+ --chart-3: #b07d2a;
+ --chart-4: #b1452f;
+ --chart-5: #5e6653;
+ --sidebar: #ecefe3;
+ --sidebar-foreground: #1c2118;
+ --sidebar-primary: #4f7d3f;
+ --sidebar-primary-foreground: #f7f8f3;
+ --sidebar-accent: #e2e7d6;
+ --sidebar-accent-foreground: #1c2118;
+ --sidebar-border: #d6dcc8;
+ --sidebar-ring: #4f7d3f;
+ --accent-dim: #3d6531;
+ --success: #3f7d6a;
+ --warn: #9a6e1b;
+ --faint: #a9b099;
+ --diff-add-bg: #e0ecd5;
+ --diff-del-bg: #f3ddd6;
+}
+[data-theme="forest"].dark {
+ --background: #14160f;
+ --foreground: #e8ebe0;
+ --card: #1d2018;
+ --card-foreground: #e8ebe0;
+ --popover: #1d2018;
+ --popover-foreground: #e8ebe0;
+ --primary: #e8ebe0;
+ --primary-foreground: #14160f;
+ --secondary: #282c20;
+ --secondary-foreground: #e8ebe0;
+ --muted: #282c20;
+ --muted-foreground: #9aa08c;
+ --accent: #82b06a;
+ --accent-foreground: #14160f;
+ --destructive: #d2674f;
+ --border: #323626;
+ --input: #323626;
+ --ring: #82b06a;
+ --chart-1: #82b06a;
+ --chart-2: #6abf9f;
+ --chart-3: #d9a441;
+ --chart-4: #d2674f;
+ --chart-5: #9aa08c;
+ --sidebar: #1d2018;
+ --sidebar-foreground: #e8ebe0;
+ --sidebar-primary: #82b06a;
+ --sidebar-primary-foreground: #14160f;
+ --sidebar-accent: #282c20;
+ --sidebar-accent-foreground: #e8ebe0;
+ --sidebar-border: #323626;
+ --sidebar-ring: #82b06a;
+ --accent-dim: #5f8a4a;
+ --success: #6abf9f;
+ --warn: #d9a441;
+ --faint: #5c6350;
+ --diff-add-bg: #1a2415;
+ --diff-del-bg: #2c1b18;
+}
+
diff --git a/gui/src/styles/workspace.css b/gui/src/styles/workspace.css
new file mode 100644
index 00000000..38ba4af3
--- /dev/null
+++ b/gui/src/styles/workspace.css
@@ -0,0 +1,186 @@
+.workspace-board-dock :is(.dockview-theme-light, .dockview-theme-dark) {
+ --dv-tabs-and-actions-container-height: 2rem;
+ --dv-tabs-and-actions-container-font-size: 0.6875rem;
+ --dv-tabs-and-actions-container-background-color: transparent;
+ --dv-activegroup-visiblepanel-tab-background-color: color-mix(
+ in oklab,
+ var(--background) 72%,
+ transparent
+ );
+ --dv-activegroup-hiddenpanel-tab-background-color: transparent;
+ --dv-inactivegroup-visiblepanel-tab-background-color: transparent;
+ --dv-inactivegroup-hiddenpanel-tab-background-color: transparent;
+ --dv-tab-divider-color: transparent;
+ --dv-drag-over-background-color: color-mix(
+ in oklab,
+ var(--foreground) 6%,
+ transparent
+ );
+ --dv-drag-over-border-color: color-mix(
+ in oklab,
+ var(--foreground) 18%,
+ transparent
+ );
+ --dv-resize-handle-background-color: transparent;
+}
+
+.workspace-board-dock.dockview-theme-light,
+.workspace-board-dock .dockview-theme-light {
+ --dv-separator-border: rgb(0 0 0 / 5%);
+}
+
+.workspace-board-dock.dockview-theme-dark,
+.workspace-board-dock .dockview-theme-dark {
+ --dv-separator-border: rgb(255 255 255 / 5%);
+}
+
+.workspace-board-dock .dv-groupview {
+ border-radius: 0;
+ background: transparent;
+ overflow: hidden;
+}
+
+.workspace-board-dock
+ .workspace-board-outer-group
+ > .dv-tabs-and-actions-container {
+ display: none !important;
+}
+
+.workspace-board-dock .dv-groupview .dv-tabs-and-actions-container {
+ padding-inline: 0.25rem;
+ backdrop-filter: none;
+ background: transparent;
+}
+
+.workspace-board-dock .dv-groupview .dv-tab {
+ border-radius: 0;
+ cursor: grab;
+ font-size: 0.6875rem;
+ font-weight: 600;
+ letter-spacing: 0.02em;
+}
+
+.workspace-board-dock .dv-groupview .dv-tab:active {
+ cursor: grabbing;
+}
+
+.workspace-board-dock .dv-groupview .dv-content-container {
+ background: transparent;
+}
+
+.workspace-board-dock .workspace-board-outer-group {
+ background: var(--pane-surface);
+}
+
+.workspace-board-dock .workspace-board-outer-group > .dv-content-container {
+ background: var(--pane-surface);
+}
+
+/* Terminal palette derived from the app's theme tokens so it tracks every preset
+ (warm-graphite/slate/nord/forest) and light/dark automatically — the frame
+ (bg/fg/cursor/neutrals) follows the active preset, while the ANSI hues map to
+ the shared syntax-highlight + semantic tokens. */
+.terminal-pane-shell .wterm {
+ --term-bg: transparent;
+ --term-fg: var(--foreground);
+ --term-cursor: var(--accent);
+ --term-font-family:
+ "Geist Mono", ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco,
+ Consolas, monospace;
+ --term-font-size: 13px;
+
+ /* normal */
+ --term-color-0: color-mix(in oklab, var(--foreground) 55%, var(--background));
+ --term-color-1: var(--destructive);
+ --term-color-2: var(--success);
+ --term-color-3: var(--warn);
+ --term-color-4: var(--sh-class);
+ --term-color-5: var(--sh-entity);
+ --term-color-6: color-mix(in oklab, var(--sh-class) 60%, var(--success));
+ --term-color-7: color-mix(in oklab, var(--foreground) 78%, var(--background));
+ /* bright */
+ --term-color-8: var(--muted-foreground);
+ --term-color-9: var(--destructive);
+ --term-color-10: var(--success);
+ --term-color-11: var(--warn);
+ --term-color-12: var(--sh-class);
+ --term-color-13: var(--sh-entity);
+ --term-color-14: color-mix(in oklab, var(--sh-class) 60%, var(--success));
+ --term-color-15: var(--foreground);
+
+ background: transparent;
+ padding: 0;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.workspace-board .dv-drop-target-anchor,
+.workspace-board .dv-drop-target-selection {
+ border: 1px solid color-mix(in oklab, var(--foreground) 24%, transparent);
+ background: color-mix(in oklab, var(--foreground) 8%, transparent);
+ box-shadow: inset 0 0 0 1px
+ color-mix(in oklab, var(--background) 72%, transparent);
+}
+
+.chat-tile-inner-dock .dv-drop-target-anchor,
+.chat-tile-inner-dock .dv-drop-target-selection {
+ border: 1px solid color-mix(in oklab, var(--foreground) 24%, transparent);
+ background: color-mix(in oklab, var(--foreground) 8%, transparent);
+ box-shadow: inset 0 0 0 1px
+ color-mix(in oklab, var(--background) 72%, transparent);
+}
+
+.workspace-board-dock
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.chat-tile-inner-dock
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after {
+ background: color-mix(in oklab, var(--foreground) 10%, transparent);
+ border-radius: 999px;
+}
+
+.workspace-board-dock.dockview-theme-light
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.workspace-board-dock
+ .dockview-theme-light
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.chat-tile-inner-dock.dockview-theme-light
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.chat-tile-inner-dock
+ .dockview-theme-light
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after {
+ background: rgb(0 0 0 / 5%);
+}
+
+.workspace-board-dock.dockview-theme-dark
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.workspace-board-dock
+ .dockview-theme-dark
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.chat-tile-inner-dock.dockview-theme-dark
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after,
+.chat-tile-inner-dock
+ .dockview-theme-dark
+ > .dv-resize-container
+ > .dv-sash-container
+ > .dv-sash::after {
+ background: rgb(255 255 255 / 5%);
+}
+