Exciting is a shadcn/ui theme built around a green primary color (#5fc48b) with neutral gray accents (#dedede). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#5fc48b) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #010402black |
| Foreground | #010905black | #fcfdfcwhite |
| Card | #fbfefcwhite | #010402black |
| Card foreground | #010905black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #010402black |
| Popover foreground | #010905black | #fcfdfcwhite |
| Primary | #5fc48bmediumaquamarine | #5fc48bmediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #dededegainsboro | #202221black |
| Secondary foreground | #444645darkslategray | #b8bcbasilver |
| Muted | #d6ebdfgainsboro | #14291dblack |
| Muted foreground | #4e6558dimgray | #9ab1a4darkgray |
| Accent | #dededegainsboro | #202221black |
| Accent foreground | #444645darkslategray | #b8bcbasilver |
| Destructive | #832202maroon | #f64004orangered |
| Destructive foreground | #fecab9peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5fc48bmediumaquamarine | #5fc48bmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 9.73:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.04:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 9.73:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Exciting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 161.699);
--foreground: oklch(0.126 0.022 161.784);
--muted: oklch(0.921 0.027 161.08);
--muted-foreground: oklch(0.483 0.035 159.928);
--popover: oklch(0.994 0.004 161.699);
--popover-foreground: oklch(0.126 0.022 161.784);
--card: oklch(0.994 0.004 161.699);
--card-foreground: oklch(0.126 0.022 161.784);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.744 0.127 156.538);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.901 0.001 161.784);
--secondary-foreground: oklch(0.391 0.002 161.669);
--accent: oklch(0.901 0.001 161.784);
--accent-foreground: oklch(0.391 0.002 161.669);
--destructive: oklch(0.406 0.136 36.211);
--destructive-foreground: oklch(0.88 0.064 39.242);
--ring: oklch(0.744 0.127 156.538);
--chart-1: oklch(0.744 0.127 156.538);
--chart-2: oklch(0.901 0.001 161.784);
--chart-3: oklch(0.901 0.001 161.784);
--chart-4: oklch(0.924 0.001 161.79);
--chart-5: oklch(0.751 0.134 156.204);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.013 161.789);
--foreground: oklch(0.993 0.001 161.792);
--muted: oklch(0.259 0.035 157.908);
--muted-foreground: oklch(0.74 0.032 160.73);
--popover: oklch(0.098 0.013 161.789);
--popover-foreground: oklch(0.993 0.001 161.792);
--card: oklch(0.098 0.013 161.789);
--card-foreground: oklch(0.993 0.001 161.792);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.744 0.127 156.538);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.25 0.004 161.456);
--secondary-foreground: oklch(0.792 0.006 161.636);
--accent: oklch(0.25 0.004 161.456);
--accent-foreground: oklch(0.792 0.006 161.636);
--destructive: oklch(0.641 0.224 34.823);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.744 0.127 156.538);
--chart-1: oklch(0.744 0.127 156.538);
--chart-2: oklch(0.25 0.004 161.456);
--chart-3: oklch(0.25 0.004 161.456);
--chart-4: oklch(0.282 0.004 161.436);
--chart-5: oklch(0.751 0.134 156.204);
}