Succotash for shadcn/ui

Succotash is a shadcn/ui theme built around a near-black primary color (#040301) with muted light orange accents (#e6e0db). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the near-black primary (#040301) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfaf7snow
#000000black
Foreground
#160d03black
#ffffffwhite
Card
#fbf7f4whitesmoke
#030303black
Card foreground
#120a03black
#ffffffwhite
Popover
#fcfaf7snow
#000000black
Popover foreground
#160d03black
#ffffffwhite
Primary
#040301black
#040301black
Primary foreground
#c99c6edarkkhaki
#c99c6edarkkhaki
Secondary
#e6e0dbgainsboro
#2e2924darkslategray
Secondary foreground
#55473adarkolivegreen
#c9c2basilver
Muted
#e7d9cbgainsboro
#342618black
Muted foreground
#47423edarkslategray
#c1bdb8silver
Accent
#e6e0dbgainsboro
#2e2924darkslategray
Accent foreground
#55473adarkolivegreen
#c9c2basilver
Destructive
#6b2106maroon
#f34e12orangered
Destructive foreground
#fabea8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#040301black
#040301black

Contrast

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

Light mode
Text on background18.44:1AAA
Text on card18.45:1AAA
Primary button8.32:1AAA
Secondary button6.85:1AA
Muted text7.15:1AAA
Accent6.85:1AA
Destructive7.08:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.32:1AAA
Secondary button8.18:1AAA
Muted text7.80:1AAA
Accent8.18:1AAA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 67.774);
  --foreground: oklch(0.168 0.026 69.981);
  --muted: oklch(0.892 0.024 67.512);
  --muted-foreground: oklch(0.383 0.01 67.523);
  --popover: oklch(0.986 0.004 67.774);
  --popover-foreground: oklch(0.168 0.026 69.981);
  --card: oklch(0.979 0.006 67.75);
  --card-foreground: oklch(0.153 0.023 73.364);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.094 0.008 74.332);
  --primary-foreground: oklch(0.723 0.082 65.92);
  --secondary: oklch(0.911 0.01 67.699);
  --secondary-foreground: oklch(0.409 0.029 66.886);
  --accent: oklch(0.911 0.01 67.699);
  --accent-foreground: oklch(0.409 0.029 66.886);
  --destructive: oklch(0.359 0.111 37.998);
  --destructive-foreground: oklch(0.85 0.077 40.875);
  --ring: oklch(0.094 0.008 74.332);
  --chart-1: oklch(0.094 0.008 74.332);
  --chart-2: oklch(0.911 0.01 67.699);
  --chart-3: oklch(0.911 0.01 67.699);
  --chart-4: oklch(0.933 0.008 67.733);
  --chart-5: oklch(0.094 0.009 74.761);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.282 0.031 65.985);
  --muted-foreground: oklch(0.8 0.008 67.707);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.094 0.008 74.332);
  --primary-foreground: oklch(0.723 0.082 65.92);
  --secondary: oklch(0.284 0.011 67.343);
  --secondary-foreground: oklch(0.817 0.013 67.643);
  --accent: oklch(0.284 0.011 67.343);
  --accent-foreground: oklch(0.817 0.013 67.643);
  --destructive: oklch(0.648 0.21 36.946);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.094 0.008 74.332);
  --chart-1: oklch(0.094 0.008 74.332);
  --chart-2: oklch(0.284 0.011 67.343);
  --chart-3: oklch(0.284 0.011 67.343);
  --chart-4: oklch(0.315 0.013 67.321);
  --chart-5: oklch(0.094 0.009 74.761);
}