Bungalow for shadcn/ui

Bungalow is a shadcn/ui theme built around a light green primary color (#e3f1df) with muted light green accents (#d0dbcd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e3f1df) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#091406black
#fcfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#071004black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#071004black
#ffffffwhite
Primary
#e3f1dfbeige
#e3f1dfbeige
Primary foreground
#162711black
#162711black
Secondary
#e7eae6linen
#272c26darkslategray
Secondary foreground
#4b5747darkslategray
#bfc6besilver
Muted
#dfe9dcgainsboro
#182316black
Muted foreground
#474946darkslategray
#b7b9b6silver
Accent
#d0dbcdlightgrey
#3b4937darkslategray
Accent foreground
#354431darkslategray
#d6ded3gainsboro
Destructive
#af1f08firebrick
#f43b1forangered
Destructive foreground
#feeeecseashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3f1dfbeige
#e3f1dfbeige

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.93:1AAA
Primary button13.44:1AAA
Secondary button6.29:1AA
Muted text7.31:1AAA
Accent7.23:1AAA
Destructive6.16:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button13.44:1AAA
Secondary button8.18:1AAA
Muted text8.26:1AAA
Accent6.98:1AA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.175 0.034 138.254);
  --muted: oklch(0.924 0.02 138.899);
  --muted-foreground: oklch(0.402 0.006 138.896);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.159 0.029 137.703);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.159 0.029 137.703);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.943 0.028 138.903);
  --primary-foreground: oklch(0.251 0.046 139.11);
  --secondary: oklch(0.934 0.007 138.893);
  --secondary-foreground: oklch(0.441 0.03 138.924);
  --accent: oklch(0.878 0.022 138.901);
  --accent-foreground: oklch(0.368 0.037 138.952);
  --destructive: oklch(0.488 0.182 31.358);
  --destructive-foreground: oklch(0.961 0.018 28.035);
  --ring: oklch(0.943 0.028 138.903);
  --chart-1: oklch(0.943 0.028 138.903);
  --chart-2: oklch(0.934 0.007 138.893);
  --chart-3: oklch(0.878 0.022 138.901);
  --chart-4: oklch(0.956 0.005 138.892);
  --chart-5: oklch(0.944 0.03 138.904);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 138.891);
  --muted: oklch(0.24 0.028 138.972);
  --muted-foreground: oklch(0.783 0.005 138.893);
  --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.943 0.028 138.903);
  --primary-foreground: oklch(0.251 0.046 139.11);
  --secondary: oklch(0.285 0.012 138.909);
  --secondary-foreground: oklch(0.819 0.014 138.897);
  --accent: oklch(0.386 0.035 138.942);
  --accent-foreground: oklch(0.892 0.017 138.898);
  --destructive: oklch(0.635 0.224 31.622);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.943 0.028 138.903);
  --chart-1: oklch(0.943 0.028 138.903);
  --chart-2: oklch(0.285 0.012 138.909);
  --chart-3: oklch(0.386 0.035 138.942);
  --chart-4: oklch(0.317 0.014 138.91);
  --chart-5: oklch(0.944 0.03 138.904);
}