Colors (GSD palette) untouched. New visual vocabulary across the whole GUI: - warm-tinted layered shadow tokens (--shadow-xs/sm/md) replacing flat rings; cards/dialogs framed with hairline border + real elevation - strict radii scale: xl cards / lg inputs / md controls / 2xl dialogs; buttons move from pills to rounded-md - third type register: --font-mono + tabular-nums on SQL, timers, dates, ids; standardized .thot-label micro-label tier - prose: framed tables with uppercase headers, elevated code blocks - SqlViewer badges moved from hardcoded Tailwind greens/reds to success/ destructive token tints; ResultsPanel inline styles replaced with classes - artifact gate: first option rendered as filled primary action Verified offline via Playwright against a mock backend replaying a real psd session (no VPN needed). tsc clean, 115/115 vitest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
71 lines
2.6 KiB
TypeScript
71 lines
2.6 KiB
TypeScript
import type { Config } from "tailwindcss";
|
|
|
|
export default {
|
|
content: ["./index.html", "./src/**/*.{ts,tsx}"],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
background: "oklch(var(--background) / <alpha-value>)",
|
|
foreground: "oklch(var(--foreground) / <alpha-value>)",
|
|
card: {
|
|
DEFAULT: "oklch(var(--card) / <alpha-value>)",
|
|
foreground: "oklch(var(--card-foreground) / <alpha-value>)",
|
|
},
|
|
popover: {
|
|
DEFAULT: "oklch(var(--popover) / <alpha-value>)",
|
|
foreground: "oklch(var(--popover-foreground) / <alpha-value>)",
|
|
},
|
|
primary: {
|
|
DEFAULT: "oklch(var(--primary) / <alpha-value>)",
|
|
foreground: "oklch(var(--primary-foreground) / <alpha-value>)",
|
|
},
|
|
secondary: {
|
|
DEFAULT: "oklch(var(--secondary) / <alpha-value>)",
|
|
foreground: "oklch(var(--secondary-foreground) / <alpha-value>)",
|
|
},
|
|
muted: {
|
|
DEFAULT: "oklch(var(--muted) / <alpha-value>)",
|
|
foreground: "oklch(var(--muted-foreground) / <alpha-value>)",
|
|
},
|
|
accent: {
|
|
DEFAULT: "oklch(var(--accent) / <alpha-value>)",
|
|
foreground: "oklch(var(--accent-foreground) / <alpha-value>)",
|
|
},
|
|
destructive: {
|
|
DEFAULT: "oklch(var(--destructive) / <alpha-value>)",
|
|
},
|
|
border: "oklch(var(--border) / <alpha-value>)",
|
|
input: "oklch(var(--input) / <alpha-value>)",
|
|
ring: "oklch(var(--ring) / <alpha-value>)",
|
|
sidebar: {
|
|
DEFAULT: "oklch(var(--sidebar) / <alpha-value>)",
|
|
foreground: "oklch(var(--sidebar-foreground) / <alpha-value>)",
|
|
primary: "oklch(var(--sidebar-primary) / <alpha-value>)",
|
|
"primary-foreground": "oklch(var(--sidebar-primary-foreground) / <alpha-value>)",
|
|
accent: "oklch(var(--sidebar-accent) / <alpha-value>)",
|
|
"accent-foreground": "oklch(var(--sidebar-accent-foreground) / <alpha-value>)",
|
|
border: "oklch(var(--sidebar-border) / <alpha-value>)",
|
|
ring: "oklch(var(--sidebar-ring) / <alpha-value>)",
|
|
},
|
|
},
|
|
borderRadius: {
|
|
lg: "var(--radius)",
|
|
md: "calc(var(--radius) - 2px)",
|
|
sm: "calc(var(--radius) - 4px)",
|
|
},
|
|
boxShadow: {
|
|
xs: "var(--shadow-xs)",
|
|
sm: "var(--shadow-sm)",
|
|
DEFAULT: "var(--shadow-sm)",
|
|
md: "var(--shadow-md)",
|
|
},
|
|
fontFamily: {
|
|
sans: ["var(--font-sans)", "sans-serif"],
|
|
heading: ["var(--font-heading)", "sans-serif"],
|
|
mono: ["var(--font-mono)", "monospace"],
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config;
|