Money for shadcn/ui

Money is a shadcn/ui theme built around a teal primary color (#6ccbaf) with yellow accents (#cbaf6c). The light mode uses a neutral background (#f6fdfb). Dark mode keeps the teal primary (#6ccbaf) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#f6fdfbmintcream
#020303black
Foreground
#030d0ablack
#fcfdfdwhite
Card
#f6fdfbmintcream
#020303black
Card foreground
#030d0ablack
#fcfdfdwhite
Popover
#f6fdfbmintcream
#020303black
Popover foreground
#030d0ablack
#fcfdfdwhite
Primary
#6ccbafmediumaquamarine
#6ccbafmediumaquamarine
Primary foreground
#010403black
#010403black
Secondary
#af6ccbmediumorchid
#af6ccbmediumorchid
Secondary foreground
#000000black
#000000black
Muted
#dfd3e4gainsboro
#271b2cdarkslategray
Muted foreground
#575558dimgray
#a9a7aadarkgray
Accent
#cbaf6cdarkkhaki
#cbaf6cdarkkhaki
Accent foreground
#040301black
#040301black
Destructive
#ad3510firebrick
#ea4e1fchocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6ccbafmediumaquamarine
#6ccbafmediumaquamarine

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button10.60:1AAA
Secondary button5.81:1AA
Muted text5.10:1AA
Accent9.68:1AAA
Destructive6.40:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button10.60:1AAA
Secondary button5.81:1AA
Muted text6.86:1AA
Accent9.68:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 176.421);
  --foreground: oklch(0.144 0.019 176.04);
  --muted: oklch(0.881 0.027 315.914);
  --muted-foreground: oklch(0.453 0.006 315.971);
  --popover: oklch(0.99 0.008 176.421);
  --popover-foreground: oklch(0.144 0.019 176.04);
  --card: oklch(0.99 0.008 176.421);
  --card-foreground: oklch(0.144 0.019 176.04);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.776 0.101 171.879);
  --primary-foreground: oklch(0.098 0.01 176.817);
  --secondary: oklch(0.64 0.154 315.023);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.763 0.092 87.046);
  --accent-foreground: oklch(0.098 0.01 92.266);
  --destructive: oklch(0.503 0.162 35.908);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.101 171.879);
  --chart-1: oklch(0.776 0.101 171.879);
  --chart-2: oklch(0.64 0.154 315.023);
  --chart-3: oklch(0.763 0.092 87.046);
  --chart-4: oklch(0.667 0.142 315.173);
  --chart-5: oklch(0.782 0.106 171.588);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.007 176.764);
  --foreground: oklch(0.993 0.002 176.613);
  --muted: oklch(0.245 0.036 315.478);
  --muted-foreground: oklch(0.73 0.006 315.994);
  --popover: oklch(0.096 0.007 176.764);
  --popover-foreground: oklch(0.993 0.002 176.613);
  --card: oklch(0.096 0.007 176.764);
  --card-foreground: oklch(0.993 0.002 176.613);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.776 0.101 171.879);
  --primary-foreground: oklch(0.098 0.01 176.817);
  --secondary: oklch(0.64 0.154 315.023);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.763 0.092 87.046);
  --accent-foreground: oklch(0.098 0.01 92.266);
  --destructive: oklch(0.636 0.2 36.216);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.101 171.879);
  --chart-1: oklch(0.776 0.101 171.879);
  --chart-2: oklch(0.64 0.154 315.023);
  --chart-3: oklch(0.763 0.092 87.046);
  --chart-4: oklch(0.667 0.142 315.173);
  --chart-5: oklch(0.782 0.106 171.588);
}