Whisper / web /src /index.css
openreels-deploy
feat(web): redesign the interface as Pitlane
1cf3ecd
Raw History Blame Contribute Delete
4.99 kB
@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@import "@fontsource-variable/geist";
@custom-variant dark (&:is(.dark *));
@theme inline {
--font-heading: var(--font-sans);
--font-sans: 'Geist Variable', sans-serif;
--font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 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-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);
--color-surface-inset: var(--surface-inset);
--color-surface-sunken: var(--surface-sunken);
--color-text-subtle: var(--text-subtle);
--color-text-faint: var(--text-faint);
--color-tally: var(--tally);
--color-tally-foreground: var(--tally-foreground);
--color-status-info: var(--status-info);
--color-status-success: var(--status-success);
--color-status-warning: var(--status-warning);
--radius-sm: calc(var(--radius) * 0.6);
--radius-md: calc(var(--radius) * 0.8);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.3);
--radius-2xl: calc(var(--radius) * 1.6);
--radius-3xl: calc(var(--radius) * 2);
}
/*
* Pitlane — a night edit bay.
*
* One neutral ramp, cold-cast graphite, so the footage carries the colour.
* The only accent is the tally lamp: a warm amber that means "this is live".
* Everything else is a surface step, a hairline, or quiet text.
*/
:root {
/* Neutral ramp */
--background: oklch(0.145 0.008 255);
--foreground: oklch(0.96 0 0);
--card: oklch(0.183 0.009 255);
--card-foreground: oklch(0.96 0 0);
--popover: oklch(0.183 0.009 255);
--popover-foreground: oklch(0.96 0 0);
--secondary: oklch(0.213 0.010 255);
--secondary-foreground: oklch(0.90 0 0);
--muted: oklch(0.213 0.010 255);
--muted-foreground: oklch(0.62 0.010 252);
--accent: oklch(0.213 0.010 255);
--accent-foreground: oklch(0.96 0 0);
--destructive: oklch(0.66 0.17 26);
--border: oklch(0.255 0.010 255);
--input: oklch(0.225 0.010 255);
--ring: oklch(0.55 0.13 75);
/* One accent: the tally lamp */
--tally: oklch(0.80 0.145 76);
--tally-foreground: oklch(0.20 0.03 76);
/* Primary is off-white with dark text — the accent stays small */
--primary: oklch(0.95 0 0);
--primary-foreground: oklch(0.16 0.008 255);
/* Charts: neutral steps, the accent only on the one thing that leads */
--chart-1: oklch(0.80 0.145 76);
--chart-2: oklch(0.52 0.012 255);
--chart-3: oklch(0.44 0.012 255);
--chart-4: oklch(0.36 0.012 255);
--chart-5: oklch(0.29 0.010 255);
--radius: 0.75rem;
--sidebar: oklch(0.163 0.009 255);
--sidebar-foreground: oklch(0.72 0.010 252);
--sidebar-primary: oklch(0.95 0 0);
--sidebar-primary-foreground: oklch(0.16 0.008 255);
--sidebar-accent: oklch(0.225 0.010 255);
--sidebar-accent-foreground: oklch(0.96 0 0);
--sidebar-border: oklch(0.235 0.010 255);
--sidebar-ring: oklch(0.55 0.13 75);
/* Semantic surfaces */
--surface-inset: oklch(0.163 0.009 255);
--surface-sunken: oklch(0.115 0.008 255);
/* Semantic text */
--text-subtle: oklch(0.74 0.010 250);
--text-faint: oklch(0.46 0.010 252);
/* Status colours, toned to sit inside the palette */
--status-info: oklch(0.74 0.09 225);
--status-success: oklch(0.72 0.13 158);
--status-warning: oklch(0.78 0.12 82);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
html {
@apply font-sans;
}
/* Figures line up in columns and read as one set of numbers. */
.tabular {
font-variant-numeric: tabular-nums;
}
}