Messy for shadcn/ui

Messy is a shadcn/ui theme built around a teal primary color (#3ee0cd) with muted light teal accents (#ced9d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#3ee0cd) on a teal-tinted background (#05100e).

Color palette

TokenLightDark
Background
#ffffffwhite
#05100eblack
Foreground
#031210black
#f6f9f8whitesmoke
Card
#ffffffwhite
#05100eblack
Card foreground
#031210black
#f6f9f8whitesmoke
Popover
#ffffffwhite
#05100eblack
Popover foreground
#031210black
#f6f9f8whitesmoke
Primary
#3ee0cdturquoise
#3ee0cdturquoise
Primary foreground
#0b463fdarkslategray
#0b463fdarkslategray
Secondary
#ced9d8lightgrey
#262c2bdarkslategray
Secondary foreground
#344240darkslategray
#bec6c5silver
Muted
#d7e0dfgainsboro
#1f2827darkslategray
Muted foreground
#506865dimgray
#97afacdarkgray
Accent
#ced9d8lightgrey
#262c2bdarkslategray
Accent foreground
#344240darkslategray
#bec6c5silver
Destructive
#c51c02firebrick
#fd2d0dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3ee0cdturquoise
#3ee0cdturquoise

Contrast

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

Light mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button6.47:1AA
Secondary button7.26:1AAA
Muted text4.44:1AA Large
Accent7.26:1AAA
Destructive5.93:1AA
Dark mode
Text on background18.27:1AAA
Text on card18.27:1AAA
Primary button6.47:1AA
Secondary button8.20:1AAA
Muted text6.47:1AA
Accent8.20:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.023 186.246);
  --muted: oklch(0.899 0.01 188.642);
  --muted-foreground: oklch(0.496 0.029 187.481);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.023 186.246);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.165 0.023 186.246);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.82 0.132 183.43);
  --primary-foreground: oklch(0.357 0.058 183.244);
  --secondary: oklch(0.877 0.011 188.601);
  --secondary-foreground: oklch(0.365 0.018 187.671);
  --accent: oklch(0.877 0.011 188.601);
  --accent-foreground: oklch(0.365 0.018 187.671);
  --destructive: oklch(0.527 0.203 31.146);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.82 0.132 183.43);
  --chart-1: oklch(0.82 0.132 183.43);
  --chart-2: oklch(0.877 0.011 188.601);
  --chart-3: oklch(0.877 0.011 188.601);
  --chart-4: oklch(0.899 0.009 188.663);
  --chart-5: oklch(0.828 0.135 183.238);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.16 0.018 186.801);
  --foreground: oklch(0.979 0.003 188.834);
  --muted: oklch(0.269 0.013 187.714);
  --muted-foreground: oklch(0.735 0.027 188.032);
  --popover: oklch(0.16 0.018 186.801);
  --popover-foreground: oklch(0.979 0.003 188.834);
  --card: oklch(0.16 0.018 186.801);
  --card-foreground: oklch(0.979 0.003 188.834);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.82 0.132 183.43);
  --primary-foreground: oklch(0.357 0.058 183.244);
  --secondary: oklch(0.286 0.008 188.224);
  --secondary-foreground: oklch(0.82 0.01 188.633);
  --accent: oklch(0.286 0.008 188.224);
  --accent-foreground: oklch(0.82 0.01 188.633);
  --destructive: oklch(0.638 0.242 31.205);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.82 0.132 183.43);
  --chart-1: oklch(0.82 0.132 183.43);
  --chart-2: oklch(0.286 0.008 188.224);
  --chart-3: oklch(0.286 0.008 188.224);
  --chart-4: oklch(0.318 0.009 188.197);
  --chart-5: oklch(0.828 0.135 183.238);
}