Acclaimed is a shadcn/ui theme built around a near-black primary color (#090206) with near-black accents (#090202). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the near-black primary (#090206) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fbsnow | #040103black |
| Foreground | #090106black | #fdfcfdwhite |
| Card | #fcf3f8lavenderblush | #080306black |
| Card foreground | #040103black | #ffffffwhite |
| Popover | #fcf3f8lavenderblush | #080306black |
| Popover foreground | #040103black | #ffffffwhite |
| Primary | #090206black | #090206black |
| Primary foreground | #e25aachotpink | #e25aachotpink |
| Secondary | #080209black | #080209black |
| Secondary foreground | #d45ae2orchid | #d45ae2orchid |
| Muted | #e7e3e8gainsboro | #1b171cblack |
| Muted foreground | #686468dimgray | #9b979bdarkgray |
| Accent | #090202black | #090202black |
| Accent foreground | #f1b1b7lightpink | #f1b1b7lightpink |
| Destructive | #9f3e09saddlebrown | #f15d0eorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090206black | #090206black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 4.59:1 | AA |
| Accent | 11.49:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 11.49:1 | AAA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use Acclaimed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 340.429);
--foreground: oklch(0.103 0.029 340.43);
--muted: oklch(0.921 0.008 322.66);
--muted-foreground: oklch(0.508 0.008 322.688);
--popover: oklch(0.972 0.013 340.53);
--popover-foreground: oklch(0.082 0.023 340.43);
--card: oklch(0.972 0.013 340.53);
--card-foreground: oklch(0.082 0.023 340.43);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.104 0.028 340.418);
--primary-foreground: oklch(0.667 0.189 346.417);
--secondary: oklch(0.105 0.031 324.831);
--secondary-foreground: oklch(0.674 0.221 323.573);
--accent: oklch(0.101 0.023 12.143);
--accent-foreground: oklch(0.822 0.075 12.202);
--destructive: oklch(0.491 0.141 42.64);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.104 0.028 340.418);
--chart-1: oklch(0.104 0.028 340.418);
--chart-2: oklch(0.105 0.031 324.831);
--chart-3: oklch(0.101 0.023 12.143);
--chart-4: oklch(0.148 0.047 323.941);
--chart-5: oklch(0.104 0.029 340.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.014 340.355);
--foreground: oklch(0.992 0.001 340.255);
--muted: oklch(0.212 0.011 322.829);
--muted-foreground: oklch(0.681 0.007 322.67);
--popover: oklch(0.108 0.018 340.355);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.108 0.018 340.355);
--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.104 0.028 340.418);
--primary-foreground: oklch(0.667 0.189 346.417);
--secondary: oklch(0.105 0.031 324.831);
--secondary-foreground: oklch(0.674 0.221 323.573);
--accent: oklch(0.101 0.023 12.143);
--accent-foreground: oklch(0.822 0.075 12.202);
--destructive: oklch(0.664 0.197 41.831);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.104 0.028 340.418);
--chart-1: oklch(0.104 0.028 340.418);
--chart-2: oklch(0.105 0.031 324.831);
--chart-3: oklch(0.101 0.023 12.143);
--chart-4: oklch(0.148 0.047 323.941);
--chart-5: oklch(0.104 0.029 340.427);
}