Curly is a shadcn/ui theme built around a muted blue primary color (#b7bbc3) with muted light blue accents (#c2c9d6). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the muted blue primary (#b7bbc3) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #010204black |
| Foreground | #000000black | #f6f7f9whitesmoke |
| Card | #f4f6fbghostwhite | #020408black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #f4f6fbghostwhite | #020408black |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #b7bbc3silver | #b7bbc3silver |
| Primary foreground | #202327darkslategray | #202327darkslategray |
| Secondary | #c2c9d6lightgrey | #151619black |
| Secondary foreground | #29303ddarkslategray | #aaaeb6darkgray |
| Muted | #e0e6f0lavender | #0f151fblack |
| Muted foreground | #545b69dimgray | #969eabdarkgray |
| Accent | #c2c9d6lightgrey | #151619black |
| Accent foreground | #29303ddarkslategray | #aaaeb6darkgray |
| Destructive | #9d0806darkred | #e20c08red |
| Destructive foreground | #fed8d8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7bbc3silver | #b7bbc3silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 8.11:1 | AAA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Curly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 263.047);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.015 263.018);
--muted-foreground: oklch(0.471 0.024 262.889);
--popover: oklch(0.974 0.006 263.043);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.006 263.043);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.791 0.012 263.022);
--primary-foreground: oklch(0.254 0.009 262.962);
--secondary: oklch(0.835 0.019 262.999);
--secondary-foreground: oklch(0.309 0.025 262.732);
--accent: oklch(0.835 0.019 262.999);
--accent-foreground: oklch(0.309 0.025 262.732);
--destructive: oklch(0.441 0.177 29.054);
--destructive-foreground: oklch(0.914 0.042 19.095);
--ring: oklch(0.791 0.012 263.022);
--chart-1: oklch(0.791 0.012 263.022);
--chart-2: oklch(0.835 0.019 262.999);
--chart-3: oklch(0.835 0.019 262.999);
--chart-4: oklch(0.86 0.016 263.012);
--chart-5: oklch(0.789 0.016 263.008);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.011 255.172);
--foreground: oklch(0.976 0.002 263.05);
--muted: oklch(0.193 0.023 262.485);
--muted-foreground: oklch(0.696 0.021 262.972);
--popover: oklch(0.108 0.013 255.172);
--popover-foreground: oklch(0.984 0.002 263.051);
--card: oklch(0.108 0.013 255.172);
--card-foreground: oklch(0.984 0.002 263.051);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.791 0.012 263.022);
--primary-foreground: oklch(0.254 0.009 262.962);
--secondary: oklch(0.202 0.005 262.99);
--secondary-foreground: oklch(0.75 0.013 263.017);
--accent: oklch(0.202 0.005 262.99);
--accent-foreground: oklch(0.75 0.013 263.017);
--destructive: oklch(0.577 0.233 29.12);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.791 0.012 263.022);
--chart-1: oklch(0.791 0.012 263.022);
--chart-2: oklch(0.202 0.005 262.99);
--chart-3: oklch(0.202 0.005 262.99);
--chart-4: oklch(0.234 0.007 262.981);
--chart-5: oklch(0.789 0.016 263.008);
}