Plaintive is a shadcn/ui theme built around a green primary color (#5dd595) with orange accents (#d5955d). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#5dd595) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010402black |
| Foreground | #03110ablack | #f5faf7whitesmoke |
| Card | #ffffffwhite | #010402black |
| Card foreground | #03110ablack | #f5faf7whitesmoke |
| Popover | #ffffffwhite | #010402black |
| Popover foreground | #03110ablack | #f5faf7whitesmoke |
| Primary | #5dd595mediumaquamarine | #5dd595mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #955dd5mediumpurple | #955dd5mediumpurple |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3dee8gainsboro | #1c1721black |
| Muted foreground | #534861dimgray | #aa9eb7darkgray |
| Accent | #d5955dsandybrown | #d5955dsandybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #932c06saddlebrown | #eb460aorangered |
| Destructive foreground | #fddbcebisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5dd595mediumaquamarine | #5dd595mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 11.43:1 | AAA |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 6.42:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 11.43:1 | AAA |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 6.94:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Plaintive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.027 161.089);
--muted: oklch(0.907 0.014 306.916);
--muted-foreground: oklch(0.422 0.044 305.838);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.162 0.027 161.089);
--card: oklch(1 0 180);
--card-foreground: oklch(0.162 0.027 161.089);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.788 0.143 157.305);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.595 0.18 302.827);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.721 0.106 61.086);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.447 0.145 37.069);
--destructive-foreground: oklch(0.915 0.042 41.024);
--ring: oklch(0.788 0.143 157.305);
--chart-1: oklch(0.788 0.143 157.305);
--chart-2: oklch(0.595 0.18 302.827);
--chart-3: oklch(0.721 0.106 61.086);
--chart-4: oklch(0.624 0.167 303.459);
--chart-5: oklch(0.795 0.149 157.004);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 163.498);
--foreground: oklch(0.98 0.007 163.269);
--muted: oklch(0.215 0.021 305.93);
--muted-foreground: oklch(0.718 0.038 306.459);
--popover: oklch(0.097 0.01 163.498);
--popover-foreground: oklch(0.98 0.007 163.269);
--card: oklch(0.097 0.01 163.498);
--card-foreground: oklch(0.98 0.007 163.269);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.788 0.143 157.305);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.595 0.18 302.827);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.721 0.106 61.086);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.628 0.21 36.264);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.143 157.305);
--chart-1: oklch(0.788 0.143 157.305);
--chart-2: oklch(0.595 0.18 302.827);
--chart-3: oklch(0.721 0.106 61.086);
--chart-4: oklch(0.624 0.167 303.459);
--chart-5: oklch(0.795 0.149 157.004);
}