Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
@custom-variant dark (&:is(.dark *));
:root {
color-scheme: light;
--background: oklch(0.985 0 0);
--foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.97 0 0);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.96 0 0);
--muted-foreground: oklch(0.5 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
--success: oklch(0.6 0.118 184.704);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 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);
--radius: 0.5rem;
--sidebar: oklch(0.97 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.5 0 0);
--sidebar-accent: oklch(0.95 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
}
.dark {
color-scheme: dark;
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: 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);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--success: oklch(0.704 0.14 182.503);
--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(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
position: relative;
min-width: 20rem;
min-height: 100vh;
background: var(--background);
color: var(--foreground);
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
/*
* THERE IS DELIBERATELY NO `button, input, textarea, select { font: inherit }` HERE.
*
* Form controls do need it — Chrome otherwise draws them in its own ~13.3px system font — and
* Tailwind's Preflight already does exactly that, inside `@layer base`, where a utility can still
* override it. A second copy written here would sit in NO layer, and an unlayered rule outranks
* every layered one no matter how specific: a bare `input` selector beats `.text-sm`. That is not a
* specificity fight anybody wins, because layers are resolved before specificity is even consulted.
*
* One was here, and it silently disabled every `text-*` on every button, input, textarea and select
* in the app. Nothing looked broken; the sizes were simply never applied, and the labels — which are
* not in that selector list — rendered a size smaller than the fields they belonged to.
*/
/*
* Text is sized on a 15px base while everything else is on Tailwind's 16px rem.
*
* The root stays at the browser's 16px so spacing, sizes and radii land on Tailwind's 4px grid
* (`p-4` is 16px, `h-8` is 32px). Only type keeps the scale it had under the old 15px root: each
* size below is Tailwind's default multiplied by 15/16, so `text-sm` is still 13.125px. Line
* heights are Tailwind's own unitless ratios and scale with them. `body` reads `--text-base`, so
* unclassed text is 15px too.
*/
@theme inline {
--text-xs: 0.703125rem; /* 11.25px */
--text-sm: 0.8203125rem; /* 13.125px */
--text-base: 0.9375rem; /* 15px */
--text-lg: 1.0546875rem; /* 16.875px */
--text-xl: 1.171875rem; /* 18.75px */
--text-2xl: 1.40625rem; /* 22.5px */
--text-3xl: 1.7578125rem; /* 28.125px */
--text-4xl: 2.109375rem; /* 33.75px */
--font-heading: var(--font-sans);
--font-sans: "Inter 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-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);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground text-base;
}
html {
@apply font-sans;
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 5px;
}
* {
scrollbar-width: thin;
scrollbar-color: var(--border) transparent;
}
}
/*
* Row descriptions wrap on sense rather than on width.
*
* Here rather than on the `ItemDescription` primitive, which is where this started. The reason was
* that the primitive was vendored and the next `shadcn add item` would silently remove anything put
* inside it; the primitives are the repository's own now, so that is no longer true. It stays here
* because it belongs with the other layout rules rather than inside one primitive.
*
* The primitive already emits the attribute this selects, so nothing has to be edited for it to
* apply, and nothing upstream can take it away.
*/
[data-slot="item-description"] {
text-wrap: pretty;
}