Curler is a shadcn/ui theme built around a muted light purple primary color (#cdbccc) with muted light pink accents (#cdbcc3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light purple primary (#cdbccc) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0f050fblack | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0c040bblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0f050fblack | #ffffffwhite |
| Primary | #cdbcccthistle | #cdbcccthistle |
| Primary foreground | #322531darkslategray | #322531darkslategray |
| Secondary | #c6bccdsilver | #c6bccdsilver |
| Secondary foreground | #2c2532darkslategray | #2c2532darkslategray |
| Muted | #f3f0f4whitesmoke | #0d0b0fblack |
| Muted foreground | #504c52darkslategray | #b0adb3darkgray |
| Accent | #cdbcc3silver | #cdbcc3silver |
| Accent foreground | #32252adarkslategray | #32252adarkslategray |
| Destructive | #812909saddlebrown | #ea4a10orangered |
| Destructive foreground | #fbd0c1peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cdbcccthistle | #cdbcccthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 8.84:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Curler in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.029 329.785);
--muted: oklch(0.959 0.006 311.674);
--muted-foreground: oklch(0.422 0.011 311.508);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.029 329.785);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.125 0.025 329.413);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.813 0.03 328.437);
--primary-foreground: oklch(0.284 0.028 329.056);
--secondary: oklch(0.808 0.027 311.457);
--secondary-foreground: oklch(0.278 0.026 310.977);
--accent: oklch(0.811 0.022 350.425);
--accent-foreground: oklch(0.281 0.022 351.726);
--destructive: oklch(0.411 0.127 37.773);
--destructive-foreground: oklch(0.891 0.052 40.973);
--ring: oklch(0.813 0.03 328.437);
--chart-1: oklch(0.813 0.03 328.437);
--chart-2: oklch(0.808 0.027 311.457);
--chart-3: oklch(0.811 0.022 350.425);
--chart-4: oklch(0.833 0.023 311.501);
--chart-5: oklch(0.812 0.036 328.511);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.153 0.009 311.231);
--muted-foreground: oklch(0.752 0.01 311.619);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.813 0.03 328.437);
--primary-foreground: oklch(0.284 0.028 329.056);
--secondary: oklch(0.808 0.027 311.457);
--secondary-foreground: oklch(0.278 0.026 310.977);
--accent: oklch(0.811 0.022 350.425);
--accent-foreground: oklch(0.281 0.022 351.726);
--destructive: oklch(0.63 0.205 36.921);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.813 0.03 328.437);
--chart-1: oklch(0.813 0.03 328.437);
--chart-2: oklch(0.808 0.027 311.457);
--chart-3: oklch(0.811 0.022 350.425);
--chart-4: oklch(0.833 0.023 311.501);
--chart-5: oklch(0.812 0.036 328.511);
}