Exalted is a shadcn/ui theme built around a green primary color (#5cd16a) with muted light green accents (#c8daca). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#5cd16a) on a green-tinted background (#050f06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050f06black |
| Foreground | #010501black | #fcfdfcwhite |
| Card | #ffffffwhite | #050f06black |
| Card foreground | #010501black | #fcfdfcwhite |
| Popover | #ffffffwhite | #050f06black |
| Popover foreground | #010501black | #fcfdfcwhite |
| Primary | #5cd16amediumseagreen | #5cd16amediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #dde4degainsboro | #333333darkslategray |
| Secondary foreground | #404f41darkslategray | #cccccclightgrey |
| Muted | #f0f4f1whitesmoke | #0f0b0bblack |
| Muted foreground | #566c59dimgray | #a99393rosybrown |
| Accent | #c8dacalightgrey | #4a3f3fdarkslategray |
| Accent foreground | #2d4330darkslategray | #e1dbdbgainsboro |
| Destructive | #701b05maroon | #f44a1forangered |
| Destructive foreground | #fbbcaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5cd16amediumseagreen | #5cd16amediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 10.78:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 5.13:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 10.78:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Exalted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.023 147.483);
--muted: oklch(0.964 0.006 149.064);
--muted-foreground: oklch(0.507 0.039 148.183);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.023 147.483);
--card: oklch(1 0 180);
--card-foreground: oklch(0.099 0.023 147.483);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.769 0.178 145.808);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.911 0.011 148.994);
--secondary-foreground: oklch(0.41 0.03 148.224);
--accent: oklch(0.87 0.028 148.747);
--accent-foreground: oklch(0.358 0.042 147.637);
--destructive: oklch(0.362 0.123 34.374);
--destructive-foreground: oklch(0.849 0.077 34.479);
--ring: oklch(0.769 0.178 145.808);
--chart-1: oklch(0.769 0.178 145.808);
--chart-2: oklch(0.911 0.011 148.994);
--chart-3: oklch(0.87 0.028 148.747);
--chart-4: oklch(0.934 0.008 149.032);
--chart-5: oklch(0.776 0.186 145.656);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.025 147.735);
--foreground: oklch(0.993 0.003 149.1);
--muted: oklch(0.154 0.006 17.846);
--muted-foreground: oklch(0.684 0.026 17.793);
--popover: oklch(0.155 0.025 147.735);
--popover-foreground: oklch(0.993 0.003 149.1);
--card: oklch(0.155 0.025 147.735);
--card-foreground: oklch(0.993 0.003 149.1);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.769 0.178 145.808);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.321 0 180);
--secondary-foreground: oklch(0.845 0 164.055);
--accent: oklch(0.38 0.015 17.844);
--accent-foreground: oklch(0.896 0.006 17.265);
--destructive: oklch(0.648 0.214 34.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.178 145.808);
--chart-1: oklch(0.769 0.178 145.808);
--chart-2: oklch(0.321 0 180);
--chart-3: oklch(0.38 0.015 17.844);
--chart-4: oklch(0.351 0 167.471);
--chart-5: oklch(0.776 0.186 145.656);
}