Cute is a shadcn/ui theme built around a vivid green primary color (#7afc59) with vivid red accents (#fc597a). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#7afc59) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020401black |
| Foreground | #061103black | #f9fbf9mintcream |
| Card | #fbfefbwhite | #020401black |
| Card foreground | #061103black | #f9fbf9mintcream |
| Popover | #fbfefbwhite | #020401black |
| Popover foreground | #061103black | #f9fbf9mintcream |
| Primary | #7afc59lightgreen | #7afc59lightgreen |
| Primary foreground | #072301black | #072301black |
| Secondary | #597afccornflowerblue | #597afccornflowerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d4d7e2gainsboro | #1d1f2bblack |
| Muted foreground | #484c5bdarkslategray | #a4a8b7darkgray |
| Accent | #fc597asalmon | #fc597asalmon |
| Accent foreground | #230107black | #230107black |
| Destructive | #b51212firebrick | #e91c1ccrimson |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7afc59lightgreen | #7afc59lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 12.76:1 | AAA |
| Secondary button | 3.73:1 | AA Large |
| Muted text | 5.94:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 6.63:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 12.76:1 | AAA |
| Secondary button | 3.73:1 | AA Large |
| Muted text | 6.89:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Cute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 139.443);
--foreground: oklch(0.161 0.035 137.975);
--muted: oklch(0.88 0.016 274.807);
--muted-foreground: oklch(0.418 0.027 274.161);
--popover: oklch(0.994 0.005 139.443);
--popover-foreground: oklch(0.161 0.035 137.975);
--card: oklch(0.994 0.005 139.443);
--card-foreground: oklch(0.161 0.035 137.975);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.886 0.232 139.891);
--primary-foreground: oklch(0.227 0.07 138.783);
--secondary: oklch(0.624 0.197 269.366);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.69 0.198 12.092);
--accent-foreground: oklch(0.165 0.064 11.219);
--destructive: oklch(0.492 0.193 28.243);
--destructive-foreground: oklch(0.989 0.004 17.232);
--ring: oklch(0.886 0.232 139.891);
--chart-1: oklch(0.886 0.232 139.891);
--chart-2: oklch(0.624 0.197 269.366);
--chart-3: oklch(0.69 0.198 12.092);
--chart-4: oklch(0.656 0.179 270.288);
--chart-5: oklch(0.891 0.238 139.929);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.016 137.812);
--foreground: oklch(0.986 0.004 139.443);
--muted: oklch(0.243 0.022 273.72);
--muted-foreground: oklch(0.732 0.023 274.629);
--popover: oklch(0.098 0.016 137.812);
--popover-foreground: oklch(0.986 0.004 139.443);
--card: oklch(0.098 0.016 137.812);
--card-foreground: oklch(0.986 0.004 139.443);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.886 0.232 139.891);
--primary-foreground: oklch(0.227 0.07 138.783);
--secondary: oklch(0.624 0.197 269.366);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.69 0.198 12.092);
--accent-foreground: oklch(0.165 0.064 11.219);
--destructive: oklch(0.594 0.232 28.174);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.886 0.232 139.891);
--chart-1: oklch(0.886 0.232 139.891);
--chart-2: oklch(0.624 0.197 269.366);
--chart-3: oklch(0.69 0.198 12.092);
--chart-4: oklch(0.656 0.179 270.288);
--chart-5: oklch(0.891 0.238 139.929);
}