Gander for shadcn/ui

Gander is a shadcn/ui theme built around a vivid red primary color (#fa7d57) with vivid indigo accents (#7d57fa). The light mode uses a neutral background (#fdfcfb). Dark mode keeps the vivid red primary (#fa7d57) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfbsnow
#000000black
Foreground
#000000black
#fdfcfcsnow
Card
#fdfcfbsnow
#000000black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fdfcfbsnow
#000000black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#fa7d57coral
#fa7d57coral
Primary foreground
#1e0801black
#1e0801black
Secondary
#57fa7dlightgreen
#57fa7dlightgreen
Secondary foreground
#011e08black
#011e08black
Muted
#edf7f0honeydew
#08120ablack
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#7d57famediumslateblue
#7d57famediumslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6e2807saddlebrown
#d84e0echocolate
Destructive foreground
#fac6aepeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fa7d57coral
#fa7d57coral

Contrast

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

Light mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.44:1AAA
Secondary button12.89:1AAA
Muted text5.66:1AA
Accent4.56:1AA
Destructive6.98:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.44:1AAA
Secondary button12.89:1AAA
Muted text7.13:1AAA
Accent4.56:1AA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 37.734);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.967 0.015 152.994);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.992 0.002 37.734);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.002 37.734);
  --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.726 0.162 37.639);
  --primary-foreground: oklch(0.168 0.044 45.518);
  --secondary: oklch(0.872 0.215 147.802);
  --secondary-foreground: oklch(0.205 0.056 148.981);
  --accent: oklch(0.588 0.23 287.901);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.376 0.108 41.286);
  --destructive-foreground: oklch(0.866 0.068 46.117);
  --ring: oklch(0.726 0.162 37.639);
  --chart-1: oklch(0.726 0.162 37.639);
  --chart-2: oklch(0.872 0.215 147.802);
  --chart-3: oklch(0.588 0.23 287.901);
  --chart-4: oklch(0.879 0.2 148.409);
  --chart-5: oklch(0.727 0.167 37.609);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0 37.74);
  --muted: oklch(0.168 0.022 151.25);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0 37.74);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0 37.74);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.726 0.162 37.639);
  --primary-foreground: oklch(0.168 0.044 45.518);
  --secondary: oklch(0.872 0.215 147.802);
  --secondary-foreground: oklch(0.205 0.056 148.981);
  --accent: oklch(0.588 0.23 287.901);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.604 0.185 39.887);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.726 0.162 37.639);
  --chart-1: oklch(0.726 0.162 37.639);
  --chart-2: oklch(0.872 0.215 147.802);
  --chart-3: oklch(0.588 0.23 287.901);
  --chart-4: oklch(0.879 0.2 148.409);
  --chart-5: oklch(0.727 0.167 37.609);
}