Pricey is a shadcn/ui theme built around a yellow primary color (#aeac56) with indigo accents (#5658ae). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#aeac56) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070703black |
| Foreground | #0c0c03black | #fdfdfcwhite |
| Card | #ffffffwhite | #070703black |
| Card foreground | #0c0c03black | #fdfdfcwhite |
| Popover | #ffffffwhite | #070703black |
| Popover foreground | #0c0c03black | #fdfdfcwhite |
| Primary | #aeac56darkkhaki | #aeac56darkkhaki |
| Primary foreground | #262612black | #262612black |
| Secondary | #5658aeslateblue | #5658aeslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5e5f0lavender | #0f0f1ablack |
| Muted foreground | #3a3a4bdarkslategray | #b4b4c5silver |
| Accent | #5658aeslateblue | #5658aeslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a01d08firebrick | #f33416orangered |
| Destructive foreground | #fde1ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aeac56darkkhaki | #aeac56darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 6.18:1 | AA |
| Muted text | 8.93:1 | AAA |
| Accent | 6.18:1 | AA |
| Destructive | 6.36:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 6.18:1 | AA |
| Muted text | 9.29:1 | AAA |
| Accent | 6.18:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Pricey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.152 0.022 108.086);
--muted: oklch(0.926 0.014 285.343);
--muted-foreground: oklch(0.355 0.029 284.044);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.152 0.022 108.086);
--card: oklch(1 0 180);
--card-foreground: oklch(0.152 0.022 108.086);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.728 0.109 107.954);
--primary-foreground: oklch(0.261 0.033 107.623);
--secondary: oklch(0.502 0.134 279.693);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.502 0.134 279.693);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.457 0.169 31.435);
--destructive-foreground: oklch(0.932 0.031 28.139);
--ring: oklch(0.728 0.109 107.954);
--chart-1: oklch(0.728 0.109 107.954);
--chart-2: oklch(0.502 0.134 279.693);
--chart-3: oklch(0.502 0.134 279.693);
--chart-4: oklch(0.534 0.125 280.57);
--chart-5: oklch(0.739 0.116 108.053);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.012 107.283);
--foreground: oklch(0.993 0.001 105.632);
--muted: oklch(0.175 0.022 283.192);
--muted-foreground: oklch(0.776 0.024 285.053);
--popover: oklch(0.126 0.012 107.283);
--popover-foreground: oklch(0.993 0.001 105.632);
--card: oklch(0.126 0.012 107.283);
--card-foreground: oklch(0.993 0.001 105.632);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.728 0.109 107.954);
--primary-foreground: oklch(0.261 0.033 107.623);
--secondary: oklch(0.502 0.134 279.693);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.502 0.134 279.693);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.626 0.229 31.499);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.728 0.109 107.954);
--chart-1: oklch(0.728 0.109 107.954);
--chart-2: oklch(0.502 0.134 279.693);
--chart-3: oklch(0.502 0.134 279.693);
--chart-4: oklch(0.534 0.125 280.57);
--chart-5: oklch(0.739 0.116 108.053);
}