Strident for shadcn/ui

Strident is a shadcn/ui theme built around a vivid light teal primary color (#99f6fa) with vivid light red accents (#fa9c99). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#99f6fa) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#040b0bblack
Foreground
#020d0dblack
#f9fbfbghostwhite
Card
#ffffffwhite
#040b0bblack
Card foreground
#020d0dblack
#f9fbfbghostwhite
Popover
#ffffffwhite
#040b0bblack
Popover foreground
#020d0dblack
#f9fbfbghostwhite
Primary
#99f6fapaleturquoise
#99f6fapaleturquoise
Primary foreground
#05595cdarkslategray
#05595cdarkslategray
Secondary
#fa9c99lightsalmon
#fa9c99lightsalmon
Secondary foreground
#5c0805maroon
#5c0805maroon
Muted
#f5f0f0whitesmoke
#0f0a0ablack
Muted foreground
#4d4242darkslategray
#bdb2b2silver
Accent
#fa9c99lightsalmon
#fa9c99lightsalmon
Accent foreground
#5c0805maroon
#5c0805maroon
Destructive
#680b03maroon
#f9311forangered
Destructive foreground
#fda8a1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#99f6fapaleturquoise
#99f6fapaleturquoise

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button6.55:1AA
Secondary button6.90:1AA
Muted text8.54:1AAA
Accent6.90:1AA
Destructive6.87:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button6.55:1AA
Secondary button6.90:1AA
Muted text9.50:1AAA
Accent6.90:1AA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.02 197.575);
  --muted: oklch(0.959 0.005 19.683);
  --muted-foreground: oklch(0.391 0.015 20.181);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.02 197.575);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.146 0.02 197.575);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.918 0.089 198.538);
  --primary-foreground: oklch(0.423 0.07 198.761);
  --secondary: oklch(0.788 0.112 22.052);
  --secondary-foreground: oklch(0.305 0.116 29.036);
  --accent: oklch(0.788 0.112 22.052);
  --accent-foreground: oklch(0.305 0.116 29.036);
  --destructive: oklch(0.333 0.127 30.662);
  --destructive-foreground: oklch(0.813 0.101 25.226);
  --ring: oklch(0.918 0.089 198.538);
  --chart-1: oklch(0.918 0.089 198.538);
  --chart-2: oklch(0.788 0.112 22.052);
  --chart-3: oklch(0.788 0.112 22.052);
  --chart-4: oklch(0.816 0.095 21.526);
  --chart-5: oklch(0.921 0.091 198.521);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.013 198.09);
  --foreground: oklch(0.987 0.003 199.569);
  --muted: oklch(0.153 0.009 20.444);
  --muted-foreground: oklch(0.774 0.013 19.838);
  --popover: oklch(0.141 0.013 198.09);
  --popover-foreground: oklch(0.987 0.003 199.569);
  --card: oklch(0.141 0.013 198.09);
  --card-foreground: oklch(0.987 0.003 199.569);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.918 0.089 198.538);
  --primary-foreground: oklch(0.423 0.07 198.761);
  --secondary: oklch(0.788 0.112 22.052);
  --secondary-foreground: oklch(0.305 0.116 29.036);
  --accent: oklch(0.788 0.112 22.052);
  --accent-foreground: oklch(0.305 0.116 29.036);
  --destructive: oklch(0.636 0.235 30.013);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.918 0.089 198.538);
  --chart-1: oklch(0.918 0.089 198.538);
  --chart-2: oklch(0.788 0.112 22.052);
  --chart-3: oklch(0.788 0.112 22.052);
  --chart-4: oklch(0.816 0.095 21.526);
  --chart-5: oklch(0.921 0.091 198.521);
}