Coordinated is a shadcn/ui theme built around a green primary color (#779f38) with near-white accents (#ebebea). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#779f38) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060703black |
| Foreground | #090d02black | #f8f9f5whitesmoke |
| Card | #fcfcfcsnow | #080a05black |
| Card foreground | #060901black | #fafbf9snow |
| Popover | #fcfcfcsnow | #080a05black |
| Popover foreground | #060901black | #fafbf9snow |
| Primary | #779f38olivedrab | #779f38olivedrab |
| Primary foreground | #060803black | #060803black |
| Secondary | #ebebealinen | #31332edarkslategray |
| Secondary foreground | #52544fdarkslategray | #cacdc6lightgrey |
| Muted | #dee6d1gainsboro | #262e19darkslategray |
| Muted foreground | #454643darkslategray | #babcb9silver |
| Accent | #ebebealinen | #31332edarkslategray |
| Accent foreground | #52544fdarkslategray | #cacdc6lightgrey |
| Destructive | #7e3207saddlebrown | #f2610dorangered |
| Destructive foreground | #fbd3bbpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #779f38olivedrab | #779f38olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.62:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 6.48:1 | AA |
| Secondary button | 6.43:1 | AA |
| Muted text | 7.39:1 | AAA |
| Accent | 6.43:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 6.48:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.49:1 | AA |
Paste this into your globals.css to use Coordinated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.15 0.028 123.436);
--muted: oklch(0.913 0.03 124.129);
--muted-foreground: oklch(0.393 0.005 123.819);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.131 0.024 122.893);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.131 0.024 122.893);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.651 0.138 127.713);
--primary-foreground: oklch(0.126 0.016 123.104);
--secondary: oklch(0.94 0.002 123.666);
--secondary-foreground: oklch(0.443 0.008 123.915);
--accent: oklch(0.94 0.002 123.666);
--accent-foreground: oklch(0.443 0.008 123.915);
--destructive: oklch(0.419 0.116 44.419);
--destructive-foreground: oklch(0.895 0.056 51.787);
--ring: oklch(0.651 0.138 127.713);
--chart-1: oklch(0.651 0.138 127.713);
--chart-2: oklch(0.94 0.002 123.666);
--chart-3: oklch(0.94 0.002 123.666);
--chart-4: oklch(0.963 0.001 123.656);
--chart-5: oklch(0.659 0.145 127.956);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.012 123.244);
--foreground: oklch(0.981 0.005 123.719);
--muted: oklch(0.288 0.038 125.789);
--muted-foreground: oklch(0.792 0.004 123.714);
--popover: oklch(0.141 0.013 123.244);
--popover-foreground: oklch(0.987 0.004 123.692);
--card: oklch(0.141 0.013 123.244);
--card-foreground: oklch(0.987 0.004 123.692);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.651 0.138 127.713);
--primary-foreground: oklch(0.126 0.016 123.104);
--secondary: oklch(0.318 0.011 124.135);
--secondary-foreground: oklch(0.844 0.009 123.801);
--accent: oklch(0.318 0.011 124.135);
--accent-foreground: oklch(0.844 0.009 123.801);
--destructive: oklch(0.67 0.195 42.868);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.651 0.138 127.713);
--chart-1: oklch(0.651 0.138 127.713);
--chart-2: oklch(0.318 0.011 124.135);
--chart-3: oklch(0.318 0.011 124.135);
--chart-4: oklch(0.349 0.012 124.151);
--chart-5: oklch(0.659 0.145 127.956);
}