Coordinated is a shadcn/ui theme built around a vivid indigo primary color (#454bf2) with vivid green accents (#4bf245). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the vivid indigo primary (#454bf2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #000000black |
| Foreground | #000000black | #f5f5f9whitesmoke |
| Card | #f7f7fdghostwhite | #000000black |
| Card foreground | #000000black | #f5f5f9whitesmoke |
| Popover | #f7f7fdghostwhite | #000000black |
| Popover foreground | #000000black | #f5f5f9whitesmoke |
| Primary | #454bf2royalblue | #454bf2royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f2454btomato | #f2454btomato |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0d7d7gainsboro | #281f1fblack |
| Muted foreground | #594545darkolivegreen | #baa6a6darkgray |
| Accent | #4bf245limegreen | #4bf245limegreen |
| Accent foreground | #000500black | #000500black |
| Destructive | #992a05saddlebrown | #f9622ftomato |
| Destructive foreground | #feddd2blanchedalmond | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #454bf2royalblue | #454bf2royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 5.93:1 | AA |
| Secondary button | 3.66:1 | AA Large |
| Muted text | 6.28:1 | AA |
| Accent | 13.79:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 5.93:1 | AA |
| Secondary button | 3.66:1 | AA Large |
| Muted text | 6.94:1 | AA |
| Accent | 13.79:1 | AAA |
| Destructive | 6.78:1 | AA |
Paste this into your globals.css to use Coordinated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.007 284.678);
--foreground: oklch(0 0 0);
--muted: oklch(0.886 0.01 15.007);
--muted-foreground: oklch(0.412 0.028 16.136);
--popover: oklch(0.978 0.007 284.678);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.978 0.007 284.678);
--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.524 0.243 272.757);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.644 0.209 23.63);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.844 0.251 142.551);
--accent-foreground: oklch(0.1 0.029 141.946);
--destructive: oklch(0.456 0.153 35.949);
--destructive-foreground: oklch(0.922 0.039 39.307);
--ring: oklch(0.524 0.243 272.757);
--chart-1: oklch(0.524 0.243 272.757);
--chart-2: oklch(0.644 0.209 23.63);
--chart-3: oklch(0.844 0.251 142.551);
--chart-4: oklch(0.662 0.195 22.389);
--chart-5: oklch(0.521 0.25 272.179);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.972 0.005 284.708);
--muted: oklch(0.251 0.014 15.905);
--muted-foreground: oklch(0.742 0.024 15.406);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.972 0.005 284.708);
--card: oklch(0 0 0);
--card-foreground: oklch(0.972 0.005 284.708);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.524 0.243 272.757);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.644 0.209 23.63);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.844 0.251 142.551);
--accent-foreground: oklch(0.1 0.029 141.946);
--destructive: oklch(0.682 0.195 37.882);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.524 0.243 272.757);
--chart-1: oklch(0.524 0.243 272.757);
--chart-2: oklch(0.644 0.209 23.63);
--chart-3: oklch(0.844 0.251 142.551);
--chart-4: oklch(0.662 0.195 22.389);
--chart-5: oklch(0.521 0.25 272.179);
}