Marimba for shadcn/ui

Marimba is a shadcn/ui theme built around a light green primary color (#dcefbe) with light pink accents (#efbedc). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the light green primary (#dcefbe) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#030401black
Foreground
#0f1703black
#fafbf9snow
Card
#fdfdfcwhite
#030401black
Card foreground
#0f1703black
#fafbf9snow
Popover
#fdfdfcwhite
#030401black
Popover foreground
#0f1703black
#fafbf9snow
Primary
#dcefbepalegoldenrod
#dcefbepalegoldenrod
Primary foreground
#0c1004black
#0c1004black
Secondary
#bedcefpowderblue
#bedcefpowderblue
Secondary foreground
#184662darkslategray
#184662darkslategray
Muted
#c9dce8gainsboro
#172a36darkslategray
Muted foreground
#4f5559darkslategray
#a6acb0darkgray
Accent
#efbedcthistle
#efbedcthistle
Accent foreground
#621846indigo
#621846indigo
Destructive
#d84e03chocolate
#fb610eorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dcefbepalegoldenrod
#dcefbepalegoldenrod

Contrast

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

Light mode
Text on background18.05:1AAA
Text on card18.05:1AAA
Primary button15.65:1AAA
Secondary button7.00:1AAA
Muted text5.37:1AA
Accent7.49:1AAA
Destructive4.19:1AA Large
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button15.65:1AAA
Secondary button7.00:1AAA
Muted text6.45:1AA
Accent7.49:1AAA
Destructive6.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 123.675);
  --foreground: oklch(0.19 0.041 126.095);
  --muted: oklch(0.885 0.026 234.946);
  --muted-foreground: oklch(0.447 0.01 234.843);
  --popover: oklch(0.994 0.002 123.675);
  --popover-foreground: oklch(0.19 0.041 126.095);
  --card: oklch(0.994 0.002 123.675);
  --card-foreground: oklch(0.19 0.041 126.095);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.067 124.751);
  --primary-foreground: oklch(0.165 0.027 124.774);
  --secondary: oklch(0.878 0.041 235.246);
  --secondary-foreground: oklch(0.376 0.069 239.678);
  --accent: oklch(0.853 0.068 341.15);
  --accent-foreground: oklch(0.349 0.116 346.93);
  --destructive: oklch(0.605 0.186 40.692);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.067 124.751);
  --chart-1: oklch(0.925 0.067 124.751);
  --chart-2: oklch(0.878 0.041 235.246);
  --chart-3: oklch(0.853 0.068 341.15);
  --chart-4: oklch(0.901 0.033 235.075);
  --chart-5: oklch(0.927 0.071 124.804);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.012 123.143);
  --foreground: oklch(0.986 0.002 123.665);
  --muted: oklch(0.274 0.033 236.996);
  --muted-foreground: oklch(0.741 0.009 234.682);
  --popover: oklch(0.099 0.012 123.143);
  --popover-foreground: oklch(0.986 0.002 123.665);
  --card: oklch(0.099 0.012 123.143);
  --card-foreground: oklch(0.986 0.002 123.665);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.067 124.751);
  --primary-foreground: oklch(0.165 0.027 124.774);
  --secondary: oklch(0.878 0.041 235.246);
  --secondary-foreground: oklch(0.376 0.069 239.678);
  --accent: oklch(0.853 0.068 341.15);
  --accent-foreground: oklch(0.349 0.116 346.93);
  --destructive: oklch(0.684 0.204 41.664);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.925 0.067 124.751);
  --chart-1: oklch(0.925 0.067 124.751);
  --chart-2: oklch(0.878 0.041 235.246);
  --chart-3: oklch(0.853 0.068 341.15);
  --chart-4: oklch(0.901 0.033 235.075);
  --chart-5: oklch(0.927 0.071 124.804);
}