Tutu for shadcn/ui

Tutu is a shadcn/ui theme built around a teal primary color (#63b091) with muted light teal accents (#cbe1d8). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the teal primary (#63b091) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#050a08black
Foreground
#03170fblack
#ffffffwhite
Card
#f8fcfamintcream
#050a08black
Card foreground
#03170fblack
#ffffffwhite
Popover
#f8fcfamintcream
#050a08black
Popover foreground
#03170fblack
#ffffffwhite
Primary
#63b091cadetblue
#63b091cadetblue
Primary foreground
#000000black
#000000black
Secondary
#e4ece9lavender
#1c211fblack
Secondary foreground
#17211dblack
#b2bdb9silver
Muted
#dce5e1gainsboro
#1a2320black
Muted foreground
#526b61dimgray
#94ada3darkgray
Accent
#cbe1d8lightgrey
#2a3732darkslategray
Accent foreground
#2d4e41darkslategray
#c2d1cblightgrey
Destructive
#970f02darkred
#e21603red
Destructive foreground
#fed1cdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#63b091cadetblue
#63b091cadetblue

Contrast

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

Light mode
Text on background17.88:1AAA
Text on card17.88:1AAA
Primary button8.18:1AAA
Secondary button13.75:1AAA
Muted text4.49:1AA Large
Accent6.73:1AA
Destructive6.39:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button8.18:1AAA
Secondary button8.44:1AAA
Muted text6.70:1AA
Accent7.83:1AAA
Destructive4.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 170.494);
  --foreground: oklch(0.184 0.033 165.611);
  --muted: oklch(0.914 0.011 170.276);
  --muted-foreground: oklch(0.504 0.033 168.592);
  --popover: oklch(0.987 0.004 170.494);
  --popover-foreground: oklch(0.184 0.033 165.611);
  --card: oklch(0.987 0.004 170.494);
  --card-foreground: oklch(0.184 0.033 165.611);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.7 0.09 166.065);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.936 0.01 170.321);
  --secondary-foreground: oklch(0.237 0.016 168.47);
  --accent: oklch(0.892 0.026 169.755);
  --accent-foreground: oklch(0.393 0.045 166.693);
  --destructive: oklch(0.43 0.168 30.348);
  --destructive-foreground: oklch(0.898 0.052 24.235);
  --ring: oklch(0.7 0.09 166.065);
  --chart-1: oklch(0.7 0.09 166.065);
  --chart-2: oklch(0.936 0.01 170.321);
  --chart-3: oklch(0.892 0.026 169.755);
  --chart-4: oklch(0.958 0.007 170.428);
  --chart-5: oklch(0.707 0.097 165.655);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 170.78);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.247 0.015 168.776);
  --muted-foreground: oklch(0.726 0.031 169.361);
  --popover: oklch(0.138 0.01 170.78);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.01 170.78);
  --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.7 0.09 166.065);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.242 0.008 169.636);
  --secondary-foreground: oklch(0.789 0.014 170.103);
  --accent: oklch(0.324 0.02 168.674);
  --accent-foreground: oklch(0.847 0.018 169.997);
  --destructive: oklch(0.579 0.23 30.047);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.09 166.065);
  --chart-1: oklch(0.7 0.09 166.065);
  --chart-2: oklch(0.242 0.008 169.636);
  --chart-3: oklch(0.324 0.02 168.674);
  --chart-4: oklch(0.275 0.01 169.57);
  --chart-5: oklch(0.707 0.097 165.655);
}