Cue for shadcn/ui

Cue is a shadcn/ui theme built around a deep teal primary color (#071d13) with deep teal accents (#071b1d). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the deep teal primary (#071d13) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f7fcfamintcream
#010403black
Foreground
#030c08black
#fbfdfdwhite
Card
#f4fbf8mintcream
#030705black
Card foreground
#020805black
#ffffffwhite
Popover
#f7fcfamintcream
#010403black
Popover foreground
#030c08black
#fbfdfdwhite
Primary
#071d13black
#071d13black
Primary foreground
#2ec282mediumseagreen
#2ec282mediumseagreen
Secondary
#071d08black
#071d08black
Secondary foreground
#2ec237limegreen
#2ec237limegreen
Muted
#d2e9d4gainsboro
#162d17black
Muted foreground
#455e47darkslategray
#a1baa3darkgray
Accent
#071b1dblack
#071b1dblack
Accent foreground
#2eb8c2lightseagreen
#2eb8c2lightseagreen
Destructive
#9b3e08saddlebrown
#f2610dorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#071d13black
#071d13black

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.23:1AAA
Primary button7.67:1AAA
Secondary button7.48:1AAA
Muted text5.56:1AA
Accent7.37:1AAA
Destructive6.80:1AA
Dark mode
Text on background20.18:1AAA
Text on card20.22:1AAA
Primary button7.67:1AAA
Secondary button7.48:1AAA
Muted text7.10:1AAA
Accent7.37:1AAA
Destructive6.49:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 168.564);
  --foreground: oklch(0.142 0.018 168.569);
  --muted: oklch(0.912 0.038 147.124);
  --muted-foreground: oklch(0.454 0.047 146.452);
  --popover: oklch(0.988 0.006 168.564);
  --popover-foreground: oklch(0.142 0.018 168.569);
  --card: oklch(0.982 0.009 168.476);
  --card-foreground: oklch(0.124 0.016 168.981);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.209 0.035 162.814);
  --primary-foreground: oklch(0.724 0.154 159.065);
  --secondary: oklch(0.206 0.049 144.96);
  --secondary-foreground: oklch(0.713 0.215 143.652);
  --accent: oklch(0.208 0.027 201.564);
  --accent-foreground: oklch(0.718 0.113 202.31);
  --destructive: oklch(0.485 0.137 43.819);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.209 0.035 162.814);
  --chart-1: oklch(0.209 0.035 162.814);
  --chart-2: oklch(0.206 0.049 144.96);
  --chart-3: oklch(0.208 0.027 201.564);
  --chart-4: oklch(0.25 0.064 144.451);
  --chart-5: oklch(0.21 0.036 162.599);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 168.939);
  --foreground: oklch(0.994 0.002 168.666);
  --muted: oklch(0.27 0.049 145.504);
  --muted-foreground: oklch(0.763 0.042 146.986);
  --popover: oklch(0.097 0.01 168.939);
  --popover-foreground: oklch(0.994 0.002 168.666);
  --card: oklch(0.122 0.013 168.939);
  --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.209 0.035 162.814);
  --primary-foreground: oklch(0.724 0.154 159.065);
  --secondary: oklch(0.206 0.049 144.96);
  --secondary-foreground: oklch(0.713 0.215 143.652);
  --accent: oklch(0.208 0.027 201.564);
  --accent-foreground: oklch(0.718 0.113 202.31);
  --destructive: oklch(0.67 0.195 42.868);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.209 0.035 162.814);
  --chart-1: oklch(0.209 0.035 162.814);
  --chart-2: oklch(0.206 0.049 144.96);
  --chart-3: oklch(0.208 0.027 201.564);
  --chart-4: oklch(0.25 0.064 144.451);
  --chart-5: oklch(0.21 0.036 162.599);
}