Cute is a shadcn/ui theme built around an indigo primary color (#4d55e0) with green accents (#55e04d). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the indigo primary (#4d55e0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #000000black |
| Foreground | #020208black | #f5f5fawhitesmoke |
| Card | #f8f8fcghostwhite | #000000black |
| Card foreground | #020208black | #f5f5fawhitesmoke |
| Popover | #f8f8fcghostwhite | #000000black |
| Popover foreground | #020208black | #f5f5fawhitesmoke |
| Primary | #4d55e0royalblue | #4d55e0royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e04d55indianred | #e04d55indianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f5eaeblinen | #150a0ablack |
| Muted foreground | #4f4f4fdarkslategray | #b0b0b0darkgray |
| Accent | #55e04dlimegreen | #55e04dlimegreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #be2c0efirebrick | #d53110firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d55e0royalblue | #4d55e0royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 5.71:1 | AA |
| Secondary button | 3.92:1 | AA Large |
| Muted text | 6.97:1 | AA |
| Accent | 12.11:1 | AAA |
| Destructive | 5.92:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 5.71:1 | AA |
| Secondary button | 3.92:1 | AA Large |
| Muted text | 8.97:1 | AAA |
| Accent | 12.11:1 | AAA |
| Destructive | 4.89:1 | AA |
Paste this into your globals.css to use Cute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.006 283.864);
--foreground: oklch(0.093 0.023 277.181);
--muted: oklch(0.947 0.012 13.851);
--muted-foreground: oklch(0.428 0 180);
--popover: oklch(0.979 0.006 283.864);
--popover-foreground: oklch(0.093 0.023 277.181);
--card: oklch(0.979 0.006 283.864);
--card-foreground: oklch(0.093 0.023 277.181);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.528 0.208 274.441);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.624 0.182 21.323);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.801 0.222 142.437);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.524 0.186 32.634);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.528 0.208 274.441);
--chart-1: oklch(0.528 0.208 274.441);
--chart-2: oklch(0.624 0.182 21.323);
--chart-3: oklch(0.801 0.222 142.437);
--chart-4: oklch(0.645 0.169 20.217);
--chart-5: oklch(0.524 0.216 273.854);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.971 0.007 283.843);
--muted: oklch(0.16 0.019 16.14);
--muted-foreground: oklch(0.757 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.971 0.007 283.843);
--card: oklch(0 0 0);
--card-foreground: oklch(0.971 0.007 283.843);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.528 0.208 274.441);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.624 0.182 21.323);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.801 0.222 142.437);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.572 0.204 32.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.528 0.208 274.441);
--chart-1: oklch(0.528 0.208 274.441);
--chart-2: oklch(0.624 0.182 21.323);
--chart-3: oklch(0.801 0.222 142.437);
--chart-4: oklch(0.645 0.169 20.217);
--chart-5: oklch(0.524 0.216 273.854);
}