Multimedia for shadcn/ui

Multimedia is a shadcn/ui theme built around a vivid green primary color (#3def0b) with vivid green accents (#0bef4c). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#3def0b) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#fbfefbwhite
#040703black
Foreground
#000000black
#ffffffwhite
Card
#fbfefbwhite
#040703black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefbwhite
#040703black
Popover foreground
#000000black
#ffffffwhite
Primary
#3def0blimegreen
#3def0blimegreen
Primary foreground
#0b2c02black
#0b2c02black
Secondary
#aeef0bgreenyellow
#aeef0bgreenyellow
Secondary foreground
#202c02black
#202c02black
Muted
#edf1e5beige
#171a0eblack
Muted foreground
#494a45darkslategray
#b9bab5silver
Accent
#0bef4cspringgreen
#0bef4cspringgreen
Accent foreground
#022c0eblack
#022c0eblack
Destructive
#e43601orangered
#e93701orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3def0blimegreen
#3def0blimegreen

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button9.82:1AAA
Secondary button10.62:1AAA
Muted text7.77:1AAA
Accent9.80:1AAA
Destructive4.33:1AA Large
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button9.82:1AAA
Secondary button10.62:1AAA
Muted text9.00:1AAA
Accent9.80:1AAA
Destructive4.17:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 138.893);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.951 0.016 119.594);
  --muted-foreground: oklch(0.407 0.01 119.709);
  --popover: oklch(0.995 0.005 138.893);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.995 0.005 138.893);
  --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.83 0.271 141.048);
  --primary-foreground: oklch(0.258 0.078 139.258);
  --secondary: oklch(0.875 0.224 126.896);
  --secondary-foreground: oklch(0.272 0.065 124.407);
  --accent: oklch(0.828 0.255 145.521);
  --accent-foreground: oklch(0.256 0.07 148.559);
  --destructive: oklch(0.602 0.216 34.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.83 0.271 141.048);
  --chart-1: oklch(0.83 0.271 141.048);
  --chart-2: oklch(0.875 0.224 126.896);
  --chart-3: oklch(0.828 0.255 145.521);
  --chart-4: oklch(0.891 0.225 126.422);
  --chart-5: oklch(0.839 0.276 141.157);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.017 137.565);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.212 0.023 121.213);
  --muted-foreground: oklch(0.787 0.008 119.482);
  --popover: oklch(0.122 0.017 137.565);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.017 137.565);
  --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.83 0.271 141.048);
  --primary-foreground: oklch(0.258 0.078 139.258);
  --secondary: oklch(0.875 0.224 126.896);
  --secondary-foreground: oklch(0.272 0.065 124.407);
  --accent: oklch(0.828 0.255 145.521);
  --accent-foreground: oklch(0.256 0.07 148.559);
  --destructive: oklch(0.612 0.219 34.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.83 0.271 141.048);
  --chart-1: oklch(0.83 0.271 141.048);
  --chart-2: oklch(0.875 0.224 126.896);
  --chart-3: oklch(0.828 0.255 145.521);
  --chart-4: oklch(0.891 0.225 126.422);
  --chart-5: oklch(0.839 0.276 141.157);
}