Curly is a shadcn/ui theme built around a vivid deep indigo primary color (#05093d) with vivid deep yellow accents (#3d3905). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid deep indigo primary (#05093d) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #020308black |
| Foreground | #010104black | #f5f5fawhitesmoke |
| Card | #f8f8fcghostwhite | #020308black |
| Card foreground | #010104black | #f5f5fawhitesmoke |
| Popover | #f8f8fcghostwhite | #020308black |
| Popover foreground | #010104black | #f5f5fawhitesmoke |
| Primary | #05093dmidnightblue | #05093dmidnightblue |
| Primary foreground | #8088f4cornflowerblue | #8088f4cornflowerblue |
| Secondary | #3d3905darkolivegreen | #3d3905darkolivegreen |
| Secondary foreground | #ecde22gold | #ecde22gold |
| Muted | #ecebdfbeige | #201f13black |
| Muted foreground | #595845darkolivegreen | #bab9a6darkgray |
| Accent | #3d3905darkolivegreen | #3d3905darkolivegreen |
| Accent foreground | #ecde22gold | #ecde22gold |
| Destructive | #741506maroon | #f33c20orangered |
| Destructive foreground | #fbbbb1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #05093dmidnightblue | #05093dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 6.04:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 6.05:1 | AA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 8.31:1 | AAA |
| Accent | 8.39:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Curly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 283.008);
--foreground: oklch(0.078 0.015 277.802);
--muted: oklch(0.939 0.017 103.408);
--muted-foreground: oklch(0.456 0.03 104.128);
--popover: oklch(0.98 0.006 283.008);
--popover-foreground: oklch(0.078 0.015 277.802);
--card: oklch(0.98 0.006 283.008);
--card-foreground: oklch(0.078 0.015 277.802);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.187 0.097 269.129);
--primary-foreground: oklch(0.67 0.158 278.133);
--secondary: oklch(0.339 0.068 105.162);
--secondary-foreground: oklch(0.885 0.182 104.945);
--accent: oklch(0.339 0.068 105.162);
--accent-foreground: oklch(0.885 0.182 104.945);
--destructive: oklch(0.365 0.132 31.687);
--destructive-foreground: oklch(0.849 0.075 28.649);
--ring: oklch(0.187 0.097 269.129);
--chart-1: oklch(0.187 0.097 269.129);
--chart-2: oklch(0.339 0.068 105.162);
--chart-3: oklch(0.339 0.068 105.162);
--chart-4: oklch(0.389 0.079 105.069);
--chart-5: oklch(0.186 0.1 268.278);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.018 278.097);
--foreground: oklch(0.971 0.007 282.983);
--muted: oklch(0.238 0.023 104.542);
--muted-foreground: oklch(0.781 0.027 103.658);
--popover: oklch(0.099 0.018 278.097);
--popover-foreground: oklch(0.971 0.007 282.983);
--card: oklch(0.099 0.018 278.097);
--card-foreground: oklch(0.971 0.007 282.983);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.187 0.097 269.129);
--primary-foreground: oklch(0.67 0.158 278.133);
--secondary: oklch(0.339 0.068 105.162);
--secondary-foreground: oklch(0.885 0.182 104.945);
--accent: oklch(0.339 0.068 105.162);
--accent-foreground: oklch(0.885 0.182 104.945);
--destructive: oklch(0.634 0.222 31.634);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.187 0.097 269.129);
--chart-1: oklch(0.187 0.097 269.129);
--chart-2: oklch(0.339 0.068 105.162);
--chart-3: oklch(0.339 0.068 105.162);
--chart-4: oklch(0.389 0.079 105.069);
--chart-5: oklch(0.186 0.1 268.278);
}