Pricey is a shadcn/ui theme built around a near-white primary color (#fcfcfd) with muted light violet accents (#c6c0d3). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the near-white primary (#fcfcfd) on a neutral background (#050307).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #050307black |
| Foreground | #06020dblack | #fcfcfdwhite |
| Card | #f9f7fdghostwhite | #050307black |
| Card foreground | #06020dblack | #fcfcfdwhite |
| Popover | #f9f7fdghostwhite | #050307black |
| Popover foreground | #06020dblack | #fcfcfdwhite |
| Primary | #fcfcfdwhite | #fcfcfdwhite |
| Primary foreground | #573f88darkslateblue | #573f88darkslateblue |
| Secondary | #d5d1dblightgrey | #1b1820black |
| Secondary foreground | #3b3645darkslategray | #b2abbfdarkgray |
| Muted | #d5cce5thistle | #221a33darkslategray |
| Muted foreground | #59585adimgray | #a5a5a7darkgray |
| Accent | #c6c0d3thistle | #2d273adarkslategray |
| Accent foreground | #2e2839darkslategray | #c6bfd4thistle |
| Destructive | #6d1c08maroon | #f0613dtomato |
| Destructive foreground | #f9bdaelightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcfcfdwhite | #fcfcfdwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 4.58:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.47:1 | AA |
Paste this into your globals.css to use Pricey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.009 301.344);
--foreground: oklch(0.107 0.035 301.792);
--muted: oklch(0.86 0.036 300.825);
--muted-foreground: oklch(0.463 0.003 301.391);
--popover: oklch(0.978 0.009 301.344);
--popover-foreground: oklch(0.107 0.035 301.792);
--card: oklch(0.978 0.009 301.344);
--card-foreground: oklch(0.107 0.035 301.792);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.991 0.003 301.451);
--primary-foreground: oklch(0.43 0.119 296.465);
--secondary: oklch(0.867 0.014 301.237);
--secondary-foreground: oklch(0.343 0.026 300.261);
--accent: oklch(0.818 0.028 300.95);
--accent-foreground: oklch(0.29 0.032 299.67);
--destructive: oklch(0.359 0.117 34.513);
--destructive-foreground: oklch(0.849 0.072 34.455);
--ring: oklch(0.991 0.003 301.451);
--chart-1: oklch(0.991 0.003 301.451);
--chart-2: oklch(0.867 0.014 301.237);
--chart-3: oklch(0.818 0.028 300.95);
--chart-4: oklch(0.892 0.011 301.292);
--chart-5: oklch(0.99 0.003 301.448);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.012 301.762);
--foreground: oklch(0.992 0.001 301.478);
--muted: oklch(0.24 0.048 298.038);
--muted-foreground: oklch(0.723 0.003 301.434);
--popover: oklch(0.107 0.012 301.762);
--popover-foreground: oklch(0.992 0.001 301.478);
--card: oklch(0.107 0.012 301.762);
--card-foreground: oklch(0.992 0.001 301.478);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.991 0.003 301.451);
--primary-foreground: oklch(0.43 0.119 296.465);
--secondary: oklch(0.216 0.016 300.319);
--secondary-foreground: oklch(0.753 0.03 300.845);
--accent: oklch(0.289 0.034 299.556);
--accent-foreground: oklch(0.817 0.029 300.919);
--destructive: oklch(0.67 0.185 35.154);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.991 0.003 301.451);
--chart-1: oklch(0.991 0.003 301.451);
--chart-2: oklch(0.216 0.016 300.319);
--chart-3: oklch(0.289 0.034 299.556);
--chart-4: oklch(0.246 0.019 300.221);
--chart-5: oklch(0.99 0.003 301.448);
}