Cheap is a shadcn/ui theme built around a neutral gray primary color (#343b3c) with neutral gray accents (#34373c). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#343b3c) on a cyan-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a0ablack |
| Foreground | #020c0dblack | #fcfdfdwhite |
| Card | #ffffffwhite | #050a0ablack |
| Card foreground | #020c0dblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #050a0ablack |
| Popover foreground | #020c0dblack | #fcfdfdwhite |
| Primary | #343b3cdarkslategray | #343b3cdarkslategray |
| Primary foreground | #ced4d4lightgrey | #ced4d4lightgrey |
| Secondary | #343c39darkslategray | #343c39darkslategray |
| Secondary foreground | #ced4d2lightgrey | #ced4d2lightgrey |
| Muted | #dae2dfgainsboro | #1d2522black |
| Muted foreground | #606261dimgray | #9d9f9edarkgray |
| Accent | #34373cdarkslategray | #34373cdarkslategray |
| Accent foreground | #ced1d4lightgrey | #ced1d4lightgrey |
| Destructive | #a21d11firebrick | #e83221crimson |
| Destructive foreground | #fdeae8linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #343b3cdarkslategray | #343b3cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 4.65:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.28: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.144 0.018 201.376);
--muted: oklch(0.905 0.01 169.367);
--muted-foreground: oklch(0.494 0.003 169.513);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.144 0.018 201.376);
--card: oklch(1 0 180);
--card-foreground: oklch(0.144 0.018 201.376);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.347 0.01 203.346);
--primary-foreground: oklch(0.865 0.006 203.513);
--secondary: oklch(0.348 0.012 168.664);
--secondary-foreground: oklch(0.865 0.008 169.411);
--accent: oklch(0.337 0.009 256.743);
--accent-foreground: oklch(0.858 0.006 256.68);
--destructive: oklch(0.461 0.169 29.996);
--destructive-foreground: oklch(0.951 0.021 23.805);
--ring: oklch(0.347 0.01 203.346);
--chart-1: oklch(0.347 0.01 203.346);
--chart-2: oklch(0.348 0.012 168.664);
--chart-3: oklch(0.337 0.009 256.743);
--chart-4: oklch(0.378 0.013 168.639);
--chart-5: oklch(0.35 0.014 203.272);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.009 202.01);
--foreground: oklch(0.993 0.001 203.572);
--muted: oklch(0.256 0.013 168.156);
--muted-foreground: oklch(0.701 0.003 169.569);
--popover: oklch(0.138 0.009 202.01);
--popover-foreground: oklch(0.993 0.001 203.572);
--card: oklch(0.138 0.009 202.01);
--card-foreground: oklch(0.993 0.001 203.572);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.347 0.01 203.346);
--primary-foreground: oklch(0.865 0.006 203.513);
--secondary: oklch(0.348 0.012 168.664);
--secondary-foreground: oklch(0.865 0.008 169.411);
--accent: oklch(0.337 0.009 256.743);
--accent-foreground: oklch(0.858 0.006 256.68);
--destructive: oklch(0.606 0.219 29.918);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.347 0.01 203.346);
--chart-1: oklch(0.347 0.01 203.346);
--chart-2: oklch(0.348 0.012 168.664);
--chart-3: oklch(0.337 0.009 256.743);
--chart-4: oklch(0.378 0.013 168.639);
--chart-5: oklch(0.35 0.014 203.272);
}