Cute for shadcn/ui

Cute is a shadcn/ui theme built around a vivid teal primary color (#53f3c8) with muted teal accents (#b0c9c3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#53f3c8) on a teal-tinted background (#04100d).

Color palette

TokenLightDark
Background
#ffffffwhite
#04100dblack
Foreground
#010403black
#fcfdfdwhite
Card
#fcfcfcsnow
#051410black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#04100dblack
Popover foreground
#010403black
#fcfdfdwhite
Primary
#53f3c8turquoise
#53f3c8turquoise
Primary foreground
#01130eblack
#01130eblack
Secondary
#cfd8d6lightgrey
#2a2d2cdarkslategray
Secondary foreground
#34413edarkslategray
#c2c7c5silver
Muted
#eaf5f2whitesmoke
#0a1512black
Muted foreground
#3c4945darkslategray
#b6c3c0silver
Accent
#b0c9c3silver
#3c4945darkslategray
Accent foreground
#1d2a27darkslategray
#d8dfddgainsboro
Destructive
#762304maroon
#f64809orangered
Destructive foreground
#fcc4b0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#53f3c8turquoise
#53f3c8turquoise

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button13.66:1AAA
Secondary button7.34:1AAA
Muted text8.46:1AAA
Accent8.50:1AAA
Destructive6.79:1AA
Dark mode
Text on background18.97:1AAA
Text on card18.82:1AAA
Primary button13.66:1AAA
Secondary button8.12:1AAA
Muted text10.24:1AAA
Accent6.96:1AA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.101 0.015 178.909);
  --muted: oklch(0.962 0.013 178.403);
  --muted-foreground: oklch(0.392 0.018 177.393);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.101 0.015 178.909);
  --card: oklch(0.992 0 161.565);
  --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.87 0.146 171.536);
  --primary-foreground: oklch(0.168 0.029 175.138);
  --secondary: oklch(0.875 0.011 178.423);
  --secondary-foreground: oklch(0.363 0.018 177.29);
  --accent: oklch(0.816 0.029 177.733);
  --accent-foreground: oklch(0.273 0.02 176.507);
  --destructive: oklch(0.383 0.122 37.562);
  --destructive-foreground: oklch(0.866 0.07 40.901);
  --ring: oklch(0.87 0.146 171.536);
  --chart-1: oklch(0.87 0.146 171.536);
  --chart-2: oklch(0.875 0.011 178.423);
  --chart-3: oklch(0.816 0.029 177.733);
  --chart-4: oklch(0.898 0.009 178.496);
  --chart-5: oklch(0.877 0.149 171.298);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.16 0.02 176.23);
  --foreground: oklch(0.993 0.001 178.764);
  --muted: oklch(0.183 0.018 175.592);
  --muted-foreground: oklch(0.807 0.015 178.227);
  --popover: oklch(0.16 0.02 176.23);
  --popover-foreground: oklch(0.993 0.001 178.764);
  --card: oklch(0.177 0.023 174.976);
  --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.87 0.146 171.536);
  --primary-foreground: oklch(0.168 0.029 175.138);
  --secondary: oklch(0.294 0.005 178.269);
  --secondary-foreground: oklch(0.825 0.005 178.593);
  --accent: oklch(0.392 0.018 177.393);
  --accent-foreground: oklch(0.897 0.008 178.522);
  --destructive: oklch(0.648 0.218 36.072);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.87 0.146 171.536);
  --chart-1: oklch(0.87 0.146 171.536);
  --chart-2: oklch(0.294 0.005 178.269);
  --chart-3: oklch(0.392 0.018 177.393);
  --chart-4: oklch(0.325 0.006 178.249);
  --chart-5: oklch(0.877 0.149 171.298);
}