Listening for shadcn/ui

Listening is a shadcn/ui theme built around a vivid green primary color (#59e89e) with vivid orange accents (#e89e59). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#59e89e) on a green-tinted background (#030c08).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#030c08black
Foreground
#010402black
#ffffffwhite
Card
#fcfdfcwhite
#030c08black
Card foreground
#010402black
#ffffffwhite
Popover
#fcfdfcwhite
#030c08black
Popover foreground
#010402black
#ffffffwhite
Primary
#59e89emediumaquamarine
#59e89emediumaquamarine
Primary foreground
#020d07black
#020d07black
Secondary
#9e59e8mediumpurple
#9e59e8mediumpurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8e3edlavender
#17121cblack
Muted foreground
#474748darkslategray
#b8b7b8silver
Accent
#e89e59sandybrown
#e89e59sandybrown
Accent foreground
#0d0702black
#0d0702black
Destructive
#bd0900firebrick
#ff2a1forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59e89emediumaquamarine
#59e89emediumaquamarine

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button12.69:1AAA
Secondary button4.15:1AA Large
Muted text7.34:1AAA
Accent9.05:1AAA
Destructive6.56:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button12.69:1AAA
Secondary button4.15:1AA Large
Muted text9.23:1AAA
Accent9.05:1AAA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 164.227);
  --foreground: oklch(0.099 0.014 164.404);
  --muted: oklch(0.922 0.015 307.597);
  --muted-foreground: oklch(0.398 0.003 307.715);
  --popover: oklch(0.993 0.002 164.227);
  --popover-foreground: oklch(0.099 0.014 164.404);
  --card: oklch(0.993 0.002 164.227);
  --card-foreground: oklch(0.099 0.014 164.404);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.836 0.163 157.248);
  --primary-foreground: oklch(0.145 0.025 163.674);
  --secondary: oklch(0.611 0.21 302.92);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.759 0.123 62.25);
  --accent-foreground: oklch(0.137 0.021 75.753);
  --destructive: oklch(0.503 0.203 29.801);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.836 0.163 157.248);
  --chart-1: oklch(0.836 0.163 157.248);
  --chart-2: oklch(0.611 0.21 302.92);
  --chart-3: oklch(0.759 0.123 62.25);
  --chart-4: oklch(0.64 0.194 303.689);
  --chart-5: oklch(0.842 0.168 156.983);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.019 164.085);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.192 0.022 306.425);
  --muted-foreground: oklch(0.78 0.002 307.757);
  --popover: oklch(0.142 0.019 164.085);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.019 164.085);
  --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.836 0.163 157.248);
  --primary-foreground: oklch(0.145 0.025 163.674);
  --secondary: oklch(0.611 0.21 302.92);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.759 0.123 62.25);
  --accent-foreground: oklch(0.137 0.021 75.753);
  --destructive: oklch(0.642 0.244 29.195);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.836 0.163 157.248);
  --chart-1: oklch(0.836 0.163 157.248);
  --chart-2: oklch(0.611 0.21 302.92);
  --chart-3: oklch(0.759 0.123 62.25);
  --chart-4: oklch(0.64 0.194 303.689);
  --chart-5: oklch(0.842 0.168 156.983);
}