Finished for shadcn/ui

Finished is a shadcn/ui theme built around a neutral gray primary color (#cfcfcf) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#cfcfcf) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0d0202black
#fdfcfcsnow
Card
#ffffffwhite
#000000black
Card foreground
#0d0202black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#0d0202black
#fdfcfcsnow
Primary
#cfcfcflightgrey
#cfcfcflightgrey
Primary foreground
#363636darkslategray
#363636darkslategray
Secondary
#cfcfcflightgrey
#cfcfcflightgrey
Secondary foreground
#363636darkslategray
#363636darkslategray
Muted
#e8dedegainsboro
#211717black
Muted foreground
#6d5050dimgray
#af9292rosybrown
Accent
#cfcfcflightgrey
#cfcfcflightgrey
Accent foreground
#363636darkslategray
#363636darkslategray
Destructive
#682208maroon
#ef5e2achocolate
Destructive foreground
#f9bfaalightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cfcfcflightgrey
#cfcfcflightgrey

Contrast

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

Light mode
Text on background20.45:1AAA
Text on card20.45:1AAA
Primary button7.72:1AAA
Secondary button7.72:1AAA
Muted text5.46:1AA
Accent7.72:1AAA
Destructive7.17:1AAA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.72:1AAA
Secondary button7.72:1AAA
Muted text6.12:1AA
Accent7.72:1AAA
Destructive6.30:1AA

CSS variables

Paste this into your globals.css to use Finished in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.115 0.027 22.274);
  --muted: oklch(0.908 0.011 17.36);
  --muted-foreground: oklch(0.462 0.038 18.635);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.115 0.027 22.274);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.115 0.027 22.274);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.853 0 168.69);
  --primary-foreground: oklch(0.331 0 180);
  --secondary: oklch(0.853 0 168.69);
  --secondary-foreground: oklch(0.331 0 180);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.356 0.107 38.266);
  --destructive-foreground: oklch(0.851 0.073 40.886);
  --ring: oklch(0.853 0 168.69);
  --chart-1: oklch(0.853 0 168.69);
  --chart-2: oklch(0.853 0 168.69);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.877 0 180);
  --chart-5: oklch(0.851 0.003 17.22);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 17.174);
  --muted: oklch(0.217 0.016 18.495);
  --muted-foreground: oklch(0.687 0.034 18.012);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 17.174);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 17.174);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.853 0 168.69);
  --primary-foreground: oklch(0.331 0 180);
  --secondary: oklch(0.853 0 168.69);
  --secondary-foreground: oklch(0.331 0 180);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.663 0.19 38.786);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.853 0 168.69);
  --chart-1: oklch(0.853 0 168.69);
  --chart-2: oklch(0.853 0 168.69);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.877 0 180);
  --chart-5: oklch(0.851 0.003 17.22);
}