Blouse for shadcn/ui

Blouse is a shadcn/ui theme built around a green primary color (#6fc894) with teal accents (#6fc8c1). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the green primary (#6fc894) on a neutral background (#020805).

Color palette

TokenLightDark
Background
#f7fdf9mintcream
#020805black
Foreground
#010904black
#f4faf7whitesmoke
Card
#f7fdf9mintcream
#020805black
Card foreground
#010904black
#f4faf7whitesmoke
Popover
#f7fdf9mintcream
#020805black
Popover foreground
#010904black
#f4faf7whitesmoke
Primary
#6fc894mediumaquamarine
#6fc894mediumaquamarine
Primary foreground
#010402black
#010402black
Secondary
#76c86fdarkseagreen
#76c86fdarkseagreen
Secondary foreground
#020401black
#020401black
Muted
#dbe2dagainsboro
#1e251dblack
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#6fc8c1mediumaquamarine
#6fc8c1mediumaquamarine
Accent foreground
#010404black
#010404black
Destructive
#b42e08firebrick
#f55d32tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6fc894mediumaquamarine
#6fc894mediumaquamarine

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button10.19:1AAA
Secondary button10.08:1AAA
Muted text7.59:1AAA
Accent10.51:1AAA
Destructive6.29:1AA
Dark mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button10.19:1AAA
Secondary button10.08:1AAA
Muted text8.34:1AAA
Accent10.51:1AAA
Destructive6.49:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 160.823);
  --foreground: oklch(0.125 0.022 160.927);
  --muted: oklch(0.904 0.013 143.066);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.988 0.008 160.823);
  --popover-foreground: oklch(0.125 0.022 160.927);
  --card: oklch(0.988 0.008 160.823);
  --card-foreground: oklch(0.125 0.022 160.927);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.764 0.115 156.67);
  --primary-foreground: oklch(0.097 0.011 160.957);
  --secondary: oklch(0.76 0.148 142.216);
  --secondary-foreground: oklch(0.096 0.015 141.762);
  --accent: oklch(0.776 0.087 188.547);
  --accent-foreground: oklch(0.098 0.009 190.506);
  --destructive: oklch(0.509 0.176 34.345);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.764 0.115 156.67);
  --chart-1: oklch(0.764 0.115 156.67);
  --chart-2: oklch(0.76 0.148 142.216);
  --chart-3: oklch(0.776 0.087 188.547);
  --chart-4: oklch(0.777 0.137 142.297);
  --chart-5: oklch(0.769 0.122 156.385);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.016 160.95);
  --foreground: oklch(0.981 0.008 160.821);
  --muted: oklch(0.255 0.018 142.799);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0.123 0.016 160.95);
  --popover-foreground: oklch(0.981 0.008 160.821);
  --card: oklch(0.123 0.016 160.95);
  --card-foreground: oklch(0.981 0.008 160.821);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.764 0.115 156.67);
  --primary-foreground: oklch(0.097 0.011 160.957);
  --secondary: oklch(0.76 0.148 142.216);
  --secondary-foreground: oklch(0.096 0.015 141.762);
  --accent: oklch(0.776 0.087 188.547);
  --accent-foreground: oklch(0.098 0.009 190.506);
  --destructive: oklch(0.672 0.196 35.962);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.764 0.115 156.67);
  --chart-1: oklch(0.764 0.115 156.67);
  --chart-2: oklch(0.76 0.148 142.216);
  --chart-3: oklch(0.776 0.087 188.547);
  --chart-4: oklch(0.777 0.137 142.297);
  --chart-5: oklch(0.769 0.122 156.385);
}