Terrific is a shadcn/ui theme built around a pink primary color (#98435e) with blue accents (#435e98). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#98435e) on a pink-tinted background (#0d0709).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0d0709black |
| Foreground | #040102black | #fbf9fasnow |
| Card | #fefbfcsnow | #0d0709black |
| Card foreground | #040102black | #fbf9fasnow |
| Popover | #fefbfcsnow | #0d0709black |
| Popover foreground | #040102black | #fbf9fasnow |
| Primary | #98435esienna | #98435esienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5e9843olivedrab | #5e9843olivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1e9ddgainsboro | #1a2216black |
| Muted foreground | #5a5f58dimgray | #a2a7a0darkgray |
| Accent | #435e98darkslateblue | #435e98darkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #640202maroon | #fb1818red |
| Destructive foreground | #fd9b9blightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #98435esienna | #98435esienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 3.45:1 | AA Large |
| Muted text | 5.25:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 3.45:1 | AA Large |
| Muted text | 6.67:1 | AA |
| Accent | 6.37:1 | AA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Terrific in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 355.704);
--foreground: oklch(0.084 0.014 355.327);
--muted: oklch(0.924 0.018 135.512);
--muted-foreground: oklch(0.48 0.013 135.547);
--popover: oklch(0.991 0.003 355.704);
--popover-foreground: oklch(0.084 0.014 355.327);
--card: oklch(0.991 0.003 355.704);
--card-foreground: oklch(0.084 0.014 355.327);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.502 0.118 2.368);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.133 136.812);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.1 264.226);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.318 0.129 28.943);
--destructive-foreground: oklch(0.789 0.119 20.071);
--ring: oklch(0.502 0.118 2.368);
--chart-1: oklch(0.502 0.118 2.368);
--chart-2: oklch(0.621 0.133 136.812);
--chart-3: oklch(0.488 0.1 264.226);
--chart-4: oklch(0.652 0.141 136.825);
--chart-5: oklch(0.502 0.126 2.965);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 356.423);
--foreground: oklch(0.984 0.002 355.667);
--muted: oklch(0.24 0.025 135.922);
--muted-foreground: oklch(0.722 0.012 135.499);
--popover: oklch(0.14 0.012 356.423);
--popover-foreground: oklch(0.984 0.002 355.667);
--card: oklch(0.14 0.012 356.423);
--card-foreground: oklch(0.984 0.002 355.667);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.502 0.118 2.368);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.133 136.812);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.1 264.226);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.249 28.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.502 0.118 2.368);
--chart-1: oklch(0.502 0.118 2.368);
--chart-2: oklch(0.621 0.133 136.812);
--chart-3: oklch(0.488 0.1 264.226);
--chart-4: oklch(0.652 0.141 136.825);
--chart-5: oklch(0.502 0.126 2.965);
}