Cheap is a shadcn/ui theme built around a violet primary color (#c39ed6) with teal accents (#9ed6c3). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the violet primary (#c39ed6) on a violet-tinted background (#0b070e).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0b070eblack |
| Foreground | #060109black | #ffffffwhite |
| Card | #faf8fcghostwhite | #0e0811black |
| Card foreground | #030105black | #ffffffwhite |
| Popover | #fdfcfdwhite | #0b070eblack |
| Popover foreground | #060109black | #ffffffwhite |
| Primary | #c39ed6plum | #c39ed6plum |
| Primary foreground | #25142fblack | #25142fblack |
| Secondary | #d6c39etan | #d6c39etan |
| Secondary foreground | #2f2514black | #2f2514black |
| Muted | #e3dccegainsboro | #31291cdarkslategray |
| Muted foreground | #70695cdimgray | #a39c8frosybrown |
| Accent | #9ed6c3lightsteelblue | #9ed6c3lightsteelblue |
| Accent foreground | #142f25darkslategray | #142f25darkslategray |
| Destructive | #912d08saddlebrown | #e3460dorangered |
| Destructive foreground | #fcdbcfbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c39ed6plum | #c39ed6plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.12:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 3.98:1 | AA Large |
| Accent | 8.81:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.00:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 8.81:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Cheap in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 314.204);
--foreground: oklch(0.099 0.033 317.047);
--muted: oklch(0.897 0.02 83.062);
--muted-foreground: oklch(0.524 0.022 83.023);
--popover: oklch(0.991 0.003 314.204);
--popover-foreground: oklch(0.099 0.033 317.047);
--card: oklch(0.982 0.006 314.188);
--card-foreground: oklch(0.078 0.026 317.047);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.751 0.089 313.563);
--primary-foreground: oklch(0.228 0.056 312.711);
--secondary: oklch(0.823 0.054 82.902);
--secondary-foreground: oklch(0.271 0.033 82.091);
--accent: oklch(0.833 0.064 171.074);
--accent-foreground: oklch(0.279 0.038 168.51);
--destructive: oklch(0.444 0.141 37.372);
--destructive-foreground: oklch(0.916 0.041 41.031);
--ring: oklch(0.751 0.089 313.563);
--chart-1: oklch(0.751 0.089 313.563);
--chart-2: oklch(0.823 0.054 82.902);
--chart-3: oklch(0.833 0.064 171.074);
--chart-4: oklch(0.843 0.048 82.958);
--chart-5: oklch(0.749 0.095 313.511);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.018 314.265);
--foreground: oklch(1 0 180);
--muted: oklch(0.287 0.026 82.64);
--muted-foreground: oklch(0.695 0.021 83.054);
--popover: oklch(0.137 0.018 314.265);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.149 0.021 313.573);
--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.751 0.089 313.563);
--primary-foreground: oklch(0.228 0.056 312.711);
--secondary: oklch(0.823 0.054 82.902);
--secondary-foreground: oklch(0.271 0.033 82.091);
--accent: oklch(0.833 0.064 171.074);
--accent-foreground: oklch(0.279 0.038 168.51);
--destructive: oklch(0.614 0.201 36.703);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.089 313.563);
--chart-1: oklch(0.751 0.089 313.563);
--chart-2: oklch(0.823 0.054 82.902);
--chart-3: oklch(0.833 0.064 171.074);
--chart-4: oklch(0.843 0.048 82.958);
--chart-5: oklch(0.749 0.095 313.511);
}