Bidding for shadcn/ui

Bidding is a shadcn/ui theme built around a light yellow primary color (#f6edd0) with muted light yellow accents (#e6e5e0). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the light yellow primary (#f6edd0) on a yellow-tinted background (#0c0a04).

Color palette

TokenLightDark
Background
#fdfdfbsnow
#0c0a04black
Foreground
#080602black
#fdfdfcwhite
Card
#fdfdfbsnow
#0c0a04black
Card foreground
#080602black
#fdfdfcwhite
Popover
#fdfdfbsnow
#0c0a04black
Popover foreground
#080602black
#fdfdfcwhite
Primary
#f6edd0antiquewhite
#f6edd0antiquewhite
Primary foreground
#271f07black
#271f07black
Secondary
#e6e5e0gainsboro
#1e1d1ablack
Secondary foreground
#524e42darkolivegreen
#bab8b0silver
Muted
#ede8d9antiquewhite
#262212black
Muted foreground
#655f4edimgray
#b1ac9adarkgray
Accent
#e6e5e0gainsboro
#1e1d1ablack
Accent foreground
#524e42darkolivegreen
#bab8b0silver
Destructive
#db110ared
#f4211ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6edd0antiquewhite
#f6edd0antiquewhite

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button13.97:1AAA
Secondary button6.57:1AA
Muted text5.21:1AA
Accent6.57:1AA
Destructive5.11:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button13.97:1AAA
Secondary button8.47:1AAA
Muted text7.01:1AAA
Accent8.47:1AAA
Destructive4.12:1AA Large

CSS variables

Paste this into your globals.css to use Bidding in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 92.677);
  --foreground: oklch(0.125 0.014 96.986);
  --muted: oklch(0.932 0.022 92.872);
  --muted-foreground: oklch(0.487 0.028 93.097);
  --popover: oklch(0.994 0.002 92.677);
  --popover-foreground: oklch(0.125 0.014 96.986);
  --card: oklch(0.994 0.002 92.677);
  --card-foreground: oklch(0.125 0.014 96.986);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.946 0.04 93.008);
  --primary-foreground: oklch(0.243 0.04 92.389);
  --secondary: oklch(0.92 0.007 92.726);
  --secondary-foreground: oklch(0.425 0.021 93.048);
  --accent: oklch(0.92 0.007 92.726);
  --accent-foreground: oklch(0.425 0.021 93.048);
  --destructive: oklch(0.565 0.225 29.249);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.04 93.008);
  --chart-1: oklch(0.946 0.04 93.008);
  --chart-2: oklch(0.92 0.007 92.726);
  --chart-3: oklch(0.92 0.007 92.726);
  --chart-4: oklch(0.942 0.005 92.706);
  --chart-5: oklch(0.947 0.041 93.019);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.016 96.639);
  --foreground: oklch(0.993 0.001 92.665);
  --muted: oklch(0.251 0.028 93.101);
  --muted-foreground: oklch(0.744 0.026 92.957);
  --popover: oklch(0.143 0.016 96.639);
  --popover-foreground: oklch(0.993 0.001 92.665);
  --card: oklch(0.143 0.016 96.639);
  --card-foreground: oklch(0.993 0.001 92.665);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.946 0.04 93.008);
  --primary-foreground: oklch(0.243 0.04 92.389);
  --secondary: oklch(0.231 0.006 92.887);
  --secondary-foreground: oklch(0.782 0.011 92.796);
  --accent: oklch(0.231 0.006 92.887);
  --accent-foreground: oklch(0.782 0.011 92.796);
  --destructive: oklch(0.618 0.239 28.928);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.04 93.008);
  --chart-1: oklch(0.946 0.04 93.008);
  --chart-2: oklch(0.231 0.006 92.887);
  --chart-3: oklch(0.231 0.006 92.887);
  --chart-4: oklch(0.264 0.007 92.902);
  --chart-5: oklch(0.947 0.041 93.019);
}