Cheap is a shadcn/ui theme built around a vivid light orange primary color (#feefe1) with muted light orange accents (#ecebe9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light orange primary (#feefe1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090501black | #faf7f5whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #050201black | #fcfaf8snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #050201black | #fcfaf8snow |
| Primary | #feefe1linen | #feefe1linen |
| Primary foreground | #462302maroon | #462302maroon |
| Secondary | #ecebe9linen | #151414black |
| Secondary foreground | #58514bdarkolivegreen | #aeadaddarkgray |
| Muted | #f5f0eblinen | #140f0ablack |
| Muted foreground | #444240darkslategray | #bfbdbbsilver |
| Accent | #ecebe9linen | #151414black |
| Accent foreground | #58514bdarkolivegreen | #aeadaddarkgray |
| Destructive | #dc0804red | #fb3a37tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #feefe1linen | #feefe1linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.31:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 12.44:1 | AAA |
| Secondary button | 6.52:1 | AA |
| Muted text | 8.80:1 | AAA |
| Accent | 6.52:1 | AA |
| Destructive | 5.15:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 12.44:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 10.15:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Cheap in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.12 0.019 77.378);
--muted: oklch(0.956 0.008 65.863);
--muted-foreground: oklch(0.381 0.004 65.833);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.095 0.015 77.378);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.095 0.015 77.378);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.961 0.025 65.65);
--primary-foreground: oklch(0.296 0.069 58.085);
--secondary: oklch(0.94 0.003 65.931);
--secondary-foreground: oklch(0.441 0.014 65.586);
--accent: oklch(0.94 0.003 65.931);
--accent-foreground: oklch(0.441 0.014 65.586);
--destructive: oklch(0.563 0.229 29.232);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.961 0.025 65.65);
--chart-1: oklch(0.961 0.025 65.65);
--chart-2: oklch(0.94 0.003 65.931);
--chart-3: oklch(0.94 0.003 65.931);
--chart-4: oklch(0.962 0.002 65.945);
--chart-5: oklch(0.961 0.026 65.64);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.005 65.91);
--muted: oklch(0.174 0.013 64.931);
--muted-foreground: oklch(0.798 0.004 65.914);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.003 65.929);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.003 65.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.961 0.025 65.65);
--primary-foreground: oklch(0.296 0.069 58.085);
--secondary: oklch(0.193 0.001 65.935);
--secondary-foreground: oklch(0.749 0.001 65.943);
--accent: oklch(0.193 0.001 65.935);
--accent-foreground: oklch(0.749 0.001 65.943);
--destructive: oklch(0.647 0.228 27.096);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.961 0.025 65.65);
--chart-1: oklch(0.961 0.025 65.65);
--chart-2: oklch(0.193 0.001 65.935);
--chart-3: oklch(0.193 0.001 65.935);
--chart-4: oklch(0.227 0.001 65.931);
--chart-5: oklch(0.961 0.026 65.64);
}