Coordinated is a shadcn/ui theme built around a muted violet primary color (#9a83aa) with muted teal accents (#83aa9a). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the muted violet primary (#9a83aa) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #000000black |
| Foreground | #060109black | #ffffffwhite |
| Card | #fdfbfewhite | #000000black |
| Card foreground | #060109black | #ffffffwhite |
| Popover | #fdfbfewhite | #000000black |
| Popover foreground | #060109black | #ffffffwhite |
| Primary | #9a83aalightslategray | #9a83aalightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #aa9a83rosybrown | #aa9a83rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4f0eblinen | #14100bblack |
| Muted foreground | #4a4640darkslategray | #bfbbb5silver |
| Accent | #83aa9adarkseagreen | #83aa9adarkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #9c2b02saddlebrown | #fb4d0eorangered |
| Destructive foreground | #feded2blanchedalmond | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9a83aalightslategray | #9a83aalightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 9.92:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Coordinated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 311.686);
--foreground: oklch(0.097 0.034 314.554);
--muted: oklch(0.958 0.008 76.615);
--muted-foreground: oklch(0.395 0.011 76.501);
--popover: oklch(0.99 0.005 311.686);
--popover-foreground: oklch(0.097 0.034 314.554);
--card: oklch(0.99 0.005 311.686);
--card-foreground: oklch(0.097 0.034 314.554);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.644 0.064 310.925);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.694 0.038 76.257);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.705 0.049 167.503);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.462 0.154 36.552);
--destructive-foreground: oklch(0.923 0.04 41.037);
--ring: oklch(0.644 0.064 310.925);
--chart-1: oklch(0.644 0.064 310.925);
--chart-2: oklch(0.694 0.038 76.257);
--chart-3: oklch(0.705 0.049 167.503);
--chart-4: oklch(0.717 0.035 76.319);
--chart-5: oklch(0.639 0.074 310.789);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.176 0.012 76.129);
--muted-foreground: oklch(0.794 0.009 76.597);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.644 0.064 310.925);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.694 0.038 76.257);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.705 0.049 167.503);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.662 0.219 36.506);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.644 0.064 310.925);
--chart-1: oklch(0.644 0.064 310.925);
--chart-2: oklch(0.694 0.038 76.257);
--chart-3: oklch(0.705 0.049 167.503);
--chart-4: oklch(0.717 0.035 76.319);
--chart-5: oklch(0.639 0.074 310.789);
}