Finish for shadcn/ui

Finish is a shadcn/ui theme built around a vivid green primary color (#c9ff33) with vivid green accents (#63ff33). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the vivid green primary (#c9ff33) on a neutral background (#060703).

Color palette

TokenLightDark
Background
#fbfdf7snow
#060703black
Foreground
#060802black
#ffffffwhite
Card
#f9fcf3floralwhite
#090a05black
Card foreground
#030401black
#ffffffwhite
Popover
#f9fcf3floralwhite
#090a05black
Popover foreground
#030401black
#ffffffwhite
Primary
#c9ff33greenyellow
#c9ff33greenyellow
Primary foreground
#000000black
#000000black
Secondary
#ffcf33gold
#ffcf33gold
Secondary foreground
#000000black
#000000black
Muted
#f3f1edwhitesmoke
#12110cblack
Muted foreground
#4a4740darkslategray
#bfbdb5silver
Accent
#63ff33lawngreen
#63ff33lawngreen
Accent foreground
#000000black
#000000black
Destructive
#79110bmaroon
#d21d14firebrick
Destructive foreground
#f9c1belightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c9ff33greenyellow
#c9ff33greenyellow

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.79:1AAA
Primary button17.82:1AAA
Secondary button14.26:1AAA
Muted text8.21:1AAA
Accent15.87:1AAA
Destructive7.04:1AAA
Dark mode
Text on background20.21:1AAA
Text on card19.84:1AAA
Primary button17.82:1AAA
Secondary button14.26:1AAA
Muted text10.04:1AAA
Accent15.87:1AAA
Destructive5.34:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.008 118.704);
  --foreground: oklch(0.128 0.017 118.645);
  --muted: oklch(0.959 0.006 92.719);
  --muted-foreground: oklch(0.399 0.012 92.933);
  --popover: oklch(0.986 0.012 118.774);
  --popover-foreground: oklch(0.102 0.014 118.645);
  --card: oklch(0.986 0.012 118.774);
  --card-foreground: oklch(0.102 0.014 118.645);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.219 124.404);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.873 0.166 90.409);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.882 0.265 139.9);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.372 0.139 29.022);
  --destructive-foreground: oklch(0.859 0.065 21.983);
  --ring: oklch(0.93 0.219 124.404);
  --chart-1: oklch(0.93 0.219 124.404);
  --chart-2: oklch(0.873 0.166 90.409);
  --chart-3: oklch(0.882 0.265 139.9);
  --chart-4: oklch(0.881 0.16 91.203);
  --chart-5: oklch(0.937 0.223 124.556);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.011 118.621);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.177 0.009 93.065);
  --muted-foreground: oklch(0.797 0.011 92.784);
  --popover: oklch(0.142 0.013 118.621);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.013 118.621);
  --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.93 0.219 124.404);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.873 0.166 90.409);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.882 0.265 139.9);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.552 0.213 29.303);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.219 124.404);
  --chart-1: oklch(0.93 0.219 124.404);
  --chart-2: oklch(0.873 0.166 90.409);
  --chart-3: oklch(0.882 0.265 139.9);
  --chart-4: oklch(0.881 0.16 91.203);
  --chart-5: oklch(0.937 0.223 124.556);
}