Interest is a shadcn/ui theme built around a vivid light pink primary color (#fecddf) with vivid light red accents (#fed4cd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fecddf) on a pink-tinted background (#0f0509).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0509black |
| Foreground | #16030ablack | #fdfcfcsnow |
| Card | #ffffffwhite | #0f0509black |
| Card foreground | #16030ablack | #fdfcfcsnow |
| Popover | #ffffffwhite | #0f0509black |
| Popover foreground | #16030ablack | #fdfcfcsnow |
| Primary | #fecddfmistyrose | #fecddfmistyrose |
| Primary foreground | #960339brown | #960339brown |
| Secondary | #fecdf7mistyrose | #fecdf7mistyrose |
| Secondary foreground | #32012bblack | #32012bblack |
| Muted | #e4d2e2gainsboro | #2d1b2adarkslategray |
| Muted foreground | #564e55dimgray | #b1a9b0darkgray |
| Accent | #fed4cdbisque | #fed4cdbisque |
| Accent foreground | #961703darkred | #961703darkred |
| Destructive | #c20b05firebrick | #fa352ecrimson |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fecddfmistyrose | #fecddfmistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 13.02:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 6.38:1 | AA |
| Destructive | 6.07:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 13.02:1 | AAA |
| Muted text | 7.06:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Interest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.144 0.041 356.594);
--muted: oklch(0.884 0.029 330.074);
--muted-foreground: oklch(0.433 0.016 330.119);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.144 0.041 356.594);
--card: oklch(1 0 180);
--card-foreground: oklch(0.144 0.041 356.594);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.06 354.407);
--primary-foreground: oklch(0.431 0.171 10.648);
--secondary: oklch(0.903 0.078 330.695);
--secondary-foreground: oklch(0.219 0.095 334.569);
--accent: oklch(0.903 0.049 28.305);
--accent-foreground: oklch(0.433 0.164 31.481);
--destructive: oklch(0.514 0.207 29.367);
--destructive-foreground: oklch(0.989 0.005 19.676);
--ring: oklch(0.896 0.06 354.407);
--chart-1: oklch(0.896 0.06 354.407);
--chart-2: oklch(0.903 0.078 330.695);
--chart-3: oklch(0.903 0.049 28.305);
--chart-4: oklch(0.932 0.054 330.375);
--chart-5: oklch(0.895 0.062 354.465);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.021 353.864);
--foreground: oklch(0.991 0.002 352.639);
--muted: oklch(0.251 0.039 331.446);
--muted-foreground: oklch(0.745 0.014 329.906);
--popover: oklch(0.136 0.021 353.864);
--popover-foreground: oklch(0.991 0.002 352.639);
--card: oklch(0.136 0.021 353.864);
--card-foreground: oklch(0.991 0.002 352.639);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.896 0.06 354.407);
--primary-foreground: oklch(0.431 0.171 10.648);
--secondary: oklch(0.903 0.078 330.695);
--secondary-foreground: oklch(0.219 0.095 334.569);
--accent: oklch(0.903 0.049 28.305);
--accent-foreground: oklch(0.433 0.164 31.481);
--destructive: oklch(0.64 0.232 28.096);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.06 354.407);
--chart-1: oklch(0.896 0.06 354.407);
--chart-2: oklch(0.903 0.078 330.695);
--chart-3: oklch(0.903 0.049 28.305);
--chart-4: oklch(0.932 0.054 330.375);
--chart-5: oklch(0.895 0.062 354.465);
}