Cheap for shadcn/ui

Cheap is a shadcn/ui theme built around a vivid orange primary color (#fab766) with vivid violet accents (#b766fa). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#fab766) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fefdfbsnow
#030302black
Foreground
#040301black
#fcfaf8snow
Card
#fdfaf7snow
#070503black
Card foreground
#000000black
#fdfdfbsnow
Popover
#fdfaf7snow
#070503black
Popover foreground
#000000black
#fdfdfbsnow
Primary
#fab766sandybrown
#fab766sandybrown
Primary foreground
#2d1901black
#2d1901black
Secondary
#66fab7aquamarine
#66fab7aquamarine
Secondary foreground
#012d19black
#012d19black
Muted
#f0f4f2whitesmoke
#0b0f0dblack
Muted foreground
#495f55darkslategray
#a0b6acdarkgray
Accent
#b766famediumorchid
#b766famediumorchid
Accent foreground
#000000black
#000000black
Destructive
#bf0303firebrick
#e20303red
Destructive foreground
#fff5f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fab766sandybrown
#fab766sandybrown

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.20:1AAA
Primary button9.64:1AAA
Secondary button11.47:1AAA
Muted text6.21:1AA
Accent6.29:1AA
Destructive6.08:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.95:1AAA
Primary button9.64:1AAA
Secondary button11.47:1AAA
Muted text9.00:1AAA
Accent6.29:1AA
Destructive4.93:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 73.201);
  --foreground: oklch(0.096 0.013 82.106);
  --muted: oklch(0.964 0.004 167.688);
  --muted-foreground: oklch(0.465 0.031 165.822);
  --popover: oklch(0.987 0.005 73.182);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.987 0.005 73.182);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.827 0.125 70.072);
  --primary-foreground: oklch(0.235 0.049 69.299);
  --secondary: oklch(0.888 0.159 160.895);
  --secondary-foreground: oklch(0.261 0.059 158.511);
  --accent: oklch(0.667 0.218 306.789);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.506 0.206 29.095);
  --destructive-foreground: oklch(0.978 0.011 17.338);
  --ring: oklch(0.827 0.125 70.072);
  --chart-1: oklch(0.827 0.125 70.072);
  --chart-2: oklch(0.888 0.159 160.895);
  --chart-3: oklch(0.667 0.218 306.789);
  --chart-4: oklch(0.896 0.147 161.785);
  --chart-5: oklch(0.83 0.129 69.888);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.006 77.668);
  --foreground: oklch(0.986 0.004 73.193);
  --muted: oklch(0.162 0.007 166.621);
  --muted-foreground: oklch(0.756 0.028 166.755);
  --popover: oklch(0.118 0.008 77.668);
  --popover-foreground: oklch(0.993 0.002 73.206);
  --card: oklch(0.118 0.008 77.668);
  --card-foreground: oklch(0.993 0.002 73.206);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.827 0.125 70.072);
  --primary-foreground: oklch(0.235 0.049 69.299);
  --secondary: oklch(0.888 0.159 160.895);
  --secondary-foreground: oklch(0.261 0.059 158.511);
  --accent: oklch(0.667 0.218 306.789);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.574 0.234 29.122);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.827 0.125 70.072);
  --chart-1: oklch(0.827 0.125 70.072);
  --chart-2: oklch(0.888 0.159 160.895);
  --chart-3: oklch(0.667 0.218 306.789);
  --chart-4: oklch(0.896 0.147 161.785);
  --chart-5: oklch(0.83 0.129 69.888);
}