Marketplace is a shadcn/ui theme built around a muted orange primary color (#ba9a82) with muted light orange accents (#e1dddb). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted orange primary (#ba9a82) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0705black |
| Foreground | #090502black | #fdfcfcsnow |
| Card | #fcfaf8snow | #0e0a07black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #fefcfbsnow | #0a0705black |
| Popover foreground | #090502black | #fdfcfcsnow |
| Primary | #ba9a82rosybrown | #ba9a82rosybrown |
| Primary foreground | #070504black | #070504black |
| Secondary | #e1dddbgainsboro | #313030darkslategray |
| Secondary foreground | #4a443fdarkslategray | #cac9c9silver |
| Muted | #f2ece8linen | #17110dblack |
| Muted foreground | #46423fdarkslategray | #c0bcb9silver |
| Accent | #e1dddbgainsboro | #313030darkslategray |
| Accent foreground | #4a443fdarkslategray | #cac9c9silver |
| Destructive | #c83504firebrick | #e63d05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ba9a82rosybrown | #ba9a82rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 5.29:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 9.91:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Marketplace in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 60.258);
--foreground: oklch(0.118 0.016 70.931);
--muted: oklch(0.948 0.008 60.161);
--muted-foreground: oklch(0.381 0.007 60.03);
--popover: oklch(0.993 0.002 60.258);
--popover-foreground: oklch(0.118 0.016 70.931);
--card: oklch(0.985 0.004 60.232);
--card-foreground: oklch(0.093 0.013 70.931);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.71 0.051 59.226);
--primary-foreground: oklch(0.116 0.006 64.453);
--secondary: oklch(0.901 0.005 60.214);
--secondary-foreground: oklch(0.392 0.012 59.873);
--accent: oklch(0.901 0.005 60.214);
--accent-foreground: oklch(0.392 0.012 59.873);
--destructive: oklch(0.551 0.19 35.263);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.051 59.226);
--chart-1: oklch(0.71 0.051 59.226);
--chart-2: oklch(0.901 0.005 60.214);
--chart-3: oklch(0.901 0.005 60.214);
--chart-4: oklch(0.924 0.003 60.232);
--chart-5: oklch(0.711 0.056 59.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.009 65.49);
--foreground: oklch(0.992 0.001 60.276);
--muted: oklch(0.184 0.013 59.273);
--muted-foreground: oklch(0.798 0.006 60.183);
--popover: oklch(0.134 0.009 65.49);
--popover-foreground: oklch(0.992 0.001 60.276);
--card: oklch(0.148 0.01 62.887);
--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.71 0.051 59.226);
--primary-foreground: oklch(0.116 0.006 64.453);
--secondary: oklch(0.311 0.001 60.236);
--secondary-foreground: oklch(0.837 0.001 60.268);
--accent: oklch(0.311 0.001 60.236);
--accent-foreground: oklch(0.837 0.001 60.268);
--destructive: oklch(0.61 0.212 35.028);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.71 0.051 59.226);
--chart-1: oklch(0.71 0.051 59.226);
--chart-2: oklch(0.311 0.001 60.236);
--chart-3: oklch(0.311 0.001 60.236);
--chart-4: oklch(0.341 0.001 60.234);
--chart-5: oklch(0.711 0.056 59.102);
}