Acclaimed is a shadcn/ui theme built around a vivid orange primary color (#ec9513) with vivid violet accents (#9513ec). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid orange primary (#ec9513) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #070503black |
| Foreground | #090601black | #fbfaf9snow |
| Card | #fbfaf8snow | #070503black |
| Card foreground | #090601black | #fbfaf9snow |
| Popover | #fbfaf8snow | #070503black |
| Popover foreground | #090601black | #fbfaf9snow |
| Primary | #ec9513goldenrod | #ec9513goldenrod |
| Primary foreground | #2f1e04black | #2f1e04black |
| Secondary | #13ec95mediumspringgreen | #13ec95mediumspringgreen |
| Secondary foreground | #042f1eblack | #042f1eblack |
| Muted | #ebf5f1whitesmoke | #0a1410black |
| Muted foreground | #3d4d47darkslategray | #b2c2bcsilver |
| Accent | #9513ecblueviolet | #9513ecblueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #620604maroon | #f62623crimson |
| Destructive foreground | #fb9f9dlightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ec9513goldenrod | #ec9513goldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 5.85:1 | AA |
| Destructive | 6.82:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 9.39:1 | AAA |
| Muted text | 10.09:1 | AAA |
| Accent | 5.85:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Acclaimed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 78.304);
--foreground: oklch(0.124 0.019 87.338);
--muted: oklch(0.961 0.012 170.275);
--muted-foreground: oklch(0.404 0.024 168.833);
--popover: oklch(0.986 0.003 78.304);
--popover-foreground: oklch(0.124 0.019 87.338);
--card: oklch(0.986 0.003 78.304);
--card-foreground: oklch(0.124 0.019 87.338);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.742 0.159 68.046);
--primary-foreground: oklch(0.251 0.048 74.14);
--secondary: oklch(0.831 0.193 157.733);
--secondary-foreground: oklch(0.272 0.056 161.407);
--accent: oklch(0.543 0.275 304.185);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.316 0.123 28.843);
--destructive-foreground: oklch(0.794 0.111 20.889);
--ring: oklch(0.742 0.159 68.046);
--chart-1: oklch(0.742 0.159 68.046);
--chart-2: oklch(0.831 0.193 157.733);
--chart-3: oklch(0.543 0.275 304.185);
--chart-4: oklch(0.836 0.187 158.943);
--chart-5: oklch(0.748 0.162 67.343);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.009 83.192);
--foreground: oklch(0.985 0.001 78.308);
--muted: oklch(0.181 0.017 167.631);
--muted-foreground: oklch(0.801 0.02 169.88);
--popover: oklch(0.12 0.009 83.192);
--popover-foreground: oklch(0.985 0.001 78.308);
--card: oklch(0.12 0.009 83.192);
--card-foreground: oklch(0.985 0.001 78.308);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.742 0.159 68.046);
--primary-foreground: oklch(0.251 0.048 74.14);
--secondary: oklch(0.831 0.193 157.733);
--secondary-foreground: oklch(0.272 0.056 161.407);
--accent: oklch(0.543 0.275 304.185);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.624 0.238 28.238);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.159 68.046);
--chart-1: oklch(0.742 0.159 68.046);
--chart-2: oklch(0.831 0.193 157.733);
--chart-3: oklch(0.543 0.275 304.185);
--chart-4: oklch(0.836 0.187 158.943);
--chart-5: oklch(0.748 0.162 67.343);
}