Expensive is a shadcn/ui theme built around a muted cyan primary color (#789ca1) with muted red accents (#a17c78). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted cyan primary (#789ca1) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030707black |
| Foreground | #000000black | #f9fbfbghostwhite |
| Card | #fbfefewhite | #030707black |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #fbfefewhite | #030707black |
| Popover foreground | #000000black | #f9fbfbghostwhite |
| Primary | #789ca1lightslategray | #789ca1lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #a17c78gray | #a17c78gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e4dddcgainsboro | #231c1bblack |
| Muted foreground | #595554dimgray | #aba6a6darkgray |
| Accent | #a17c78gray | #a17c78gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #6f1d06maroon | #f56138tomato |
| Destructive foreground | #fbbeadlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #789ca1lightslategray | #789ca1lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.67:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.06:1 | AAA |
| Secondary button | 5.68:1 | AA |
| Muted text | 5.51:1 | AA |
| Accent | 5.68:1 | AA |
| Destructive | 7.03:1 | AAA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.06:1 | AAA |
| Secondary button | 5.68:1 | AA |
| Muted text | 7.00:1 | AAA |
| Accent | 5.68:1 | AA |
| Destructive | 6.63:1 | AA |
Paste this into your globals.css to use Expensive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 206.421);
--foreground: oklch(0 0 0);
--muted: oklch(0.904 0.008 26.498);
--muted-foreground: oklch(0.453 0.006 26.533);
--popover: oklch(0.994 0.003 206.421);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 206.421);
--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.668 0.041 206.259);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.622 0.046 27.115);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.622 0.046 27.115);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.363 0.12 35.184);
--destructive-foreground: oklch(0.851 0.075 36.017);
--ring: oklch(0.668 0.041 206.259);
--chart-1: oklch(0.668 0.041 206.259);
--chart-2: oklch(0.622 0.046 27.115);
--chart-3: oklch(0.622 0.046 27.115);
--chart-4: oklch(0.648 0.043 27.018);
--chart-5: oklch(0.673 0.047 206.276);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.009 204.381);
--foreground: oklch(0.986 0.002 206.429);
--muted: oklch(0.232 0.011 26.837);
--muted-foreground: oklch(0.73 0.005 26.49);
--popover: oklch(0.12 0.009 204.381);
--popover-foreground: oklch(0.986 0.002 206.429);
--card: oklch(0.12 0.009 204.381);
--card-foreground: oklch(0.986 0.002 206.429);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.668 0.041 206.259);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.622 0.046 27.115);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.622 0.046 27.115);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.676 0.19 36.107);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.668 0.041 206.259);
--chart-1: oklch(0.668 0.041 206.259);
--chart-2: oklch(0.622 0.046 27.115);
--chart-3: oklch(0.622 0.046 27.115);
--chart-4: oklch(0.648 0.043 27.018);
--chart-5: oklch(0.673 0.047 206.276);
}