Pricey is a shadcn/ui theme built around a light violet primary color (#f3edf8) with light teal accents (#edf8f3). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light violet primary (#f3edf8) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #030104black |
| Foreground | #030104black | #f8f5fawhitesmoke |
| Card | #fdfbfewhite | #030104black |
| Card foreground | #030104black | #f8f5fawhitesmoke |
| Popover | #fdfbfewhite | #030104black |
| Popover foreground | #030104black | #f8f5fawhitesmoke |
| Primary | #f3edf8whitesmoke | #f3edf8whitesmoke |
| Primary foreground | #61347frebeccapurple | #61347frebeccapurple |
| Secondary | #f8f3edseashell | #f8f3edseashell |
| Secondary foreground | #362916darkslategray | #362916darkslategray |
| Muted | #ede7deantiquewhite | #211b12black |
| Muted foreground | #5f584fdimgray | #b0aaa0darkgray |
| Accent | #edf8f3honeydew | #edf8f3honeydew |
| Accent foreground | #163629darkslategray | #163629darkslategray |
| Destructive | #b95013sienna | #e86a21chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3edf8whitesmoke | #f3edf8whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 12.82:1 | AAA |
| Muted text | 5.70:1 | AA |
| Accent | 12.09:1 | AAA |
| Destructive | 4.98:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 12.82:1 | AAA |
| Muted text | 7.40:1 | AAA |
| Accent | 12.09:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Pricey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 312.325);
--foreground: oklch(0.083 0.017 314.129);
--muted: oklch(0.93 0.014 78.261);
--muted-foreground: oklch(0.464 0.017 78.144);
--popover: oklch(0.99 0.004 312.325);
--popover-foreground: oklch(0.083 0.017 314.129);
--card: oklch(0.99 0.004 312.325);
--card-foreground: oklch(0.083 0.017 314.129);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.954 0.016 312.235);
--primary-foreground: oklch(0.417 0.127 309.682);
--secondary: oklch(0.967 0.01 78.279);
--secondary-foreground: oklch(0.292 0.037 76.662);
--accent: oklch(0.969 0.013 170.247);
--accent-foreground: oklch(0.305 0.045 165.145);
--destructive: oklch(0.558 0.151 44.98);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0.016 312.235);
--chart-1: oklch(0.954 0.016 312.235);
--chart-2: oklch(0.967 0.01 78.279);
--chart-3: oklch(0.969 0.013 170.247);
--chart-4: oklch(0.987 0.004 78.3);
--chart-5: oklch(0.953 0.017 312.226);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.019 314.284);
--foreground: oklch(0.974 0.006 312.308);
--muted: oklch(0.226 0.019 77.647);
--muted-foreground: oklch(0.74 0.015 78.235);
--popover: oklch(0.082 0.019 314.284);
--popover-foreground: oklch(0.974 0.006 312.308);
--card: oklch(0.082 0.019 314.284);
--card-foreground: oklch(0.974 0.006 312.308);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.954 0.016 312.235);
--primary-foreground: oklch(0.417 0.127 309.682);
--secondary: oklch(0.967 0.01 78.279);
--secondary-foreground: oklch(0.292 0.037 76.662);
--accent: oklch(0.969 0.013 170.247);
--accent-foreground: oklch(0.305 0.045 165.145);
--destructive: oklch(0.668 0.175 45.698);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.954 0.016 312.235);
--chart-1: oklch(0.954 0.016 312.235);
--chart-2: oklch(0.967 0.01 78.279);
--chart-3: oklch(0.969 0.013 170.247);
--chart-4: oklch(0.987 0.004 78.3);
--chart-5: oklch(0.953 0.017 312.226);
}