Kit for shadcn/ui

Kit is a shadcn/ui theme built around a light teal primary color (#e1f3f4) with light blue accents (#e1eaf4). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the light teal primary (#e1f3f4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#000000black
Foreground
#020808black
#ffffffwhite
Card
#f2fcfcazure
#030303black
Card foreground
#010404black
#ffffffwhite
Popover
#f7fdfdmintcream
#000000black
Popover foreground
#020808black
#ffffffwhite
Primary
#e1f3f4lavender
#e1f3f4lavender
Primary foreground
#112b2cdarkslategray
#112b2cdarkslategray
Secondary
#e1f4echoneydew
#e1f4echoneydew
Secondary foreground
#112c20black
#112c20black
Muted
#e2eee9lavender
#111d18black
Muted foreground
#516c60dimgray
#93aea2darkgray
Accent
#e1eaf4lavender
#e1eaf4lavender
Accent foreground
#2d4e76darkslateblue
#2d4e76darkslateblue
Destructive
#750e01maroon
#fe3e25orangered
Destructive foreground
#ffb3a9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1f3f4lavender
#e1f3f4lavender

Contrast

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

Light mode
Text on background19.60:1AAA
Text on card19.70:1AAA
Primary button13.03:1AAA
Secondary button13.04:1AAA
Muted text4.80:1AA
Accent7.00:1AAA
Destructive6.75:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button13.03:1AAA
Secondary button13.04:1AAA
Muted text7.28:1AAA
Accent7.00:1AAA
Destructive3.54:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 200.806);
  --foreground: oklch(0.125 0.015 198.544);
  --muted: oklch(0.938 0.014 167.396);
  --muted-foreground: oklch(0.505 0.036 165.636);
  --popover: oklch(0.989 0.007 200.806);
  --popover-foreground: oklch(0.125 0.015 198.544);
  --card: oklch(0.984 0.01 200.765);
  --card-foreground: oklch(0.1 0.012 198.544);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.951 0.018 200.66);
  --primary-foreground: oklch(0.269 0.032 199.979);
  --secondary: oklch(0.951 0.022 167.153);
  --secondary-foreground: oklch(0.269 0.041 162.326);
  --accent: oklch(0.933 0.016 253.333);
  --accent-foreground: oklch(0.418 0.078 254.337);
  --destructive: oklch(0.36 0.137 31.604);
  --destructive-foreground: oklch(0.835 0.09 27.532);
  --ring: oklch(0.951 0.018 200.66);
  --chart-1: oklch(0.951 0.018 200.66);
  --chart-2: oklch(0.951 0.022 167.153);
  --chart-3: oklch(0.933 0.016 253.333);
  --chart-4: oklch(0.969 0.014 167.412);
  --chart-5: oklch(0.952 0.02 200.646);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.216 0.019 165.042);
  --muted-foreground: oklch(0.727 0.034 166.461);
  --popover: oklch(0 0 0);
  --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.951 0.018 200.66);
  --primary-foreground: oklch(0.269 0.032 199.979);
  --secondary: oklch(0.951 0.022 167.153);
  --secondary-foreground: oklch(0.269 0.041 162.326);
  --accent: oklch(0.933 0.016 253.333);
  --accent-foreground: oklch(0.418 0.078 254.337);
  --destructive: oklch(0.654 0.23 31.037);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.951 0.018 200.66);
  --chart-1: oklch(0.951 0.018 200.66);
  --chart-2: oklch(0.951 0.022 167.153);
  --chart-3: oklch(0.933 0.016 253.333);
  --chart-4: oklch(0.969 0.014 167.412);
  --chart-5: oklch(0.952 0.02 200.646);
}