Acclaimed is a shadcn/ui theme built around a muted deep blue primary color (#30333b) with muted deep yellow accents (#3b3830). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep blue primary (#30333b) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010204black |
| Foreground | #030711black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #030408black |
| Card foreground | #02050dblack | #ffffffwhite |
| Popover | #ffffffwhite | #010204black |
| Popover foreground | #030711black | #fcfcfdwhite |
| Primary | #30333bdarkslategray | #30333bdarkslategray |
| Primary foreground | #c9ccd4lightgrey | #c9ccd4lightgrey |
| Secondary | #3b3830darkslategray | #3b3830darkslategray |
| Secondary foreground | #d4d1c9lightgrey | #d4d1c9lightgrey |
| Muted | #eeeaddbeige | #221e11black |
| Muted foreground | #55534edarkslategray | #b1afaadarkgray |
| Accent | #3b3830darkslategray | #3b3830darkslategray |
| Accent foreground | #d4d1c9lightgrey | #d4d1c9lightgrey |
| Destructive | #ad1b0bfirebrick | #f24d3atomato |
| Destructive foreground | #feeeecseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #30333bdarkslategray | #30333bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.62:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Acclaimed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.128 0.026 263.35);
--muted: oklch(0.936 0.017 91.559);
--muted-foreground: oklch(0.443 0.008 91.561);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.128 0.026 263.35);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.116 0.022 262.127);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.32 0.016 270.868);
--primary-foreground: oklch(0.845 0.011 271.28);
--secondary: oklch(0.343 0.015 91.729);
--secondary-foreground: oklch(0.861 0.011 91.52);
--accent: oklch(0.343 0.015 91.729);
--accent-foreground: oklch(0.861 0.011 91.52);
--destructive: oklch(0.48 0.181 30.504);
--destructive-foreground: oklch(0.96 0.018 25.149);
--ring: oklch(0.32 0.016 270.868);
--chart-1: oklch(0.32 0.016 270.868);
--chart-2: oklch(0.343 0.015 91.729);
--chart-3: oklch(0.343 0.015 91.729);
--chart-4: oklch(0.374 0.017 91.734);
--chart-5: oklch(0.317 0.021 270.685);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.011 265.136);
--foreground: oklch(0.991 0.001 271.397);
--muted: oklch(0.234 0.023 91.782);
--muted-foreground: oklch(0.754 0.007 91.491);
--popover: oklch(0.084 0.011 265.136);
--popover-foreground: oklch(0.991 0.001 271.397);
--card: oklch(0.106 0.013 265.136);
--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.32 0.016 270.868);
--primary-foreground: oklch(0.845 0.011 271.28);
--secondary: oklch(0.343 0.015 91.729);
--secondary-foreground: oklch(0.861 0.011 91.52);
--accent: oklch(0.343 0.015 91.729);
--accent-foreground: oklch(0.861 0.011 91.52);
--destructive: oklch(0.65 0.205 29.909);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.32 0.016 270.868);
--chart-1: oklch(0.32 0.016 270.868);
--chart-2: oklch(0.343 0.015 91.729);
--chart-3: oklch(0.343 0.015 91.729);
--chart-4: oklch(0.374 0.017 91.734);
--chart-5: oklch(0.317 0.021 270.685);
}