Testimonial for shadcn/ui

Testimonial is a shadcn/ui theme built around a vivid deep teal primary color (#0a856e) with vivid deep cyan accents (#0a5e85). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#0a856e) on a teal-tinted background (#04100e).

Color palette

TokenLightDark
Background
#ffffffwhite
#04100eblack
Foreground
#020d0bblack
#f5faf9mintcream
Card
#fcfcfcsnow
#051412black
Card foreground
#010908black
#f8fcfbmintcream
Popover
#fcfcfcsnow
#051412black
Popover foreground
#010908black
#f8fcfbmintcream
Primary
#0a856eteal
#0a856eteal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#0a8531forestgreen
#0a8531forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dfe7e1gainsboro
#18201bblack
Muted foreground
#404a43darkslategray
#b5bfb8silver
Accent
#0a5e85teal
#0a5e85teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d12610firebrick
#ee341borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0a856eteal
#0a856eteal

Contrast

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

Light mode
Text on background19.71:1AAA
Text on card19.68:1AAA
Primary button4.58:1AA
Secondary button4.77:1AA
Muted text7.31:1AAA
Accent7.12:1AAA
Destructive5.26:1AA
Dark mode
Text on background18.32:1AAA
Text on card18.17:1AAA
Primary button4.58:1AA
Secondary button4.77:1AA
Muted text8.79:1AAA
Accent7.12:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.147 0.021 182.798);
  --muted: oklch(0.92 0.012 156.305);
  --muted-foreground: oklch(0.397 0.017 155.71);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.128 0.018 184.015);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.128 0.018 184.015);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.551 0.102 174.931);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.538 0.156 147.142);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.456 0.095 236.49);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.555 0.207 30.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.551 0.102 174.931);
  --chart-1: oklch(0.551 0.102 174.931);
  --chart-2: oklch(0.538 0.156 147.142);
  --chart-3: oklch(0.456 0.095 236.49);
  --chart-4: oklch(0.579 0.169 147.03);
  --chart-5: oklch(0.557 0.104 174.647);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.02 181.839);
  --foreground: oklch(0.981 0.006 184.144);
  --muted: oklch(0.234 0.016 155.095);
  --muted-foreground: oklch(0.795 0.014 156.208);
  --popover: oklch(0.177 0.023 180.88);
  --popover-foreground: oklch(0.987 0.004 184.201);
  --card: oklch(0.177 0.023 180.88);
  --card-foreground: oklch(0.987 0.004 184.201);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.551 0.102 174.931);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.538 0.156 147.142);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.456 0.095 236.49);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.618 0.224 31.033);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.551 0.102 174.931);
  --chart-1: oklch(0.551 0.102 174.931);
  --chart-2: oklch(0.538 0.156 147.142);
  --chart-3: oklch(0.456 0.095 236.49);
  --chart-4: oklch(0.579 0.169 147.03);
  --chart-5: oklch(0.557 0.104 174.647);
}