Bungalow for shadcn/ui

Bungalow is a shadcn/ui theme built around a deep teal primary color (#0a382e) with deep cyan accents (#0a2c38). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#0a382e) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#ffffffwhite
#020303black
Foreground
#010907black
#fcfdfdwhite
Card
#ffffffwhite
#020303black
Card foreground
#010907black
#fcfdfdwhite
Popover
#ffffffwhite
#020303black
Popover foreground
#010907black
#fcfdfdwhite
Primary
#0a382edarkslategray
#0a382edarkslategray
Primary foreground
#33dbb4turquoise
#33dbb4turquoise
Secondary
#0a3816darkgreen
#0a3816darkgreen
Secondary foreground
#33db60mediumseagreen
#33db60mediumseagreen
Muted
#cce5d3lightgrey
#1a3320darkslategray
Muted foreground
#415847darkslategray
#a7beaddarkgray
Accent
#0a2c38darkslategray
#0a2c38darkslategray
Accent foreground
#8ad1easkyblue
#8ad1easkyblue
Destructive
#6f0806maroon
#ed100cred
Destructive foreground
#fbaeadlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0a382edarkslategray
#0a382edarkslategray

Contrast

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

Light mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button7.34:1AAA
Secondary button7.16:1AAA
Muted text5.81:1AA
Accent8.65:1AAA
Destructive6.84:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button7.34:1AAA
Secondary button7.16:1AAA
Muted text6.91:1AA
Accent8.65:1AAA
Destructive4.47: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.127 0.018 180.946);
  --muted: oklch(0.899 0.037 153.787);
  --muted-foreground: oklch(0.436 0.039 152.808);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.127 0.018 180.946);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.127 0.018 180.946);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.308 0.053 173.499);
  --primary-foreground: oklch(0.8 0.144 172.504);
  --secondary: oklch(0.302 0.077 148.208);
  --secondary-foreground: oklch(0.783 0.213 147.457);
  --accent: oklch(0.275 0.044 226.246);
  --accent-foreground: oklch(0.822 0.079 222.935);
  --destructive: oklch(0.346 0.135 28.717);
  --destructive-foreground: oklch(0.823 0.091 20.28);
  --ring: oklch(0.308 0.053 173.499);
  --chart-1: oklch(0.308 0.053 173.499);
  --chart-2: oklch(0.302 0.077 148.208);
  --chart-3: oklch(0.275 0.044 226.246);
  --chart-4: oklch(0.345 0.09 147.893);
  --chart-5: oklch(0.311 0.054 173.205);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.006 180.953);
  --foreground: oklch(0.993 0.001 180.935);
  --muted: oklch(0.294 0.046 151.269);
  --muted-foreground: oklch(0.779 0.034 153.721);
  --popover: oklch(0.096 0.006 180.953);
  --popover-foreground: oklch(0.993 0.001 180.935);
  --card: oklch(0.096 0.006 180.953);
  --card-foreground: oklch(0.993 0.001 180.935);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.308 0.053 173.499);
  --primary-foreground: oklch(0.8 0.144 172.504);
  --secondary: oklch(0.302 0.077 148.208);
  --secondary-foreground: oklch(0.783 0.213 147.457);
  --accent: oklch(0.275 0.044 226.246);
  --accent-foreground: oklch(0.822 0.079 222.935);
  --destructive: oklch(0.599 0.24 29.042);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.308 0.053 173.499);
  --chart-1: oklch(0.308 0.053 173.499);
  --chart-2: oklch(0.302 0.077 148.208);
  --chart-3: oklch(0.275 0.044 226.246);
  --chart-4: oklch(0.345 0.09 147.893);
  --chart-5: oklch(0.311 0.054 173.205);
}