From a25dfa64a218307086aac8a58300898f6cd9c1d5 Mon Sep 17 00:00:00 2001 From: scotttong Date: Mon, 6 Jul 2026 17:20:27 -0700 Subject: [PATCH] feat(ui): apply shadcn preset b1VlJj4S as token values only --radius 0 -> 0.45rem, monochrome chart ramp, refined dark surfaces (alpha borders/input, lighter primary, softer destructive, elevated sidebar), derived 2xl/3xl/4xl radii, base-layer outline-ring default. Scaffolding churn reverted: utils.ts gutting, components.json restyle, fontsource/phosphor/shadcn-css/tw-animate deps (local Inter kept). Co-Authored-By: Claude Fable 5 --- ui/src/index.css | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/ui/src/index.css b/ui/src/index.css index 277b654292..de7f5aec71 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -58,11 +58,15 @@ --radius-md: 0.5rem; --radius-lg: 0px; --radius-xl: 0px; + --font-heading: var(--font-sans); + --radius-2xl: calc(var(--radius) * 1.8); + --radius-3xl: calc(var(--radius) * 2.2); + --radius-4xl: calc(var(--radius) * 2.6); } :root { color-scheme: light; - --radius: 0; + --radius: 0.45rem; --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); --card: oklch(1 0 0); @@ -82,11 +86,11 @@ --border: oklch(0.922 0 0); --input: oklch(0.922 0 0); --ring: oklch(0.708 0 0); - --chart-1: oklch(0.646 0.222 41.116); - --chart-2: oklch(0.6 0.118 184.704); - --chart-3: oklch(0.398 0.07 227.392); - --chart-4: oklch(0.828 0.189 84.429); - --chart-5: oklch(0.769 0.188 70.08); + --chart-1: oklch(0.87 0 0); + --chart-2: oklch(0.556 0 0); + --chart-3: oklch(0.439 0 0); + --chart-4: oklch(0.371 0 0); + --chart-5: oklch(0.269 0 0); --sidebar: oklch(0.985 0 0); --sidebar-foreground: oklch(0.145 0 0); --sidebar-primary: oklch(0.205 0 0); @@ -182,7 +186,7 @@ --card-foreground: oklch(0.985 0 0); --popover: oklch(0.205 0 0); --popover-foreground: oklch(0.985 0 0); - --primary: oklch(0.985 0 0); + --primary: oklch(0.922 0 0); --primary-foreground: oklch(0.205 0 0); --secondary: oklch(0.269 0 0); --secondary-foreground: oklch(0.985 0 0); @@ -190,24 +194,24 @@ --muted-foreground: oklch(0.708 0 0); --accent: oklch(0.269 0 0); --accent-foreground: oklch(0.985 0 0); - --destructive: oklch(0.637 0.237 25.331); + --destructive: oklch(0.704 0.191 22.216); --destructive-foreground: oklch(0.985 0 0); - --border: oklch(0.269 0 0); - --input: oklch(0.269 0 0); - --ring: oklch(0.439 0 0); - --chart-1: oklch(0.488 0.243 264.376); - --chart-2: oklch(0.696 0.17 162.48); - --chart-3: oklch(0.769 0.188 70.08); - --chart-4: oklch(0.627 0.265 303.9); - --chart-5: oklch(0.645 0.246 16.439); - --sidebar: oklch(0.145 0 0); + --border: oklch(1 0 0 / 10%); + --input: oklch(1 0 0 / 15%); + --ring: oklch(0.556 0 0); + --chart-1: oklch(0.87 0 0); + --chart-2: oklch(0.556 0 0); + --chart-3: oklch(0.439 0 0); + --chart-4: oklch(0.371 0 0); + --chart-5: oklch(0.269 0 0); + --sidebar: oklch(0.205 0 0); --sidebar-foreground: oklch(0.985 0 0); --sidebar-primary: oklch(0.488 0.243 264.376); --sidebar-primary-foreground: oklch(0.985 0 0); --sidebar-accent: oklch(0.269 0 0); --sidebar-accent-foreground: oklch(0.985 0 0); - --sidebar-border: oklch(0.269 0 0); - --sidebar-ring: oklch(0.439 0 0); + --sidebar-border: oklch(1 0 0 / 10%); + --sidebar-ring: oklch(0.556 0 0); --chip-match-title-bg: oklch(0.27 0.04 265 / 0.5); --chip-match-title-fg: oklch(0.78 0.10 265); --chip-match-title-border: oklch(0.4 0.06 265); @@ -257,14 +261,15 @@ @layer base { * { - @apply border-border; + @apply border-border outline-ring/50; } html { height: 100%; -webkit-tap-highlight-color: color-mix(in oklab, var(--foreground) 20%, transparent); + @apply font-sans; } body { - @apply bg-background text-foreground antialiased; + @apply antialiased bg-background text-foreground; font-family: var(--font-sans); height: 100%; overflow: hidden;