Bidder is a shadcn/ui theme built around a violet primary color (#4a22a0) with green accents (#22a04a). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the violet primary (#4a22a0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #070212black | #f7f5fawhitesmoke |
| Card | #f9f8fcghostwhite | #030303black |
| Card foreground | #06020dblack | #f9f8fbghostwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #070212black | #f7f5fawhitesmoke |
| Primary | #4a22a0rebeccapurple | #4a22a0rebeccapurple |
| Primary foreground | #f9f7fdghostwhite | #f9f7fdghostwhite |
| Secondary | #a04a22sienna | #a04a22sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f6f1eewhitesmoke | #110b09black |
| Muted foreground | #4c423ddarkslategray | #c2b7b3silver |
| Accent | #22a04aseagreen | #22a04aseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #87170ddarkred | #eb3928crimson |
| Destructive foreground | #fad0ccpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a22a0rebeccapurple | #4a22a0rebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 9.75:1 | AAA |
| Secondary button | 6.01:1 | AA |
| Muted text | 8.69:1 | AAA |
| Accent | 3.39:1 | AA Large |
| Destructive | 6.91:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 9.75:1 | AAA |
| Secondary button | 6.01:1 | AA |
| Muted text | 9.95:1 | AAA |
| Accent | 3.39:1 | AA Large |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Bidder in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 300.717);
--foreground: oklch(0.117 0.041 299.296);
--muted: oklch(0.961 0.007 46.777);
--muted-foreground: oklch(0.388 0.016 46.428);
--popover: oklch(0.99 0.003 300.717);
--popover-foreground: oklch(0.117 0.041 299.296);
--card: oklch(0.98 0.006 300.665);
--card-foreground: oklch(0.106 0.035 300.838);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.393 0.186 289.259);
--primary-foreground: oklch(0.978 0.009 300.616);
--secondary: oklch(0.512 0.126 43.322);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.62 0.164 148.751);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.405 0.149 29.989);
--destructive-foreground: oklch(0.892 0.049 24.196);
--ring: oklch(0.393 0.186 289.259);
--chart-1: oklch(0.393 0.186 289.259);
--chart-2: oklch(0.512 0.126 43.322);
--chart-3: oklch(0.62 0.164 148.751);
--chart-4: oklch(0.54 0.134 43.255);
--chart-5: oklch(0.392 0.192 288.45);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.973 0.006 300.665);
--muted: oklch(0.157 0.011 46.608);
--muted-foreground: oklch(0.788 0.014 46.667);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.973 0.006 300.665);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.982 0.004 300.7);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.393 0.186 289.259);
--primary-foreground: oklch(0.978 0.009 300.616);
--secondary: oklch(0.512 0.126 43.322);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.62 0.164 148.751);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.617 0.217 29.762);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.393 0.186 289.259);
--chart-1: oklch(0.393 0.186 289.259);
--chart-2: oklch(0.512 0.126 43.322);
--chart-3: oklch(0.62 0.164 148.751);
--chart-4: oklch(0.54 0.134 43.255);
--chart-5: oklch(0.392 0.192 288.45);
}