Condominium for shadcn/ui

Condominium is a shadcn/ui theme built around a light cyan primary color (#b6e0e7) with light green accents (#e0e7b6). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#b6e0e7) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020303black
Foreground
#010809black
#f4f9famintcream
Card
#f7fcfdghostwhite
#030607black
Card foreground
#010404black
#f8fbfcghostwhite
Popover
#f7fcfdghostwhite
#030607black
Popover foreground
#010404black
#f8fbfcghostwhite
Primary
#b6e0e7powderblue
#b6e0e7powderblue
Primary foreground
#1b4850darkslategray
#1b4850darkslategray
Secondary
#e7b6e0thistle
#e7b6e0thistle
Secondary foreground
#501b48darkslategray
#501b48darkslategray
Muted
#ecdfealavender
#20131eblack
Muted foreground
#4c484cdarkslategray
#b7b3b7silver
Accent
#e0e7b6palegoldenrod
#e0e7b6palegoldenrod
Accent foreground
#48501bdarkolivegreen
#48501bdarkolivegreen
Destructive
#662705maroon
#f67d3ccoral
Destructive foreground
#fbc1a2navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6e0e7powderblue
#b6e0e7powderblue

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.88:1AAA
Primary button7.06:1AAA
Secondary button7.65:1AAA
Muted text6.98:1AA
Accent6.65:1AA
Destructive7.12:1AAA
Dark mode
Text on background19.43:1AAA
Text on card19.51:1AAA
Primary button7.06:1AAA
Secondary button7.65:1AAA
Muted text8.63:1AAA
Accent6.65:1AA
Destructive7.91:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 209.461);
  --foreground: oklch(0.123 0.016 205.479);
  --muted: oklch(0.918 0.019 330.514);
  --muted-foreground: oklch(0.406 0.009 330.515);
  --popover: oklch(0.987 0.005 209.454);
  --popover-foreground: oklch(0.098 0.012 205.479);
  --card: oklch(0.987 0.005 209.454);
  --card-foreground: oklch(0.098 0.012 205.479);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.878 0.044 209.474);
  --primary-foreground: oklch(0.375 0.051 210.957);
  --secondary: oklch(0.833 0.078 331.394);
  --secondary-foreground: oklch(0.323 0.101 333.968);
  --accent: oklch(0.91 0.064 114.616);
  --accent-foreground: oklch(0.413 0.076 117.072);
  --destructive: oklch(0.36 0.101 43.76);
  --destructive-foreground: oklch(0.856 0.078 49.587);
  --ring: oklch(0.878 0.044 209.474);
  --chart-1: oklch(0.878 0.044 209.474);
  --chart-2: oklch(0.833 0.078 331.394);
  --chart-3: oklch(0.91 0.064 114.616);
  --chart-4: oklch(0.859 0.065 331.185);
  --chart-5: oklch(0.88 0.047 209.485);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.006 207.267);
  --foreground: oklch(0.98 0.006 209.454);
  --muted: oklch(0.209 0.028 331.844);
  --muted-foreground: oklch(0.771 0.007 330.368);
  --popover: oklch(0.119 0.008 207.267);
  --popover-foreground: oklch(0.987 0.004 209.458);
  --card: oklch(0.119 0.008 207.267);
  --card-foreground: oklch(0.987 0.004 209.458);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.878 0.044 209.474);
  --primary-foreground: oklch(0.375 0.051 210.957);
  --secondary: oklch(0.833 0.078 331.394);
  --secondary-foreground: oklch(0.323 0.101 333.968);
  --accent: oklch(0.91 0.064 114.616);
  --accent-foreground: oklch(0.413 0.076 117.072);
  --destructive: oklch(0.718 0.167 46.322);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.878 0.044 209.474);
  --chart-1: oklch(0.878 0.044 209.474);
  --chart-2: oklch(0.833 0.078 331.394);
  --chart-3: oklch(0.91 0.064 114.616);
  --chart-4: oklch(0.859 0.065 331.185);
  --chart-5: oklch(0.88 0.047 209.485);
}