Acclaimed is a shadcn/ui theme built around a neutral gray primary color (#a29da4) with neutral gray accents (#a49da4). The light mode uses a neutral background (#faf8fc). Dark mode keeps the neutral gray primary (#a29da4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #000000black |
| Foreground | #000000black | #f8f5fawhitesmoke |
| Card | #faf8fcghostwhite | #000000black |
| Card foreground | #000000black | #f8f5fawhitesmoke |
| Popover | #faf8fcghostwhite | #000000black |
| Popover foreground | #000000black | #f8f5fawhitesmoke |
| Primary | #a29da4darkgray | #a29da4darkgray |
| Primary foreground | #080708black | #080708black |
| Secondary | #9e9da4darkgray | #9e9da4darkgray |
| Secondary foreground | #070708black | #070708black |
| Muted | #e0dfe7gainsboro | #191820black |
| Muted foreground | #4f4c61darkslategray | #a09eb3darkgray |
| Accent | #a49da4darkgray | #a49da4darkgray |
| Accent foreground | #080708black | #080708black |
| Destructive | #9e2b05saddlebrown | #f84b12orangered |
| Destructive foreground | #fee1d7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a29da4darkgray | #a29da4darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.24:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 6.03:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Acclaimed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 312.937);
--foreground: oklch(0 0 0);
--muted: oklch(0.906 0.011 291.542);
--muted-foreground: oklch(0.428 0.034 290.22);
--popover: oklch(0.981 0.007 312.937);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.007 312.937);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.702 0.012 312.868);
--primary-foreground: oklch(0.132 0.002 313.103);
--secondary: oklch(0.699 0.011 291.484);
--secondary-foreground: oklch(0.131 0.002 291.665);
--accent: oklch(0.704 0.013 329.345);
--accent-foreground: oklch(0.132 0.002 329.218);
--destructive: oklch(0.467 0.157 35.881);
--destructive-foreground: oklch(0.931 0.034 39.323);
--ring: oklch(0.702 0.012 312.868);
--chart-1: oklch(0.702 0.012 312.868);
--chart-2: oklch(0.699 0.011 291.484);
--chart-3: oklch(0.704 0.013 329.345);
--chart-4: oklch(0.724 0.01 291.52);
--chart-5: oklch(0.697 0.021 312.78);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.973 0.008 312.932);
--muted: oklch(0.213 0.016 290.276);
--muted-foreground: oklch(0.708 0.03 290.965);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.973 0.008 312.932);
--card: oklch(0 0 0);
--card-foreground: oklch(0.973 0.008 312.932);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.702 0.012 312.868);
--primary-foreground: oklch(0.132 0.002 313.103);
--secondary: oklch(0.699 0.011 291.484);
--secondary-foreground: oklch(0.131 0.002 291.665);
--accent: oklch(0.704 0.013 329.345);
--accent-foreground: oklch(0.132 0.002 329.218);
--destructive: oklch(0.654 0.217 36.007);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.012 312.868);
--chart-1: oklch(0.702 0.012 312.868);
--chart-2: oklch(0.699 0.011 291.484);
--chart-3: oklch(0.704 0.013 329.345);
--chart-4: oklch(0.724 0.01 291.52);
--chart-5: oklch(0.697 0.021 312.78);
}