Well-informed is a shadcn/ui theme built around a vivid green primary color (#86f655) with vivid green accents (#55f676). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid green primary (#86f655) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f9fdf7mintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfefbwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #86f655greenyellow | #86f655greenyellow |
| Primary foreground | #081801black | #081801black |
| Secondary | #d6f655greenyellow | #d6f655greenyellow |
| Secondary foreground | #141801black | #141801black |
| Muted | #e3e5dcgainsboro | #21231ablack |
| Muted foreground | #51524cdarkslategray | #b2b3addarkgray |
| Accent | #55f676lightgreen | #55f676lightgreen |
| Accent foreground | #011806black | #011806black |
| Destructive | #c63410firebrick | #e23c12orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #86f655greenyellow | #86f655greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 13.43:1 | AAA |
| Secondary button | 14.80:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 13.08:1 | AAA |
| Destructive | 5.36:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 13.43:1 | AAA |
| Secondary button | 14.80:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 13.08:1 | AAA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Well-informed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 136.039);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.012 115.827);
--muted-foreground: oklch(0.436 0.01 116.011);
--popover: oklch(0.995 0.005 136.039);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.01 136.057);
--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.875 0.222 137.746);
--primary-foreground: oklch(0.189 0.051 135.506);
--secondary: oklch(0.921 0.185 119.902);
--secondary-foreground: oklch(0.198 0.044 119.002);
--accent: oklch(0.862 0.217 146.959);
--accent-foreground: oklch(0.185 0.049 148.787);
--destructive: oklch(0.547 0.188 34.019);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.875 0.222 137.746);
--chart-1: oklch(0.875 0.222 137.746);
--chart-2: oklch(0.921 0.185 119.902);
--chart-3: oklch(0.862 0.217 146.959);
--chart-4: oklch(0.926 0.174 119.47);
--chart-5: oklch(0.881 0.227 137.824);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.252 0.017 116.812);
--muted-foreground: oklch(0.764 0.009 115.794);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.875 0.222 137.746);
--primary-foreground: oklch(0.189 0.051 135.506);
--secondary: oklch(0.921 0.185 119.902);
--secondary-foreground: oklch(0.198 0.044 119.002);
--accent: oklch(0.862 0.217 146.959);
--accent-foreground: oklch(0.185 0.049 148.787);
--destructive: oklch(0.604 0.209 33.919);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.875 0.222 137.746);
--chart-1: oklch(0.875 0.222 137.746);
--chart-2: oklch(0.921 0.185 119.902);
--chart-3: oklch(0.862 0.217 146.959);
--chart-4: oklch(0.926 0.174 119.47);
--chart-5: oklch(0.881 0.227 137.824);
}