Unfinished for shadcn/ui

Unfinished is a shadcn/ui theme built around a light green primary color (#ced9b0) with light green accents (#b9d9b0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ced9b0) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#ffffffwhite
#030401black
Foreground
#0d1004black
#fafbf9snow
Card
#ffffffwhite
#030401black
Card foreground
#0d1004black
#fafbf9snow
Popover
#ffffffwhite
#030401black
Popover foreground
#0d1004black
#fafbf9snow
Primary
#ced9b0silver
#ced9b0silver
Primary foreground
#323b1cdarkslategray
#323b1cdarkslategray
Secondary
#d9cfb0wheat
#d9cfb0wheat
Secondary foreground
#3b331cdarkslategray
#3b331cdarkslategray
Muted
#f4f3f0whitesmoke
#0f0e0bblack
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#b9d9b0silver
#b9d9b0silver
Accent foreground
#233b1cdarkslategray
#233b1cdarkslategray
Destructive
#840e01maroon
#e41801red
Destructive foreground
#ffbfb8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ced9b0silver
#ced9b0silver

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.21:1AAA
Text on card19.21:1AAA
Primary button7.96:1AAA
Secondary button8.06:1AAA
Muted text7.63:1AAA
Accent7.94:1AAA
Destructive6.56:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.96:1AAA
Secondary button8.06:1AAA
Muted text9.21:1AAA
Accent7.94:1AAA
Destructive4.72:1AA

CSS variables

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.165 0.025 120.232);
  --muted: oklch(0.965 0.004 92.701);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.025 120.232);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.165 0.025 120.232);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.866 0.056 119.711);
  --primary-foreground: oklch(0.334 0.05 121.389);
  --secondary: oklch(0.855 0.043 93.061);
  --secondary-foreground: oklch(0.324 0.039 93.058);
  --accent: oklch(0.851 0.065 138.422);
  --accent-foreground: oklch(0.322 0.059 138.692);
  --destructive: oklch(0.392 0.152 30.97);
  --destructive-foreground: oklch(0.861 0.074 25.928);
  --ring: oklch(0.866 0.056 119.711);
  --chart-1: oklch(0.866 0.056 119.711);
  --chart-2: oklch(0.855 0.043 93.061);
  --chart-3: oklch(0.851 0.065 138.422);
  --chart-4: oklch(0.874 0.038 93.016);
  --chart-5: oklch(0.87 0.061 119.802);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.013 118.641);
  --foreground: oklch(0.987 0.003 118.617);
  --muted: oklch(0.163 0.007 92.998);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.101 0.013 118.641);
  --popover-foreground: oklch(0.987 0.003 118.617);
  --card: oklch(0.101 0.013 118.641);
  --card-foreground: oklch(0.987 0.003 118.617);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.866 0.056 119.711);
  --primary-foreground: oklch(0.334 0.05 121.389);
  --secondary: oklch(0.855 0.043 93.061);
  --secondary-foreground: oklch(0.324 0.039 93.058);
  --accent: oklch(0.851 0.065 138.422);
  --accent-foreground: oklch(0.322 0.059 138.692);
  --destructive: oklch(0.584 0.231 30.326);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.866 0.056 119.711);
  --chart-1: oklch(0.866 0.056 119.711);
  --chart-2: oklch(0.855 0.043 93.061);
  --chart-3: oklch(0.851 0.065 138.422);
  --chart-4: oklch(0.874 0.038 93.016);
  --chart-5: oklch(0.87 0.061 119.802);
}