Expensive is a shadcn/ui theme built around a deep green primary color (#13380a) with deep red accents (#380a13). The light mode uses a neutral background (#fbfefb). Dark mode keeps the deep green primary (#13380a) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020402black |
| Foreground | #020401black | #f6faf4whitesmoke |
| Card | #fbfefbwhite | #020402black |
| Card foreground | #020401black | #f6faf4whitesmoke |
| Popover | #fbfefbwhite | #020402black |
| Popover foreground | #020401black | #f6faf4whitesmoke |
| Primary | #13380adarkgreen | #13380adarkgreen |
| Primary foreground | #53da34limegreen | #53da34limegreen |
| Secondary | #0a1338midnightblue | #0a1338midnightblue |
| Secondary foreground | #8b9ceacornflowerblue | #8b9ceacornflowerblue |
| Muted | #e8e9edlavender | #121317black |
| Muted foreground | #41434edarkslategray | #b1b4besilver |
| Accent | #380a13black | #380a13black |
| Accent foreground | #ea8b9clightcoral | #ea8b9clightcoral |
| Destructive | #9c2c0dbrown | #f06842tomato |
| Destructive foreground | #fce5demistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #13380adarkgreen | #13380adarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 6.92:1 | AA |
| Muted text | 8.08:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 6.92:1 | AA |
| Muted text | 8.99:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 6.74: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.005 139.987);
--foreground: oklch(0.098 0.018 138.202);
--muted: oklch(0.934 0.006 276.076);
--muted-foreground: oklch(0.386 0.018 275.507);
--popover: oklch(0.994 0.005 139.987);
--popover-foreground: oklch(0.098 0.018 138.202);
--card: oklch(0.994 0.005 139.987);
--card-foreground: oklch(0.098 0.018 138.202);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.302 0.084 140.321);
--primary-foreground: oklch(0.783 0.231 140.516);
--secondary: oklch(0.205 0.073 269.269);
--secondary-foreground: oklch(0.711 0.115 273.489);
--accent: oklch(0.232 0.072 14.251);
--accent-foreground: oklch(0.74 0.117 8.505);
--destructive: oklch(0.463 0.153 35.003);
--destructive-foreground: oklch(0.938 0.028 35.947);
--ring: oklch(0.302 0.084 140.321);
--chart-1: oklch(0.302 0.084 140.321);
--chart-2: oklch(0.205 0.073 269.269);
--chart-3: oklch(0.232 0.072 14.251);
--chart-4: oklch(0.23 0.087 268.757);
--chart-5: oklch(0.305 0.086 140.374);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.012 138.781);
--foreground: oklch(0.981 0.009 139.983);
--muted: oklch(0.186 0.01 275.429);
--muted-foreground: oklch(0.77 0.015 275.903);
--popover: oklch(0.096 0.012 138.781);
--popover-foreground: oklch(0.981 0.009 139.983);
--card: oklch(0.096 0.012 138.781);
--card-foreground: oklch(0.981 0.009 139.983);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.302 0.084 140.321);
--primary-foreground: oklch(0.783 0.231 140.516);
--secondary: oklch(0.205 0.073 269.269);
--secondary-foreground: oklch(0.711 0.115 273.489);
--accent: oklch(0.232 0.072 14.251);
--accent-foreground: oklch(0.74 0.117 8.505);
--destructive: oklch(0.679 0.176 36.288);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.302 0.084 140.321);
--chart-1: oklch(0.302 0.084 140.321);
--chart-2: oklch(0.205 0.073 269.269);
--chart-3: oklch(0.232 0.072 14.251);
--chart-4: oklch(0.23 0.087 268.757);
--chart-5: oklch(0.305 0.086 140.374);
}