Excitement is a shadcn/ui theme built around a red primary color (#e65c6c) with muted light red accents (#dad2d2). The light mode uses a neutral background (#fefbfc). Dark mode keeps the red primary (#e65c6c) on a neutral background (#080203).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #080203black |
| Foreground | #080203black | #fdfcfcsnow |
| Card | #fcf8f8snow | #0c0304black |
| Card foreground | #040102black | #ffffffwhite |
| Popover | #fefbfcsnow | #080203black |
| Popover foreground | #080203black | #fdfcfcsnow |
| Primary | #e65c6cindianred | #e65c6cindianred |
| Primary foreground | #000000black | #000000black |
| Secondary | #e6e6e6gainsboro | #352729darkslategray |
| Secondary foreground | #4d4d4ddarkslategray | #cfbec0silver |
| Muted | #e0d7d7gainsboro | #281f20black |
| Muted foreground | #514d4ddarkslategray | #b2aeafdarkgray |
| Accent | #dad2d2lightgrey | #523337darkslategray |
| Accent foreground | #433737darkslategray | #e4d3d5gainsboro |
| Destructive | #cd1804firebrick | #fa341eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e65c6cindianred | #e65c6cindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.08:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 5.63:1 | AA |
| Text on background | 20.07:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 6.08:1 | AA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Excitement in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 8.965);
--foreground: oklch(0.105 0.016 9.963);
--muted: oklch(0.886 0.009 17.335);
--muted-foreground: oklch(0.425 0.004 17.321);
--popover: oklch(0.991 0.002 8.965);
--popover-foreground: oklch(0.105 0.016 9.963);
--card: oklch(0.982 0.005 9.021);
--card-foreground: oklch(0.084 0.013 9.963);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.655 0.171 16.175);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.923 0 153.435);
--secondary-foreground: oklch(0.418 0 173.29);
--accent: oklch(0.871 0.009 17.33);
--accent-foreground: oklch(0.35 0.017 18.016);
--destructive: oklch(0.54 0.211 30.395);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.655 0.171 16.175);
--chart-1: oklch(0.655 0.171 16.175);
--chart-2: oklch(0.923 0 153.435);
--chart-3: oklch(0.871 0.009 17.33);
--chart-4: oklch(0.947 0 180);
--chart-5: oklch(0.655 0.177 16.556);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.018 10.082);
--foreground: oklch(0.991 0.002 8.953);
--muted: oklch(0.251 0.013 10.162);
--muted-foreground: oklch(0.755 0.004 9.024);
--popover: oklch(0.105 0.018 10.082);
--popover-foreground: oklch(0.991 0.002 8.953);
--card: oklch(0.12 0.02 10.202);
--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.655 0.171 16.175);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.289 0.021 10.617);
--secondary-foreground: oklch(0.818 0.019 9.465);
--accent: oklch(0.359 0.044 11.903);
--accent-foreground: oklch(0.881 0.018 9.402);
--destructive: oklch(0.64 0.234 30.512);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.655 0.171 16.175);
--chart-1: oklch(0.655 0.171 16.175);
--chart-2: oklch(0.289 0.021 10.617);
--chart-3: oklch(0.359 0.044 11.903);
--chart-4: oklch(0.318 0.024 10.682);
--chart-5: oklch(0.655 0.177 16.556);
}