Coordinated is a shadcn/ui theme built around a muted red primary color (#a97466) with muted indigo accents (#7466a9). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the muted red primary (#a97466) on a red-tinted background (#0b0604).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #0b0604black |
| Foreground | #090301black | #f9f6f5whitesmoke |
| Card | #fcf9f8snow | #0b0604black |
| Card foreground | #090301black | #f9f6f5whitesmoke |
| Popover | #fcf9f8snow | #0b0604black |
| Popover foreground | #090301black | #f9f6f5whitesmoke |
| Primary | #a97466indianred | #a97466indianred |
| Primary foreground | #000000black | #000000black |
| Secondary | #66a974mediumseagreen | #66a974mediumseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #d1ebd6gainsboro | #142e1ablack |
| Muted foreground | #506855dimgray | #97af9cdarkseagreen |
| Accent | #7466a9slategray | #7466a9slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #863709saddlebrown | #f17127chocolate |
| Destructive foreground | #fbd9c5bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a97466indianred | #a97466indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 4.79:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 6.18:1 | AA |
| Text on background | 18.76:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 7.15:1 | AAA |
Paste this into your globals.css to use Coordinated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 35.998);
--foreground: oklch(0.109 0.02 47.642);
--muted: oklch(0.915 0.04 151.921);
--muted-foreground: oklch(0.491 0.041 151.219);
--popover: oklch(0.983 0.004 35.998);
--popover-foreground: oklch(0.109 0.02 47.642);
--card: oklch(0.983 0.004 35.998);
--card-foreground: oklch(0.109 0.02 47.642);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.61 0.07 36.105);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.675 0.104 149.846);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.551 0.103 292.647);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.439 0.121 44.507);
--destructive-foreground: oklch(0.909 0.046 51.926);
--ring: oklch(0.61 0.07 36.105);
--chart-1: oklch(0.61 0.07 36.105);
--chart-2: oklch(0.675 0.104 149.846);
--chart-3: oklch(0.551 0.103 292.647);
--chart-4: oklch(0.695 0.097 150.144);
--chart-5: oklch(0.609 0.078 36.151);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.013 41.444);
--foreground: oklch(0.976 0.003 36);
--muted: oklch(0.275 0.05 149.183);
--muted-foreground: oklch(0.731 0.038 151.783);
--popover: oklch(0.128 0.013 41.444);
--popover-foreground: oklch(0.976 0.003 36);
--card: oklch(0.128 0.013 41.444);
--card-foreground: oklch(0.976 0.003 36);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.61 0.07 36.105);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.675 0.104 149.846);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.551 0.103 292.647);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.692 0.177 46.113);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.61 0.07 36.105);
--chart-1: oklch(0.61 0.07 36.105);
--chart-2: oklch(0.675 0.104 149.846);
--chart-3: oklch(0.551 0.103 292.647);
--chart-4: oklch(0.695 0.097 150.144);
--chart-5: oklch(0.609 0.078 36.151);
}