Festa dos Bairros for shadcn/ui

Festa dos Bairros is a shadcn/ui theme built around an orange primary color (#cc8738) with vivid yellow accents (#e9c80c). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#cc8738) on a neutral background (#ffffff).

Color palette

TokenLightDark
Background
#ffffffwhite
#ffffffwhite
Foreground
#040201black
#040201black
Card
#ffffffwhite
#ffffffwhite
Card foreground
#040201black
#040201black
Popover
#ffffffwhite
#ffffffwhite
Popover foreground
#040201black
#040201black
Primary
#cc8738peru
#cc8738peru
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e90c2dcrimson
#e90c2dcrimson
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8d3d6gainsboro
#e8d3d6gainsboro
Muted foreground
#5b484bdarkslategray
#5b484bdarkslategray
Accent
#e9c80cgold
#e9c80cgold
Accent foreground
#272102black
#272102black
Destructive
#772803saddlebrown
#772803saddlebrown
Destructive foreground
#fdc8afpeachpuff
#fdc8afpeachpuff
Border
#edeae8linen
#edeae8linen
Input
#edeae8linen
#edeae8linen
Ring
#e9590corangered
#e9590corangered

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button2.96:1Fail
Secondary button4.62:1AA
Muted text5.96:1AA
Accent9.71:1AAA
Destructive6.71:1AA
Dark mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button2.96:1Fail
Secondary button4.62:1AA
Muted text5.96:1AA
Accent9.71:1AAA
Destructive6.71:1AA

CSS variables

Paste this into your globals.css to use Festa dos Bairros in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.091 0.014 62.472);
  --muted: oklch(0.886 0.024 7.271);
  --muted-foreground: oklch(0.422 0.027 8.191);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.091 0.014 62.472);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.091 0.014 62.472);
  --border: oklch(0.939 0.004 50.597);
  --input: oklch(0.939 0.004 50.597);
  --primary: oklch(0.68 0.125 66.132);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.591 0.235 24.136);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.835 0.17 96.859);
  --accent-foreground: oklch(0.248 0.049 99.481);
  --destructive: oklch(0.392 0.119 40.474);
  --destructive-foreground: oklch(0.873 0.069 46.114);
  --ring: oklch(0.645 0.192 41.712);
  --chart-1: oklch(0.645 0.192 41.712);
  --chart-2: oklch(0.591 0.235 24.136);
  --chart-3: oklch(0.835 0.17 96.859);
  --chart-4: oklch(0.611 0.241 23.569);
  --chart-5: oklch(0.65 0.197 41.145);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.091 0.014 62.472);
  --muted: oklch(0.886 0.024 7.271);
  --muted-foreground: oklch(0.422 0.027 8.191);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.091 0.014 62.472);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.091 0.014 62.472);
  --border: oklch(0.939 0.004 50.597);
  --input: oklch(0.939 0.004 50.597);
  --primary: oklch(0.68 0.125 66.132);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.591 0.235 24.136);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.835 0.17 96.859);
  --accent-foreground: oklch(0.248 0.049 99.481);
  --destructive: oklch(0.392 0.119 40.474);
  --destructive-foreground: oklch(0.873 0.069 46.114);
  --ring: oklch(0.645 0.192 41.712);
  --chart-1: oklch(0.645 0.192 41.712);
  --chart-2: oklch(0.591 0.235 24.136);
  --chart-3: oklch(0.835 0.17 96.859);
  --chart-4: oklch(0.611 0.241 23.569);
  --chart-5: oklch(0.65 0.197 41.145);
}