Kiwi for shadcn/ui

Kiwi is a shadcn/ui theme built around a teal primary color (#6bbda3) with cyan accents (#6baebd). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the teal primary (#6bbda3) on a teal-tinted background (#040b09).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#040b09black
Foreground
#000000black
#f4faf8mintcream
Card
#fbfdfdwhite
#040b09black
Card foreground
#000000black
#f4faf8mintcream
Popover
#fbfdfdwhite
#040b09black
Popover foreground
#000000black
#f4faf8mintcream
Primary
#6bbda3mediumaquamarine
#6bbda3mediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#6bbd7adarkseagreen
#6bbd7adarkseagreen
Secondary foreground
#000000black
#000000black
Muted
#dfece1gainsboro
#132015black
Muted foreground
#5b675ddimgray
#98a49adarkgray
Accent
#6baebdcadetblue
#6baebdcadetblue
Accent foreground
#000000black
#000000black
Destructive
#770909maroon
#ee1717red
Destructive foreground
#fab8b8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6bbda3mediumaquamarine
#6bbda3mediumaquamarine

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.64:1AAA
Primary button9.39:1AAA
Secondary button9.15:1AAA
Muted text4.85:1AA
Accent8.38:1AAA
Destructive6.92:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.77:1AAA
Primary button9.39:1AAA
Secondary button9.15:1AAA
Muted text6.51:1AA
Accent8.38:1AAA
Destructive4.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 175.546);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.93 0.019 151.105);
  --muted-foreground: oklch(0.5 0.021 150.801);
  --popover: oklch(0.994 0.002 175.546);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.002 175.546);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.738 0.089 171.278);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.728 0.125 148.535);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.711 0.071 213.575);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.362 0.141 28.118);
  --destructive-foreground: oklch(0.843 0.077 18.797);
  --ring: oklch(0.738 0.089 171.278);
  --chart-1: oklch(0.738 0.089 171.278);
  --chart-2: oklch(0.728 0.125 148.535);
  --chart-3: oklch(0.711 0.071 213.575);
  --chart-4: oklch(0.747 0.116 148.849);
  --chart-5: oklch(0.744 0.095 170.943);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.015 175.514);
  --foreground: oklch(0.981 0.007 175.414);
  --muted: oklch(0.227 0.027 149.544);
  --muted-foreground: oklch(0.706 0.019 151.017);
  --popover: oklch(0.141 0.015 175.514);
  --popover-foreground: oklch(0.981 0.007 175.414);
  --card: oklch(0.141 0.015 175.514);
  --card-foreground: oklch(0.981 0.007 175.414);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.738 0.089 171.278);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.728 0.125 148.535);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.711 0.071 213.575);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.601 0.238 28.472);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.089 171.278);
  --chart-1: oklch(0.738 0.089 171.278);
  --chart-2: oklch(0.728 0.125 148.535);
  --chart-3: oklch(0.711 0.071 213.575);
  --chart-4: oklch(0.747 0.116 148.849);
  --chart-5: oklch(0.744 0.095 170.943);
}