Small for shadcn/ui

Small is a shadcn/ui theme built around a vivid deep cyan primary color (#095d72) with muted light cyan accents (#dee2e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#095d72) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010404black
#fbfdfdwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#010404black
#fbfdfdwhite
Primary
#095d72teal
#095d72teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dee2e3gainsboro
#1b1c1dblack
Secondary foreground
#424b4ddarkslategray
#b4b6b7silver
Muted
#e5eaeblavender
#14191ablack
Muted foreground
#454545darkslategray
#bababasilver
Accent
#dee2e3gainsboro
#1b1c1dblack
Accent foreground
#424b4ddarkslategray
#b4b6b7silver
Destructive
#832401maroon
#fd4908orangered
Destructive foreground
#fecbb8peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#095d72teal
#095d72teal

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button7.46:1AAA
Secondary button6.85:1AA
Muted text7.89:1AAA
Accent6.85:1AA
Destructive6.50:1AA
Dark mode
Text on background20.57:1AAA
Text on card20.67:1AAA
Primary button7.46:1AAA
Secondary button8.35:1AAA
Muted text9.15:1AAA
Accent8.35:1AAA
Destructive3.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.096 0.012 209.655);
  --muted: oklch(0.933 0.005 214.332);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.096 0.012 209.655);
  --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.443 0.079 221.042);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.91 0.004 214.33);
  --secondary-foreground: oklch(0.405 0.012 214.444);
  --accent: oklch(0.91 0.004 214.33);
  --accent-foreground: oklch(0.405 0.012 214.444);
  --destructive: oklch(0.409 0.136 37.008);
  --destructive-foreground: oklch(0.882 0.064 40.926);
  --ring: oklch(0.443 0.079 221.042);
  --chart-1: oklch(0.443 0.079 221.042);
  --chart-2: oklch(0.91 0.004 214.33);
  --chart-3: oklch(0.91 0.004 214.33);
  --chart-4: oklch(0.932 0.003 214.326);
  --chart-5: oklch(0.447 0.08 221.409);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 214.322);
  --muted: oklch(0.208 0.008 214.485);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 214.322);
  --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.443 0.079 221.042);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.227 0.001 214.334);
  --secondary-foreground: oklch(0.774 0.003 214.326);
  --accent: oklch(0.227 0.001 214.334);
  --accent-foreground: oklch(0.774 0.003 214.326);
  --destructive: oklch(0.66 0.224 35.89);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.443 0.079 221.042);
  --chart-1: oklch(0.443 0.079 221.042);
  --chart-2: oklch(0.227 0.001 214.334);
  --chart-3: oklch(0.227 0.001 214.334);
  --chart-4: oklch(0.26 0.002 214.335);
  --chart-5: oklch(0.447 0.08 221.409);
}