Cheap is a shadcn/ui theme built around a muted teal primary color (#425c59) with muted blue accents (#42525c). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted teal primary (#425c59) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #010403black |
| Foreground | #051513black | #ffffffwhite |
| Card | #f8fcfbmintcream | #030707black |
| Card foreground | #04110fblack | #ffffffwhite |
| Popover | #fcfdfdwhite | #010403black |
| Popover foreground | #051513black | #ffffffwhite |
| Primary | #425c59darkslategray | #425c59darkslategray |
| Primary foreground | #e4eceblavender | #e4eceblavender |
| Secondary | #425c4ddarkslategray | #425c4ddarkslategray |
| Secondary foreground | #e4ece7lavender | #e4ece7lavender |
| Muted | #e3ede7lavender | #121c16black |
| Muted foreground | #616b65dimgray | #949e98darkgray |
| Accent | #42525cdarkslategray | #42525cdarkslategray |
| Accent foreground | #e4e9eclavender | #e4e9eclavender |
| Destructive | #bc4c0bchocolate | #f3742btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #425c59darkslategray | #425c59darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.36:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 4.62:1 | AA |
| Accent | 6.64:1 | AA |
| Destructive | 5.03:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 6.31:1 | AA |
| Accent | 6.64:1 | AA |
| Destructive | 7.33:1 | AAA |
Paste this into your globals.css to use Cheap in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 190.036);
--foreground: oklch(0.179 0.023 187.197);
--muted: oklch(0.937 0.014 159.887);
--muted-foreground: oklch(0.517 0.016 159.523);
--popover: oklch(0.994 0.002 190.036);
--popover-foreground: oklch(0.179 0.023 187.197);
--card: oklch(0.987 0.004 189.994);
--card-foreground: oklch(0.162 0.02 187.785);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.452 0.031 188.465);
--primary-foreground: oklch(0.936 0.008 189.884);
--secondary: oklch(0.448 0.039 158.028);
--secondary-foreground: oklch(0.935 0.01 159.992);
--accent: oklch(0.428 0.025 237.386);
--accent-foreground: oklch(0.931 0.006 236.531);
--destructive: oklch(0.557 0.159 43.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.452 0.031 188.465);
--chart-1: oklch(0.452 0.031 188.465);
--chart-2: oklch(0.448 0.039 158.028);
--chart-3: oklch(0.428 0.025 237.386);
--chart-4: oklch(0.478 0.042 157.999);
--chart-5: oklch(0.458 0.036 188.195);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.009 189.463);
--foreground: oklch(1 0 180);
--muted: oklch(0.215 0.02 157.917);
--muted-foreground: oklch(0.69 0.015 159.74);
--popover: oklch(0.098 0.009 189.463);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.011 189.463);
--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.452 0.031 188.465);
--primary-foreground: oklch(0.936 0.008 189.884);
--secondary: oklch(0.448 0.039 158.028);
--secondary-foreground: oklch(0.935 0.01 159.992);
--accent: oklch(0.428 0.025 237.386);
--accent-foreground: oklch(0.931 0.006 236.531);
--destructive: oklch(0.699 0.175 46.445);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.452 0.031 188.465);
--chart-1: oklch(0.452 0.031 188.465);
--chart-2: oklch(0.448 0.039 158.028);
--chart-3: oklch(0.428 0.025 237.386);
--chart-4: oklch(0.478 0.042 157.999);
--chart-5: oklch(0.458 0.036 188.195);
}