Headline for shadcn/ui

Headline is a shadcn/ui theme built around a deep teal primary color (#101e18) with deep teal accents (#101d1e). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#101e18) on a teal-tinted background (#040b08).

Color palette

TokenLightDark
Background
#fbfefdwhite
#040b08black
Foreground
#020d08black
#ffffffwhite
Card
#f7fdfamintcream
#050f0bblack
Card foreground
#020906black
#ffffffwhite
Popover
#f7fdfamintcream
#050f0bblack
Popover foreground
#020906black
#ffffffwhite
Primary
#101e18black
#101e18black
Primary foreground
#97c9b3darkgray
#97c9b3darkgray
Secondary
#101e11black
#101e11black
Secondary foreground
#97c99adarkseagreen
#97c99adarkseagreen
Muted
#dce5dcgainsboro
#1a231bblack
Muted foreground
#5c6a5ddimgray
#95a396darkseagreen
Accent
#101d1eblack
#101d1eblack
Accent foreground
#97c6c9lightsteelblue
#97c6c9lightsteelblue
Destructive
#5f2007maroon
#f0652dtomato
Destructive foreground
#f8b9a0lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#101e18black
#101e18black

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.48:1AAA
Primary button9.25:1AAA
Secondary button9.14:1AAA
Muted text4.43:1AA Large
Accent9.21:1AAA
Destructive7.32:1AAA
Dark mode
Text on background19.83:1AAA
Text on card19.41:1AAA
Primary button9.25:1AAA
Secondary button9.14:1AAA
Muted text6.11:1AA
Accent9.21:1AAA
Destructive6.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 168.642);
  --foreground: oklch(0.144 0.022 168.317);
  --muted: oklch(0.913 0.015 147.381);
  --muted-foreground: oklch(0.51 0.026 147.02);
  --popover: oklch(0.988 0.006 168.55);
  --popover-foreground: oklch(0.125 0.019 169.021);
  --card: oklch(0.988 0.006 168.55);
  --card-foreground: oklch(0.125 0.019 169.021);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.22 0.024 165.179);
  --primary-foreground: oklch(0.795 0.061 166.348);
  --secondary: oklch(0.218 0.033 145.873);
  --secondary-foreground: oklch(0.789 0.085 146.409);
  --accent: oklch(0.22 0.019 201.573);
  --accent-foreground: oklch(0.794 0.05 201.675);
  --destructive: oklch(0.337 0.099 39.5);
  --destructive-foreground: oklch(0.837 0.082 42.525);
  --ring: oklch(0.22 0.024 165.179);
  --chart-1: oklch(0.22 0.024 165.179);
  --chart-2: oklch(0.218 0.033 145.873);
  --chart-3: oklch(0.22 0.019 201.573);
  --chart-4: oklch(0.256 0.042 145.708);
  --chart-5: oklch(0.222 0.026 164.848);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.016 168.708);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.021 146.665);
  --muted-foreground: oklch(0.699 0.024 147.194);
  --popover: oklch(0.157 0.019 166.676);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.157 0.019 166.676);
  --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.22 0.024 165.179);
  --primary-foreground: oklch(0.795 0.061 166.348);
  --secondary: oklch(0.218 0.033 145.873);
  --secondary-foreground: oklch(0.789 0.085 146.409);
  --accent: oklch(0.22 0.019 201.573);
  --accent-foreground: oklch(0.794 0.05 201.675);
  --destructive: oklch(0.674 0.185 40.12);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.22 0.024 165.179);
  --chart-1: oklch(0.22 0.024 165.179);
  --chart-2: oklch(0.218 0.033 145.873);
  --chart-3: oklch(0.22 0.019 201.573);
  --chart-4: oklch(0.256 0.042 145.708);
  --chart-5: oklch(0.222 0.026 164.848);
}