Consignment is a shadcn/ui theme built around a cyan primary color (#257d98) with green accents (#7d9825). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#257d98) on a cyan-tinted background (#030a0c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030a0cblack |
| Foreground | #020708black | #f8fbfbghostwhite |
| Card | #ffffffwhite | #030a0cblack |
| Card foreground | #020708black | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #030a0cblack |
| Popover foreground | #020708black | #f8fbfbghostwhite |
| Primary | #257d98darkcyan | #257d98darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #98257ddarkmagenta | #98257ddarkmagenta |
| Secondary foreground | #fcf3falavenderblush | #fcf3falavenderblush |
| Muted | #f5eff4whitesmoke | #100a0eblack |
| Muted foreground | #575255dimgray | #ada8acdarkgray |
| Accent | #7d9825olivedrab | #7d9825olivedrab |
| Accent foreground | #000000black | #000000black |
| Destructive | #771708maroon | #f14b32tomato |
| Destructive foreground | #fac0b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #257d98darkcyan | #257d98darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 4.70:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 6.76:1 | AA |
| Accent | 6.38:1 | AA |
| Destructive | 6.94:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 4.70:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 8.38:1 | AAA |
| Accent | 6.38:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Consignment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.012 213.328);
--muted: oklch(0.959 0.009 333.398);
--muted-foreground: oklch(0.443 0.009 333.566);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.012 213.328);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.012 213.328);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.551 0.09 222.734);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.479 0.177 339.183);
--secondary-foreground: oklch(0.972 0.014 333.467);
--accent: oklch(0.637 0.14 122.172);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.373 0.133 31.628);
--destructive-foreground: oklch(0.858 0.068 28.546);
--ring: oklch(0.551 0.09 222.734);
--chart-1: oklch(0.551 0.09 222.734);
--chart-2: oklch(0.479 0.177 339.183);
--chart-3: oklch(0.637 0.14 122.172);
--chart-4: oklch(0.507 0.188 339.234);
--chart-5: oklch(0.555 0.093 223.146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 214.008);
--foreground: oklch(0.986 0.002 217.757);
--muted: oklch(0.154 0.015 334.718);
--muted-foreground: oklch(0.738 0.008 333.414);
--popover: oklch(0.137 0.014 214.008);
--popover-foreground: oklch(0.986 0.002 217.757);
--card: oklch(0.137 0.014 214.008);
--card-foreground: oklch(0.986 0.002 217.757);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.551 0.09 222.734);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.479 0.177 339.183);
--secondary-foreground: oklch(0.972 0.014 333.467);
--accent: oklch(0.637 0.14 122.172);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.645 0.206 31.59);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.09 222.734);
--chart-1: oklch(0.551 0.09 222.734);
--chart-2: oklch(0.479 0.177 339.183);
--chart-3: oklch(0.637 0.14 122.172);
--chart-4: oklch(0.507 0.188 339.234);
--chart-5: oklch(0.555 0.093 223.146);
}