Street for shadcn/ui

Street is a shadcn/ui theme built around a green primary color (#bed996) with pink accents (#d996be). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the green primary (#bed996) on a green-tinted background (#080a05).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#080a05black
Foreground
#000000black
#f8f9f5whitesmoke
Card
#fdfdfcwhite
#080a05black
Card foreground
#000000black
#f8f9f5whitesmoke
Popover
#fdfdfcwhite
#080a05black
Popover foreground
#000000black
#f8f9f5whitesmoke
Primary
#bed996tan
#bed996tan
Primary foreground
#212d10black
#212d10black
Secondary
#96bed9lightsteelblue
#96bed9lightsteelblue
Secondary foreground
#10212dblack
#10212dblack
Muted
#dce4eagainsboro
#151d23black
Muted foreground
#39444cdarkslategray
#b3bfc6silver
Accent
#d996beplum
#d996beplum
Accent foreground
#2d1021black
#2d1021black
Destructive
#972e11saddlebrown
#eb6b47tomato
Destructive foreground
#fbe5dfmistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bed996tan
#bed996tan

Contrast

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

Light mode
Text on background20.65:1AAA
Text on card20.65:1AAA
Primary button9.38:1AAA
Secondary button8.37:1AAA
Muted text7.77:1AAA
Accent7.50:1AAA
Destructive6.37:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.77:1AAA
Primary button9.38:1AAA
Secondary button8.37:1AAA
Muted text9.04:1AAA
Accent7.50:1AAA
Destructive6.70:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 124.381);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.915 0.012 236.623);
  --muted-foreground: oklch(0.38 0.019 237.229);
  --popover: oklch(0.994 0.003 124.381);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 124.381);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.85 0.093 126.024);
  --primary-foreground: oklch(0.278 0.05 127.426);
  --secondary: oklch(0.783 0.058 237.663);
  --secondary-foreground: oklch(0.241 0.032 239.192);
  --accent: oklch(0.751 0.096 342.931);
  --accent-foreground: oklch(0.226 0.054 345.301);
  --destructive: oklch(0.458 0.146 35.387);
  --destructive-foreground: oklch(0.938 0.026 35.949);
  --ring: oklch(0.85 0.093 126.024);
  --chart-1: oklch(0.85 0.093 126.024);
  --chart-2: oklch(0.783 0.058 237.663);
  --chart-3: oklch(0.751 0.096 342.931);
  --chart-4: oklch(0.806 0.051 237.466);
  --chart-5: oklch(0.854 0.099 126.125);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.014 123.879);
  --foreground: oklch(0.981 0.005 124.425);
  --muted: oklch(0.227 0.016 237.637);
  --muted-foreground: oklch(0.797 0.016 236.733);
  --popover: oklch(0.141 0.014 123.879);
  --popover-foreground: oklch(0.981 0.005 124.425);
  --card: oklch(0.141 0.014 123.879);
  --card-foreground: oklch(0.981 0.005 124.425);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.85 0.093 126.024);
  --primary-foreground: oklch(0.278 0.05 127.426);
  --secondary: oklch(0.783 0.058 237.663);
  --secondary-foreground: oklch(0.241 0.032 239.192);
  --accent: oklch(0.751 0.096 342.931);
  --accent-foreground: oklch(0.226 0.054 345.301);
  --destructive: oklch(0.676 0.167 36.35);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.85 0.093 126.024);
  --chart-1: oklch(0.85 0.093 126.024);
  --chart-2: oklch(0.783 0.058 237.663);
  --chart-3: oklch(0.751 0.096 342.931);
  --chart-4: oklch(0.806 0.051 237.466);
  --chart-5: oklch(0.854 0.099 126.125);
}