Unfinished is a shadcn/ui theme built around a muted green primary color (#5d7755) with muted red accents (#77555d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#5d7755) on a green-tinted background (#080e06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080e06black |
| Foreground | #020401black | #f6faf4whitesmoke |
| Card | #fcfcfcsnow | #0a1208black |
| Card foreground | #000000black | #f9fcf8mintcream |
| Popover | #ffffffwhite | #080e06black |
| Popover foreground | #020401black | #f6faf4whitesmoke |
| Primary | #5d7755dimgray | #5d7755dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #555d77dimgray | #555d77dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ccd2e6lightgrey | #191f33darkslategray |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #77555ddimgray | #77555ddimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b2420afirebrick | #f26721chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d7755dimgray | #5d7755dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.94:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.59:1 | AA |
| Accent | 6.49:1 | AA |
| Destructive | 5.68:1 | AA |
| Text on background | 18.47:1 | AAA |
| Text on card | 18.43:1 | AAA |
| Primary button | 4.94:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 7.76:1 | AAA |
| Accent | 6.49:1 | AA |
| Destructive | 6.73:1 | AA |
Paste this into your globals.css to use Unfinished in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.02 136.303);
--muted: oklch(0.865 0.028 272.292);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.02 136.303);
--card: oklch(0.992 0 161.565);
--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.54 0.061 138.486);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.481 0.044 271.494);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.047 3.586);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.529 0.157 41.194);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.54 0.061 138.486);
--chart-1: oklch(0.54 0.061 138.486);
--chart-2: oklch(0.481 0.044 271.494);
--chart-3: oklch(0.488 0.047 3.586);
--chart-4: oklch(0.506 0.047 271.481);
--chart-5: oklch(0.545 0.071 138.525);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.021 137.534);
--foreground: oklch(0.981 0.009 138.34);
--muted: oklch(0.245 0.039 270.411);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.155 0.021 137.534);
--popover-foreground: oklch(0.981 0.009 138.34);
--card: oklch(0.17 0.024 138.166);
--card-foreground: oklch(0.987 0.006 138.337);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.54 0.061 138.486);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.481 0.044 271.494);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.047 3.586);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.678 0.187 42.81);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.54 0.061 138.486);
--chart-1: oklch(0.54 0.061 138.486);
--chart-2: oklch(0.481 0.044 271.494);
--chart-3: oklch(0.488 0.047 3.586);
--chart-4: oklch(0.506 0.047 271.481);
--chart-5: oklch(0.545 0.071 138.525);
}