Theme editor
Tune the base color, accent and radius. Every preview in the library switches to your theme instantly.
Presets
Start from a preset, then fine-tune it on the left. Every preview in the library switches with it.
Preview
Invite a teammate
Teammates can view and edit this project.
Role
Notification volume60%
Component previews
CSS variables
Paste into your project's globals.css, replacing the matching variables in :root and .dark.
:root {
--radius: 0.75rem;
--background: oklch(1 0 0);
--foreground: oklch(0.141 0.004 285.9);
--card: oklch(1 0 0);
--card-foreground: oklch(0.141 0.004 285.9);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.141 0.004 285.9);
--primary: oklch(0.21 0.006 285.9);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.967 0.001 285.9);
--secondary-foreground: oklch(0.21 0.006 285.9);
--muted: oklch(0.967 0.001 285.9);
--muted-foreground: oklch(0.552 0.014 285.9);
--accent: oklch(0.967 0.001 285.9);
--accent-foreground: oklch(0.21 0.006 285.9);
--destructive: oklch(0.577 0.245 27.3);
--border: oklch(0.92 0.004 285.9);
--input: oklch(0.92 0.004 285.9);
--sidebar: oklch(0.985 0.001 285.9);
--sidebar-foreground: oklch(0.141 0.004 285.9);
--sidebar-primary: oklch(0.21 0.006 285.9);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.955 0.002 285.9);
--sidebar-accent-foreground: oklch(0.21 0.006 285.9);
--sidebar-border: oklch(0.92 0.004 285.9);
--sidebar-ring: oklch(0.68 0.19 42);
--ring: oklch(0.68 0.19 42);
--chart-1: oklch(0.68 0.19 42);
--chart-2: oklch(0.6 0.12 185);
--chart-3: oklch(0.55 0.15 265);
--chart-4: oklch(0.75 0.15 85);
--chart-5: oklch(0.6 0.2 340);
}
.dark {
--background: oklch(0.141 0.004 285.9);
--foreground: oklch(0.968 0.001 285.9);
--card: oklch(0.18 0.004 285.9);
--card-foreground: oklch(0.968 0.001 285.9);
--popover: oklch(0.18 0.004 285.9);
--popover-foreground: oklch(0.968 0.001 285.9);
--primary: oklch(0.968 0.001 285.9);
--primary-foreground: oklch(0.21 0.006 285.9);
--secondary: oklch(0.24 0.006 285.9);
--secondary-foreground: oklch(0.968 0.001 285.9);
--muted: oklch(0.24 0.006 285.9);
--muted-foreground: oklch(0.654 0.014 285.9);
--accent: oklch(0.24 0.006 285.9);
--accent-foreground: oklch(0.968 0.001 285.9);
--destructive: oklch(0.704 0.191 22.2);
--border: oklch(0.274 0.005 285.9);
--input: oklch(1 0 0 / 12%);
--sidebar: oklch(0.155 0.004 285.9);
--sidebar-foreground: oklch(0.968 0.001 285.9);
--sidebar-primary: oklch(0.968 0.001 285.9);
--sidebar-primary-foreground: oklch(0.21 0.006 285.9);
--sidebar-accent: oklch(0.22 0.005 285.9);
--sidebar-accent-foreground: oklch(0.968 0.001 285.9);
--sidebar-border: oklch(0.24 0.005 285.9);
--sidebar-ring: oklch(0.72 0.18 45);
--ring: oklch(0.72 0.18 45);
--chart-1: oklch(0.72 0.18 45);
--chart-2: oklch(0.6 0.12 185);
--chart-3: oklch(0.55 0.15 265);
--chart-4: oklch(0.75 0.15 85);
--chart-5: oklch(0.6 0.2 340);
}
Import a theme
Paste exported JSON or shadcn-style CSS variables (--radius, --primary, --ring, --muted-foreground … in :root). The base color, accent and radius are detected automatically.