Trashmob v1 for shadcn/ui

Trashmob v1 is a shadcn/ui theme built around a vivid deep teal primary color (#005b4c) with near-white accents (#f5f5f5). The light mode uses a neutral background (#f8fbf9). Dark mode keeps the vivid deep teal primary (#005b4c) on a green-tinted background (#050a06).

Color palette

TokenLightDark
Background
#f8fbf9mintcream
#050a06black
Foreground
#010401black
#f9fbf9mintcream
Card
#f8fbf9mintcream
#050a06black
Card foreground
#010401black
#f9fbf9mintcream
Popover
#f8fbf9mintcream
#050a06black
Popover foreground
#010401black
#f9fbf9mintcream
Primary
#005b4cdarkslategray
#005b4cdarkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#abc414yellowgreen
#abc414yellowgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3e2e9gainsboro
#17161dblack
Muted foreground
#535167dimgray
#9a98aedarkgray
Accent
#f5f5f5whitesmoke
#3a1b18black
Accent foreground
#171717black
#dbada9tan
Destructive
#c51c16firebrick
#e6201acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#dee3degainsboro
#1c211cblack
Input
#dee3degainsboro
#1c211cblack
Ring
#183a1bdarkgreen
#183a1bdarkgreen

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button8.07:1AAA
Secondary button1.97:1Fail
Muted text5.97:1AA
Accent16.45:1AAA
Destructive5.89:1AA
Dark mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button8.07:1AAA
Secondary button1.97:1Fail
Muted text6.38:1AA
Accent7.84:1AAA
Destructive4.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 148.012);
  --foreground: oklch(0.099 0.024 146.249);
  --muted: oklch(0.916 0.008 290.077);
  --muted-foreground: oklch(0.444 0.036 288.666);
  --popover: oklch(0.986 0.005 148.012);
  --popover-foreground: oklch(0.099 0.024 146.249);
  --card: oklch(0.986 0.005 148.012);
  --card-foreground: oklch(0.099 0.024 146.249);
  --border: oklch(0.911 0.009 147.96);
  --input: oklch(0.911 0.009 147.96);
  --primary: oklch(0.421 0.078 176.395);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.774 0.178 118.657);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.97 0 180);
  --accent-foreground: oklch(0.204 0 180);
  --destructive: oklch(0.528 0.202 28.792);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.312 0.066 145.445);
  --chart-1: oklch(0.312 0.066 145.445);
  --chart-2: oklch(0.233 0.063 284.204);
  --chart-3: oklch(0.264 0.049 26.325);
  --chart-4: oklch(0.257 0.072 283.845);
  --chart-5: oklch(0.315 0.07 145.279);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.015 147.311);
  --foreground: oklch(0.986 0.004 148.017);
  --muted: oklch(0.206 0.012 289.111);
  --muted-foreground: oklch(0.689 0.032 289.353);
  --popover: oklch(0.137 0.015 147.311);
  --popover-foreground: oklch(0.986 0.004 148.017);
  --card: oklch(0.137 0.015 147.311);
  --card-foreground: oklch(0.986 0.004 148.017);
  --border: oklch(0.242 0.012 147.508);
  --input: oklch(0.242 0.012 147.508);
  --primary: oklch(0.421 0.078 176.395);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.774 0.178 118.657);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.264 0.049 26.325);
  --accent-foreground: oklch(0.788 0.054 24.39);
  --destructive: oklch(0.59 0.227 28.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.312 0.066 145.445);
  --chart-1: oklch(0.312 0.066 145.445);
  --chart-2: oklch(0.233 0.063 284.204);
  --chart-3: oklch(0.264 0.049 26.325);
  --chart-4: oklch(0.257 0.072 283.845);
  --chart-5: oklch(0.315 0.07 145.279);
}