Veranda for shadcn/ui

Veranda is a shadcn/ui theme built around a vivid red primary color (#ed405f) with vivid orange accents (#ed7740). The light mode uses a neutral background (#fcf7f8). Dark mode keeps the vivid red primary (#ed405f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf7f8snow
#000000black
Foreground
#090103black
#fdfcfcsnow
Card
#fbf4f5lavenderblush
#030303black
Card foreground
#040101black
#ffffffwhite
Popover
#fbf4f5lavenderblush
#030303black
Popover foreground
#040101black
#ffffffwhite
Primary
#ed405findianred
#ed405findianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ed40b6hotpink
#ed40b6hotpink
Secondary foreground
#000000black
#000000black
Muted
#f1e4edlinen
#1b0e17black
Muted foreground
#473942darkslategray
#c6b8c2silver
Accent
#ed7740coral
#ed7740coral
Accent foreground
#000000black
#000000black
Destructive
#8f2105darkred
#e23408orangered
Destructive foreground
#fdd3c9peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ed405findianred
#ed405findianred

Contrast

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

Light mode
Text on background19.52:1AAA
Text on card19.12:1AAA
Primary button3.81:1AA Large
Secondary button6.01:1AA
Muted text8.84:1AAA
Accent7.30:1AAA
Destructive6.44:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button3.81:1AA Large
Secondary button6.01:1AA
Muted text9.84:1AAA
Accent7.30:1AAA
Destructive4.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 4.459);
  --foreground: oklch(0.1 0.026 4.964);
  --muted: oklch(0.932 0.018 336.929);
  --muted-foreground: oklch(0.362 0.025 337.857);
  --popover: oklch(0.972 0.008 4.536);
  --popover-foreground: oklch(0.079 0.021 4.964);
  --card: oklch(0.972 0.008 4.536);
  --card-foreground: oklch(0.079 0.021 4.964);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.635 0.209 15.361);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.662 0.237 343.685);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.696 0.162 43.799);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.427 0.15 33.868);
  --destructive-foreground: oklch(0.901 0.049 34.346);
  --ring: oklch(0.635 0.209 15.361);
  --chart-1: oklch(0.635 0.209 15.361);
  --chart-2: oklch(0.662 0.237 343.685);
  --chart-3: oklch(0.696 0.162 43.799);
  --chart-4: oklch(0.678 0.225 342.91);
  --chart-5: oklch(0.637 0.214 15.862);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 4.33);
  --muted: oklch(0.186 0.027 339.165);
  --muted-foreground: oklch(0.798 0.021 337.055);
  --popover: oklch(0.092 0 180);
  --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.635 0.209 15.361);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.662 0.237 343.685);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.696 0.162 43.799);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.597 0.215 33.247);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.635 0.209 15.361);
  --chart-1: oklch(0.635 0.209 15.361);
  --chart-2: oklch(0.662 0.237 343.685);
  --chart-3: oklch(0.696 0.162 43.799);
  --chart-4: oklch(0.678 0.225 342.91);
  --chart-5: oklch(0.637 0.214 15.862);
}