Chairlift for shadcn/ui

Chairlift is a shadcn/ui theme built around a vivid light green primary color (#d1f69d) with vivid light violet accents (#c29df6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#d1f69d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0e1603black
#fdfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#0b1202black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0e1603black
#fdfdfcwhite
Primary
#d1f69dpalegoldenrod
#d1f69dpalegoldenrod
Primary foreground
#375908darkolivegreen
#375908darkolivegreen
Secondary
#c29df6plum
#c29df6plum
Secondary foreground
#2a0859midnightblue
#2a0859midnightblue
Muted
#dbd7e0gainsboro
#231f28black
Muted foreground
#4e4757darkslategray
#afa8b8darkgray
Accent
#c29df6plum
#c29df6plum
Accent foreground
#2a0859midnightblue
#2a0859midnightblue
Destructive
#ad1e0bfirebrick
#dd260efirebrick
Destructive foreground
#feeeecseashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1f69dpalegoldenrod
#d1f69dpalegoldenrod

Contrast

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

Light mode
Text on background18.50:1AAA
Text on card18.65:1AAA
Primary button6.69:1AA
Secondary button7.39:1AAA
Muted text6.26:1AA
Accent7.39:1AAA
Destructive6.30:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button6.69:1AA
Secondary button7.39:1AAA
Muted text6.99:1AA
Accent7.39:1AAA
Destructive4.83:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.188 0.04 127.226);
  --muted: oklch(0.885 0.012 304.854);
  --muted-foreground: oklch(0.411 0.027 304.126);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.188 0.04 127.226);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.17 0.035 126.142);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.926 0.12 127.015);
  --primary-foreground: oklch(0.421 0.11 130.975);
  --secondary: oklch(0.763 0.13 302.607);
  --secondary-foreground: oklch(0.256 0.128 293.833);
  --accent: oklch(0.763 0.13 302.607);
  --accent-foreground: oklch(0.256 0.128 293.833);
  --destructive: oklch(0.482 0.18 30.958);
  --destructive-foreground: oklch(0.961 0.017 26.569);
  --ring: oklch(0.926 0.12 127.015);
  --chart-1: oklch(0.926 0.12 127.015);
  --chart-2: oklch(0.763 0.13 302.607);
  --chart-3: oklch(0.763 0.13 302.607);
  --chart-4: oklch(0.796 0.111 303.082);
  --chart-5: oklch(0.929 0.124 127.082);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.002 125.07);
  --muted: oklch(0.249 0.017 304.112);
  --muted-foreground: oklch(0.742 0.024 304.606);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 125.07);
  --card: oklch(0.092 0 180);
  --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.926 0.12 127.015);
  --primary-foreground: oklch(0.421 0.11 130.975);
  --secondary: oklch(0.763 0.13 302.607);
  --secondary-foreground: oklch(0.256 0.128 293.833);
  --accent: oklch(0.763 0.13 302.607);
  --accent-foreground: oklch(0.256 0.128 293.833);
  --destructive: oklch(0.577 0.218 30.895);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.12 127.015);
  --chart-1: oklch(0.926 0.12 127.015);
  --chart-2: oklch(0.763 0.13 302.607);
  --chart-3: oklch(0.763 0.13 302.607);
  --chart-4: oklch(0.796 0.111 303.082);
  --chart-5: oklch(0.929 0.124 127.082);
}