Giant Star and Crescent Red is a shadcn/ui theme built around a red primary color (#c22424) with muted light red accents (#d4bfbf). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the red primary (#c22424) on a red-tinted background (#0e0606).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #0e0606black |
| Foreground | #0c0303black | #fdfcfcsnow |
| Card | #fcf3f3lavenderblush | #110808black |
| Card foreground | #080202black | #ffffffwhite |
| Popover | #fdf7f7snow | #0e0606black |
| Popover foreground | #0c0303black | #fdfcfcsnow |
| Primary | #c22424firebrick | #c22424firebrick |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e2dadagainsboro | #191515black |
| Secondary foreground | #4e3c3cdarkslategray | #b8a8a8darkgray |
| Muted | #e8dedegainsboro | #211717black |
| Muted foreground | #6a4e4edimgray | #b19595rosybrown |
| Accent | #d4bfbfsilver | #362626darkslategray |
| Accent foreground | #3a2727darkslategray | #d1bdbdsilver |
| Destructive | #b53b03firebrick | #fc7536tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c22424firebrick | #c22424firebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 5.89:1 | AA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 5.65:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 5.84:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 5.89:1 | AA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 7.72:1 | AAA |
Paste this into your globals.css to use Giant Star and Crescent Red in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 17.267);
--foreground: oklch(0.117 0.024 21.377);
--muted: oklch(0.908 0.012 17.372);
--muted-foreground: oklch(0.453 0.037 18.629);
--popover: oklch(0.98 0.006 17.267);
--popover-foreground: oklch(0.117 0.024 21.377);
--card: oklch(0.971 0.01 17.324);
--card-foreground: oklch(0.102 0.021 21.329);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.528 0.193 27.032);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.894 0.009 17.334);
--secondary-foreground: oklch(0.375 0.025 18.341);
--accent: oklch(0.822 0.024 17.658);
--accent-foreground: oklch(0.295 0.029 18.973);
--destructive: oklch(0.524 0.167 38.975);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.528 0.193 27.032);
--chart-1: oklch(0.528 0.193 27.032);
--chart-2: oklch(0.894 0.009 17.334);
--chart-3: oklch(0.822 0.024 17.658);
--chart-4: oklch(0.919 0.007 17.288);
--chart-5: oklch(0.531 0.199 27.395);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.015 19.144);
--foreground: oklch(0.992 0.001 17.169);
--muted: oklch(0.217 0.017 18.583);
--muted-foreground: oklch(0.696 0.033 17.973);
--popover: oklch(0.137 0.015 19.144);
--popover-foreground: oklch(0.992 0.001 17.169);
--card: oklch(0.149 0.017 19.32);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.528 0.193 27.032);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.2 0.007 17.794);
--secondary-foreground: oklch(0.745 0.018 17.572);
--accent: oklch(0.287 0.025 18.733);
--accent-foreground: oklch(0.815 0.023 17.634);
--destructive: oklch(0.713 0.181 43.003);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.528 0.193 27.032);
--chart-1: oklch(0.528 0.193 27.032);
--chart-2: oklch(0.2 0.007 17.794);
--chart-3: oklch(0.287 0.025 18.733);
--chart-4: oklch(0.232 0.01 17.868);
--chart-5: oklch(0.531 0.199 27.395);
}