Terrific for shadcn/ui

Terrific is a shadcn/ui theme built around a vivid deep indigo primary color (#030521) with vivid deep violet accents (#0f0321). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid deep indigo primary (#030521) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#000000black
Foreground
#030517black
#ffffffwhite
Card
#fbfbfeghostwhite
#000000black
Card foreground
#030517black
#ffffffwhite
Popover
#fbfbfeghostwhite
#000000black
Popover foreground
#030517black
#ffffffwhite
Primary
#030521black
#030521black
Primary foreground
#c2c7falightsteelblue
#c2c7falightsteelblue
Secondary
#031421black
#031421black
Secondary foreground
#64b7f2cornflowerblue
#64b7f2cornflowerblue
Muted
#eff0f1whitesmoke
#0e0f10black
Muted foreground
#434e56darkslategray
#a9b4bcdarkgray
Accent
#0f0321black
#0f0321black
Accent foreground
#d9c2fathistle
#d9c2fathistle
Destructive
#c2480fchocolate
#f06f33tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#030521black
#030521black

Contrast

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

Light mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button12.24:1AAA
Secondary button8.50:1AAA
Muted text7.46:1AAA
Accent12.36:1AAA
Destructive4.96:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button12.24:1AAA
Secondary button8.50:1AAA
Muted text9.05:1AAA
Accent12.36:1AAA
Destructive7.00:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.003 282.154);
  --foreground: oklch(0.124 0.043 272.137);
  --muted: oklch(0.954 0.002 238.389);
  --muted-foreground: oklch(0.417 0.02 239.095);
  --popover: oklch(0.989 0.003 282.154);
  --popover-foreground: oklch(0.124 0.043 272.137);
  --card: oklch(0.989 0.003 282.154);
  --card-foreground: oklch(0.124 0.043 272.137);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.139 0.059 269.897);
  --primary-foreground: oklch(0.842 0.071 280.679);
  --secondary: oklch(0.185 0.036 240.397);
  --secondary-foreground: oklch(0.75 0.117 241.712);
  --accent: oklch(0.148 0.064 299.497);
  --accent-foreground: oklch(0.852 0.08 303.739);
  --destructive: oklch(0.562 0.169 40.361);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.139 0.059 269.897);
  --chart-1: oklch(0.139 0.059 269.897);
  --chart-2: oklch(0.185 0.036 240.397);
  --chart-3: oklch(0.148 0.064 299.497);
  --chart-4: oklch(0.222 0.047 243.01);
  --chart-5: oklch(0.137 0.062 268.931);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.17 0.003 238.595);
  --muted-foreground: oklch(0.764 0.018 238.694);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.139 0.059 269.897);
  --primary-foreground: oklch(0.842 0.071 280.679);
  --secondary: oklch(0.185 0.036 240.397);
  --secondary-foreground: oklch(0.75 0.117 241.712);
  --accent: oklch(0.148 0.064 299.497);
  --accent-foreground: oklch(0.852 0.08 303.739);
  --destructive: oklch(0.687 0.174 43.013);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.139 0.059 269.897);
  --chart-1: oklch(0.139 0.059 269.897);
  --chart-2: oklch(0.185 0.036 240.397);
  --chart-3: oklch(0.148 0.064 299.497);
  --chart-4: oklch(0.222 0.047 243.01);
  --chart-5: oklch(0.137 0.062 268.931);
}