Infatuated is a shadcn/ui theme built around a vivid teal primary color (#0c9784) with vivid red accents (#970c1f). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#0c9784) on a teal-tinted background (#050b0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #050b0ablack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #fbfefewhite | #050b0ablack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fbfefewhite | #050b0ablack |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #0c9784darkcyan | #0c9784darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #970c1fbrown | #970c1fbrown |
| Secondary foreground | #fcd9demistyrose | #fcd9demistyrose |
| Muted | #f2eeeewhitesmoke | #110d0eblack |
| Muted foreground | #5e5556dimgray | #aaa1a2darkgray |
| Accent | #970c1fbrown | #970c1fbrown |
| Accent foreground | #fcd9demistyrose | #fcd9demistyrose |
| Destructive | #8a150adarkred | #f04c3dtomato |
| Destructive foreground | #fbcfcbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c9784darkcyan | #0c9784darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.72:1 | AAA |
| Text on card | 20.72:1 | AAA |
| Primary button | 3.63:1 | AA Large |
| Secondary button | 6.74:1 | AA |
| Muted text | 6.25:1 | AA |
| Accent | 6.74:1 | AA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 3.63:1 | AA Large |
| Secondary button | 6.74:1 | AA |
| Muted text | 7.64:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Infatuated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 187.654);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.004 7.86);
--muted-foreground: oklch(0.458 0.012 8.378);
--popover: oklch(0.995 0.004 187.654);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.995 0.004 187.654);
--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.607 0.108 179.859);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.432 0.167 23.182);
--secondary-foreground: oklch(0.916 0.039 8.783);
--accent: oklch(0.432 0.167 23.182);
--accent-foreground: oklch(0.916 0.039 8.783);
--destructive: oklch(0.408 0.152 30.049);
--destructive-foreground: oklch(0.891 0.05 24.223);
--ring: oklch(0.607 0.108 179.859);
--chart-1: oklch(0.607 0.108 179.859);
--chart-2: oklch(0.432 0.167 23.182);
--chart-3: oklch(0.432 0.167 23.182);
--chart-4: oklch(0.461 0.179 23.384);
--chart-5: oklch(0.614 0.11 179.625);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 187.209);
--foreground: oklch(0.993 0.001 187.727);
--muted: oklch(0.166 0.007 8.753);
--muted-foreground: oklch(0.718 0.01 8.106);
--popover: oklch(0.14 0.012 187.209);
--popover-foreground: oklch(0.993 0.001 187.727);
--card: oklch(0.14 0.012 187.209);
--card-foreground: oklch(0.993 0.001 187.727);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.607 0.108 179.859);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.432 0.167 23.182);
--secondary-foreground: oklch(0.916 0.039 8.783);
--accent: oklch(0.432 0.167 23.182);
--accent-foreground: oklch(0.916 0.039 8.783);
--destructive: oklch(0.646 0.204 29.081);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.607 0.108 179.859);
--chart-1: oklch(0.607 0.108 179.859);
--chart-2: oklch(0.432 0.167 23.182);
--chart-3: oklch(0.432 0.167 23.182);
--chart-4: oklch(0.461 0.179 23.384);
--chart-5: oklch(0.614 0.11 179.625);
}