Pricey is a shadcn/ui theme built around a vivid deep indigo primary color (#120656) with muted light indigo accents (#ceccdb). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid deep indigo primary (#120656) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #04020dblack | #ffffffwhite |
| Card | #fcfbfewhite | #000000black |
| Card foreground | #04020dblack | #ffffffwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #04020dblack | #ffffffwhite |
| Primary | #120656midnightblue | #120656midnightblue |
| Primary foreground | #a596f8mediumpurple | #a596f8mediumpurple |
| Secondary | #ceccdblightgrey | #333234darkslategray |
| Secondary foreground | #333045darkslategray | #cccbcdlightgrey |
| Muted | #d4d0e6gainsboro | #1c192fblack |
| Muted foreground | #47445adarkslategray | #a8a5bbdarkgray |
| Accent | #ceccdblightgrey | #333234darkslategray |
| Accent foreground | #333045darkslategray | #cccbcdlightgrey |
| Destructive | #b32700firebrick | #f03400orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #120656midnightblue | #120656midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 6.23:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.01:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Pricey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 293.239);
--foreground: oklch(0.102 0.034 290.08);
--muted: oklch(0.868 0.03 292.64);
--muted-foreground: oklch(0.399 0.037 291.497);
--popover: oklch(0.99 0.004 293.239);
--popover-foreground: oklch(0.102 0.034 290.08);
--card: oklch(0.99 0.004 293.239);
--card-foreground: oklch(0.102 0.034 290.08);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.225 0.129 275.324);
--primary-foreground: oklch(0.726 0.14 289.327);
--secondary: oklch(0.851 0.022 292.828);
--secondary-foreground: oklch(0.322 0.037 291.026);
--accent: oklch(0.851 0.022 292.828);
--accent-foreground: oklch(0.322 0.037 291.026);
--destructive: oklch(0.499 0.18 33.822);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.225 0.129 275.324);
--chart-1: oklch(0.225 0.129 275.324);
--chart-2: oklch(0.851 0.022 292.828);
--chart-3: oklch(0.851 0.022 292.828);
--chart-4: oklch(0.878 0.018 292.928);
--chart-5: oklch(0.224 0.133 274.524);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.042 289.474);
--muted-foreground: oklch(0.731 0.032 292.479);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.225 0.129 275.324);
--primary-foreground: oklch(0.726 0.14 289.327);
--secondary: oklch(0.32 0.002 293.2);
--secondary-foreground: oklch(0.844 0.001 293.275);
--accent: oklch(0.32 0.002 293.2);
--accent-foreground: oklch(0.844 0.001 293.275);
--destructive: oklch(0.62 0.227 33.276);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.225 0.129 275.324);
--chart-1: oklch(0.225 0.129 275.324);
--chart-2: oklch(0.32 0.002 293.2);
--chart-3: oklch(0.32 0.002 293.2);
--chart-4: oklch(0.349 0.002 293.197);
--chart-5: oklch(0.224 0.133 274.524);
}