Dictaphone for shadcn/ui

Dictaphone is a shadcn/ui theme built around a muted deep teal primary color (#13201b) with muted light teal accents (#b8ccc4). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the muted deep teal primary (#13201b) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f7fcfamintcream
#010403black
Foreground
#010906black
#fcfdfdwhite
Card
#f7fcfamintcream
#010403black
Card foreground
#010906black
#fcfdfdwhite
Popover
#f7fcfamintcream
#010403black
Popover foreground
#010906black
#fcfdfdwhite
Primary
#13201bblack
#13201bblack
Primary foreground
#9fc6b7darkgray
#9fc6b7darkgray
Secondary
#cad3d0lightgrey
#2d2e2edarkslategray
Secondary foreground
#303b37darkslategray
#c6c7c7silver
Muted
#eef6f3whitesmoke
#09110eblack
Muted foreground
#48514edarkslategray
#aeb7b4darkgray
Accent
#b8ccc4silver
#39413edarkslategray
Accent foreground
#222f2adarkslategray
#d3d9d7lightgrey
Destructive
#a63707saddlebrown
#eb4d0aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#13201bblack
#13201bblack

Contrast

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

Light mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button8.99:1AAA
Secondary button7.62:1AAA
Muted text7.46:1AAA
Accent8.24:1AAA
Destructive6.60:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button8.99:1AAA
Secondary button7.99:1AAA
Muted text9.34:1AAA
Accent7.29:1AAA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 171.417);
  --foreground: oklch(0.127 0.02 171.938);
  --muted: oklch(0.967 0.009 171.323);
  --muted-foreground: oklch(0.426 0.013 170.68);
  --popover: oklch(0.988 0.006 171.417);
  --popover-foreground: oklch(0.127 0.02 171.938);
  --card: oklch(0.988 0.006 171.417);
  --card-foreground: oklch(0.127 0.02 171.938);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.229 0.02 168.707);
  --primary-foreground: oklch(0.793 0.046 169.81);
  --secondary: oklch(0.86 0.012 171.196);
  --secondary-foreground: oklch(0.341 0.016 170.169);
  --accent: oklch(0.827 0.024 170.744);
  --accent-foreground: oklch(0.293 0.02 169.458);
  --destructive: oklch(0.494 0.155 38.73);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.229 0.02 168.707);
  --chart-1: oklch(0.229 0.02 168.707);
  --chart-2: oklch(0.86 0.012 171.196);
  --chart-3: oklch(0.827 0.024 170.744);
  --chart-4: oklch(0.882 0.01 171.269);
  --chart-5: oklch(0.231 0.022 168.363);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 171.812);
  --foreground: oklch(0.993 0.001 171.571);
  --muted: oklch(0.167 0.013 169.123);
  --muted-foreground: oklch(0.771 0.011 171.162);
  --popover: oklch(0.097 0.01 171.812);
  --popover-foreground: oklch(0.993 0.001 171.571);
  --card: oklch(0.097 0.01 171.812);
  --card-foreground: oklch(0.993 0.001 171.571);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.229 0.02 168.707);
  --primary-foreground: oklch(0.793 0.046 169.81);
  --secondary: oklch(0.302 0.001 171.453);
  --secondary-foreground: oklch(0.83 0.001 171.544);
  --accent: oklch(0.368 0.013 170.568);
  --accent-foreground: oklch(0.88 0.007 171.366);
  --destructive: oklch(0.635 0.204 38.099);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.229 0.02 168.707);
  --chart-1: oklch(0.229 0.02 168.707);
  --chart-2: oklch(0.302 0.001 171.453);
  --chart-3: oklch(0.368 0.013 170.568);
  --chart-4: oklch(0.332 0.002 171.449);
  --chart-5: oklch(0.231 0.022 168.363);
}