Excited is a shadcn/ui theme built around a light green primary color (#f0f8e7) with light violet accents (#efe7f8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#f0f8e7) on a green-tinted background (#080b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080b04black |
| Foreground | #080d02black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #0a0e06black |
| Card foreground | #050902black | #ffffffwhite |
| Popover | #ffffffwhite | #080b04black |
| Popover foreground | #080d02black | #fcfdfcwhite |
| Primary | #f0f8e7honeydew | #f0f8e7honeydew |
| Primary foreground | #253710darkgreen | #253710darkgreen |
| Secondary | #efe7f8lavender | #efe7f8lavender |
| Secondary foreground | #542786darkslateblue | #542786darkslateblue |
| Muted | #edebeflavender | #121014black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #efe7f8lavender | #efe7f8lavender |
| Accent foreground | #542786darkslateblue | #542786darkslateblue |
| Destructive | #c01e0cfirebrick | #f02a14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0f8e7honeydew | #f0f8e7honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.64:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 11.82:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 11.82:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 8.25:1 | AAA |
| Accent | 8.69:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Excited in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.027 126.339);
--muted: oklch(0.943 0.006 307.033);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.027 126.339);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.129 0.023 125.926);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.969 0.024 127.414);
--primary-foreground: oklch(0.312 0.066 130.529);
--secondary: oklch(0.94 0.024 306.8);
--secondary-foreground: oklch(0.387 0.151 300.87);
--accent: oklch(0.94 0.024 306.8);
--accent-foreground: oklch(0.387 0.151 300.87);
--destructive: oklch(0.518 0.197 30.491);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.969 0.024 127.414);
--chart-1: oklch(0.969 0.024 127.414);
--chart-2: oklch(0.94 0.024 306.8);
--chart-3: oklch(0.94 0.024 306.8);
--chart-4: oklch(0.97 0.012 306.962);
--chart-5: oklch(0.97 0.025 127.43);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.017 126.391);
--foreground: oklch(0.993 0.002 127.132);
--muted: oklch(0.176 0.009 306.47);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.142 0.017 126.391);
--popover-foreground: oklch(0.993 0.002 127.132);
--card: oklch(0.158 0.02 127.579);
--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.969 0.024 127.414);
--primary-foreground: oklch(0.312 0.066 130.529);
--secondary: oklch(0.94 0.024 306.8);
--secondary-foreground: oklch(0.387 0.151 300.87);
--accent: oklch(0.94 0.024 306.8);
--accent-foreground: oklch(0.387 0.151 300.87);
--destructive: oklch(0.615 0.232 30.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.969 0.024 127.414);
--chart-1: oklch(0.969 0.024 127.414);
--chart-2: oklch(0.94 0.024 306.8);
--chart-3: oklch(0.94 0.024 306.8);
--chart-4: oklch(0.97 0.012 306.962);
--chart-5: oklch(0.97 0.025 127.43);
}