Inclusion for shadcn/ui

Inclusion is a shadcn/ui theme built around a teal primary color (#57d69b) with muted light teal accents (#cad3cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#57d69b) on a teal-tinted background (#040b08).

Color palette

TokenLightDark
Background
#ffffffwhite
#040b08black
Foreground
#020805black
#f9fbfamintcream
Card
#ffffffwhite
#040b08black
Card foreground
#020805black
#f9fbfamintcream
Popover
#ffffffwhite
#040b08black
Popover foreground
#020805black
#f9fbfamintcream
Primary
#57d69bmediumaquamarine
#57d69bmediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#cad3cflightgrey
#23342cdarkslategray
Secondary foreground
#313a36darkslategray
#b9cfc5silver
Muted
#ecf3f0whitesmoke
#0c1310black
Muted foreground
#596e64dimgray
#91a69cdarkseagreen
Accent
#cad3cflightgrey
#23342cdarkslategray
Accent foreground
#313a36darkslategray
#b9cfc5silver
Destructive
#b3270ffirebrick
#d93012firebrick
Destructive foreground
#fef7f6snow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#57d69bmediumaquamarine
#57d69bmediumaquamarine

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button11.51:1AAA
Secondary button7.67:1AAA
Muted text4.86:1AA
Accent7.67:1AAA
Destructive6.15:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button11.51:1AAA
Secondary button8.03:1AAA
Muted text7.29:1AAA
Accent8.03:1AAA
Destructive4.80:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.124 0.016 167.107);
  --muted: oklch(0.959 0.009 166.65);
  --muted-foreground: oklch(0.519 0.031 165.194);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.124 0.016 167.107);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.124 0.016 167.107);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.79 0.143 160.08);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.859 0.011 166.556);
  --secondary-foreground: oklch(0.339 0.015 165.64);
  --accent: oklch(0.859 0.011 166.556);
  --accent-foreground: oklch(0.339 0.015 165.64);
  --destructive: oklch(0.502 0.179 32.099);
  --destructive-foreground: oklch(0.981 0.008 29.496);
  --ring: oklch(0.79 0.143 160.08);
  --chart-1: oklch(0.79 0.143 160.08);
  --chart-2: oklch(0.859 0.011 166.556);
  --chart-3: oklch(0.859 0.011 166.556);
  --chart-4: oklch(0.881 0.009 166.621);
  --chart-5: oklch(0.797 0.148 159.756);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.016 166.898);
  --foreground: oklch(0.986 0.002 166.862);
  --muted: oklch(0.178 0.013 164.682);
  --muted-foreground: oklch(0.707 0.029 165.761);
  --popover: oklch(0.141 0.016 166.898);
  --popover-foreground: oklch(0.986 0.002 166.862);
  --card: oklch(0.141 0.016 166.898);
  --card-foreground: oklch(0.986 0.002 166.862);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.79 0.143 160.08);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.306 0.026 164.356);
  --secondary-foreground: oklch(0.836 0.028 165.966);
  --accent: oklch(0.306 0.026 164.356);
  --accent-foreground: oklch(0.836 0.028 165.966);
  --destructive: oklch(0.577 0.209 32.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.79 0.143 160.08);
  --chart-1: oklch(0.79 0.143 160.08);
  --chart-2: oklch(0.306 0.026 164.356);
  --chart-3: oklch(0.306 0.026 164.356);
  --chart-4: oklch(0.339 0.03 164.259);
  --chart-5: oklch(0.797 0.148 159.756);
}