Marketplace for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.87:1AAA
Text on card19.83:1AAA
Primary button7.80:1AAA
Secondary button7.12:1AAA
Muted text8.52:1AAA
Accent7.12:1AAA
Destructive5.29:1AA
Dark mode
Text on background19.58:1AAA
Text on card19.74:1AAA
Primary button7.80:1AAA
Secondary button7.93:1AAA
Muted text9.91:1AAA
Accent7.93:1AAA
Destructive4.17:1AA Large

CSS variables

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);
}