Curler is a shadcn/ui theme built around a vivid blue primary color (#0a29f5) with vivid violet accents (#600af5). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#0a29f5) on a blue-tinted background (#07080e).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #07080eblack |
| Foreground | #010204black | #ffffffwhite |
| Card | #f7f8fdghostwhite | #07080eblack |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #f7f8fdghostwhite | #07080eblack |
| Popover foreground | #010204black | #ffffffwhite |
| Primary | #0a29f5blue | #0a29f5blue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0a9ff5dodgerblue | #0a9ff5dodgerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9eef2lavender | #0d1316black |
| Muted foreground | #45555edarkslategray | #a1b1badarkgray |
| Accent | #600af5blueviolet | #600af5blueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #5c1b0amaroon | #e95935tomato |
| Destructive foreground | #f5b4a3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a29f5blue | #0a29f5blue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 2.88:1 | Fail |
| Muted text | 6.63:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 7.41:1 | AAA |
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 2.88:1 | Fail |
| Muted text | 8.47:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 5.92:1 | AA |
Paste this into your globals.css to use Curler in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 279.228);
--foreground: oklch(0.08 0.013 273.336);
--muted: oklch(0.947 0.008 232.691);
--muted-foreground: oklch(0.439 0.024 233.482);
--popover: oklch(0.979 0.007 279.228);
--popover-foreground: oklch(0.08 0.013 273.336);
--card: oklch(0.979 0.007 279.228);
--card-foreground: oklch(0.08 0.013 273.336);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.464 0.286 264.834);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.677 0.166 244.264);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.283 284.721);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.323 0.099 34.881);
--destructive-foreground: oklch(0.825 0.08 34.51);
--ring: oklch(0.464 0.286 264.834);
--chart-1: oklch(0.464 0.286 264.834);
--chart-2: oklch(0.677 0.166 244.264);
--chart-3: oklch(0.49 0.283 284.721);
--chart-4: oklch(0.691 0.16 242.476);
--chart-5: oklch(0.465 0.292 264.601);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.014 276.403);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.011 233.581);
--muted-foreground: oklch(0.75 0.022 233.009);
--popover: oklch(0.135 0.014 276.403);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.014 276.403);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.464 0.286 264.834);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.677 0.166 244.264);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.283 284.721);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.647 0.185 35.092);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.464 0.286 264.834);
--chart-1: oklch(0.464 0.286 264.834);
--chart-2: oklch(0.677 0.166 244.264);
--chart-3: oklch(0.49 0.283 284.721);
--chart-4: oklch(0.691 0.16 242.476);
--chart-5: oklch(0.465 0.292 264.601);
}