Terrific for shadcn/ui

Terrific is a shadcn/ui theme built around a vivid light teal primary color (#ccf9fa) with vivid light yellow accents (#f9facc). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#ccf9fa) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#fbfefewhite
#040b0bblack
Foreground
#031111black
#fbfdfdwhite
Card
#f8fcfcmintcream
#050f0fblack
Card foreground
#030d0dblack
#ffffffwhite
Popover
#f8fcfcmintcream
#050f0fblack
Popover foreground
#030d0dblack
#ffffffwhite
Primary
#ccf9falightcyan
#ccf9falightcyan
Primary foreground
#04292ablack
#04292ablack
Secondary
#faccf9lavender
#faccf9lavender
Secondary foreground
#860e84purple
#860e84purple
Muted
#e1d5e1gainsboro
#2a1e2adarkslategray
Muted foreground
#4f3b4fdarkslategray
#c4b0c4silver
Accent
#f9facclemonchiffon
#f9facclemonchiffon
Accent foreground
#292a04black
#292a04black
Destructive
#991906darkred
#f8533atomato
Destructive foreground
#fdd8d3mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ccf9falightcyan
#ccf9falightcyan

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card19.04:1AAA
Primary button13.63:1AAA
Secondary button6.25:1AA
Muted text7.16:1AAA
Accent13.68:1AAA
Destructive6.40:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.40:1AAA
Primary button13.63:1AAA
Secondary button6.25:1AA
Muted text7.89:1AAA
Accent13.68:1AAA
Destructive6.29:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 198.326);
  --foreground: oklch(0.164 0.021 196.601);
  --muted: oklch(0.887 0.021 326.241);
  --muted-foreground: oklch(0.381 0.043 326.926);
  --popover: oklch(0.988 0.005 198.29);
  --popover-foreground: oklch(0.146 0.018 196.482);
  --card: oklch(0.988 0.005 198.29);
  --card-foreground: oklch(0.146 0.018 196.482);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.951 0.046 197.684);
  --primary-foreground: oklch(0.256 0.04 196.62);
  --secondary: oklch(0.899 0.077 326.722);
  --secondary-foreground: oklch(0.439 0.191 329.061);
  --accent: oklch(0.972 0.059 108.231);
  --accent-foreground: oklch(0.274 0.055 110.468);
  --destructive: oklch(0.44 0.164 31.442);
  --destructive-foreground: oklch(0.913 0.042 28.238);
  --ring: oklch(0.951 0.046 197.684);
  --chart-1: oklch(0.951 0.046 197.684);
  --chart-2: oklch(0.899 0.077 326.722);
  --chart-3: oklch(0.972 0.059 108.231);
  --chart-4: oklch(0.926 0.056 326.529);
  --chart-5: oklch(0.952 0.047 197.663);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.014 196.84);
  --foreground: oklch(0.994 0.002 198.332);
  --muted: oklch(0.253 0.028 326.909);
  --muted-foreground: oklch(0.78 0.037 326.424);
  --popover: oklch(0.158 0.016 196.95);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.016 196.95);
  --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.951 0.046 197.684);
  --primary-foreground: oklch(0.256 0.04 196.62);
  --secondary: oklch(0.899 0.077 326.722);
  --secondary-foreground: oklch(0.439 0.191 329.061);
  --accent: oklch(0.972 0.059 108.231);
  --accent-foreground: oklch(0.274 0.055 110.468);
  --destructive: oklch(0.666 0.205 31.501);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.951 0.046 197.684);
  --chart-1: oklch(0.951 0.046 197.684);
  --chart-2: oklch(0.899 0.077 326.722);
  --chart-3: oklch(0.972 0.059 108.231);
  --chart-4: oklch(0.926 0.056 326.529);
  --chart-5: oklch(0.952 0.047 197.663);
}