Exciting is a shadcn/ui theme built around a muted green primary color (#99b592) with muted light green accents (#dee5dc). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted green primary (#99b592) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #060a05black |
| Foreground | #091306black | #f7f8f7whitesmoke |
| Card | #f5fbf3whitesmoke | #080e07black |
| Card foreground | #070f05black | #fafaf9snow |
| Popover | #f8fdf7mintcream | #060a05black |
| Popover foreground | #091306black | #f7f8f7whitesmoke |
| Primary | #99b592darkseagreen | #99b592darkseagreen |
| Primary foreground | #090c08black | #090c08black |
| Secondary | #dee5dcgainsboro | #252923darkslategray |
| Secondary foreground | #42513ddarkslategray | #bcc4basilver |
| Muted | #e0efdcgainsboro | #142310black |
| Muted foreground | #52664ddarkolivegreen | #9fb299darkgray |
| Accent | #dee5dcgainsboro | #252923darkslategray |
| Accent foreground | #42513ddarkslategray | #bcc4basilver |
| Destructive | #cd210efirebrick | #ef2b15orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99b592darkseagreen | #99b592darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.36:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 8.76:1 | AAA |
| Secondary button | 6.58:1 | AA |
| Muted text | 5.20:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 5.49:1 | AA |
| Text on background | 18.69:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 8.76:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Exciting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 138.894);
--foreground: oklch(0.173 0.031 138.366);
--muted: oklch(0.935 0.029 138.903);
--muted-foreground: oklch(0.486 0.046 138.946);
--popover: oklch(0.988 0.008 138.894);
--popover-foreground: oklch(0.173 0.031 138.366);
--card: oklch(0.982 0.012 138.895);
--card-foreground: oklch(0.158 0.026 137.81);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.742 0.058 138.931);
--primary-foreground: oklch(0.15 0.01 138.513);
--secondary: oklch(0.913 0.014 138.896);
--secondary-foreground: oklch(0.417 0.038 138.943);
--accent: oklch(0.913 0.014 138.896);
--accent-foreground: oklch(0.417 0.038 138.943);
--destructive: oklch(0.545 0.207 30.495);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.058 138.931);
--chart-1: oklch(0.742 0.058 138.931);
--chart-2: oklch(0.913 0.014 138.896);
--chart-3: oklch(0.913 0.014 138.896);
--chart-4: oklch(0.935 0.01 138.895);
--chart-5: oklch(0.746 0.066 138.941);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.016 137.807);
--foreground: oklch(0.978 0.002 138.891);
--muted: oklch(0.236 0.039 139.066);
--muted-foreground: oklch(0.742 0.041 138.916);
--popover: oklch(0.139 0.016 137.807);
--popover-foreground: oklch(0.978 0.002 138.891);
--card: oklch(0.154 0.018 138.161);
--card-foreground: oklch(0.985 0.002 138.891);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.742 0.058 138.931);
--primary-foreground: oklch(0.15 0.01 138.513);
--secondary: oklch(0.275 0.013 138.911);
--secondary-foreground: oklch(0.812 0.017 138.899);
--accent: oklch(0.275 0.013 138.911);
--accent-foreground: oklch(0.812 0.017 138.899);
--destructive: oklch(0.613 0.23 30.512);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.058 138.931);
--chart-1: oklch(0.742 0.058 138.931);
--chart-2: oklch(0.275 0.013 138.911);
--chart-3: oklch(0.275 0.013 138.911);
--chart-4: oklch(0.307 0.015 138.913);
--chart-5: oklch(0.746 0.066 138.941);
}