Cheap for shadcn/ui

Cheap is a shadcn/ui theme built around a muted light green primary color (#f4f6f4) with muted light orange accents (#f6f4f4). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the muted light green primary (#f4f6f4) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#f6fdf8mintcream
#020302black
Foreground
#041007black
#fcfdfcwhite
Card
#f6fdf8mintcream
#020302black
Card foreground
#041007black
#fcfdfcwhite
Popover
#f6fdf8mintcream
#020302black
Popover foreground
#041007black
#fcfdfcwhite
Primary
#f4f6f4whitesmoke
#f4f6f4whitesmoke
Primary foreground
#262c27darkslategray
#262c27darkslategray
Secondary
#f4f4f6whitesmoke
#f4f4f6whitesmoke
Secondary foreground
#585463dimgray
#585463dimgray
Muted
#d9d4e7gainsboro
#1c182bblack
Muted foreground
#403b4edarkslategray
#b5b1c4silver
Accent
#f6f4f4whitesmoke
#f6f4f4whitesmoke
Accent foreground
#635854dimgray
#635854dimgray
Destructive
#650701maroon
#fe1706red
Destructive foreground
#fea09alightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f4f6f4whitesmoke
#f4f6f4whitesmoke

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button13.10:1AAA
Secondary button6.67:1AA
Muted text7.44:1AAA
Accent6.28:1AA
Destructive6.73:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button13.10:1AAA
Secondary button6.67:1AA
Muted text8.29:1AAA
Accent6.28:1AA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.01 153.7);
  --foreground: oklch(0.157 0.026 152.31);
  --muted: oklch(0.88 0.027 297.286);
  --muted-foreground: oklch(0.366 0.033 296.177);
  --popover: oklch(0.989 0.01 153.7);
  --popover-foreground: oklch(0.157 0.026 152.31);
  --card: oklch(0.989 0.01 153.7);
  --card-foreground: oklch(0.157 0.026 152.31);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.97 0.002 153.836);
  --primary-foreground: oklch(0.285 0.013 153.094);
  --secondary: oklch(0.968 0.002 297.784);
  --secondary-foreground: oklch(0.456 0.024 296.884);
  --accent: oklch(0.969 0.001 39.498);
  --accent-foreground: oklch(0.47 0.016 39.337);
  --destructive: oklch(0.324 0.126 30.711);
  --destructive-foreground: oklch(0.8 0.113 24.331);
  --ring: oklch(0.97 0.002 153.836);
  --chart-1: oklch(0.97 0.002 153.836);
  --chart-2: oklch(0.968 0.002 297.784);
  --chart-3: oklch(0.969 0.001 39.498);
  --chart-4: oklch(0.992 0.001 297.815);
  --chart-5: oklch(0.971 0.003 153.821);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.01 153.469);
  --foreground: oklch(0.993 0.003 153.832);
  --muted: oklch(0.223 0.037 294.674);
  --muted-foreground: oklch(0.769 0.028 297.184);
  --popover: oklch(0.095 0.01 153.469);
  --popover-foreground: oklch(0.993 0.003 153.832);
  --card: oklch(0.095 0.01 153.469);
  --card-foreground: oklch(0.993 0.003 153.832);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.97 0.002 153.836);
  --primary-foreground: oklch(0.285 0.013 153.094);
  --secondary: oklch(0.968 0.002 297.784);
  --secondary-foreground: oklch(0.456 0.024 296.884);
  --accent: oklch(0.969 0.001 39.498);
  --accent-foreground: oklch(0.47 0.016 39.337);
  --destructive: oklch(0.631 0.252 29.743);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0.002 153.836);
  --chart-1: oklch(0.97 0.002 153.836);
  --chart-2: oklch(0.968 0.002 297.784);
  --chart-3: oklch(0.969 0.001 39.498);
  --chart-4: oklch(0.992 0.001 297.815);
  --chart-5: oklch(0.971 0.003 153.821);
}