Frigate for shadcn/ui

Frigate is a shadcn/ui theme built around a vivid deep pink primary color (#17020a) with vivid deep red accents (#170502). The light mode uses a neutral background (#fcf7f9). Dark mode keeps the vivid deep pink primary (#17020a) on a pink-tinted background (#0b0407).

Color palette

TokenLightDark
Background
#fcf7f9snow
#0b0407black
Foreground
#0c0306black
#f9f6f7whitesmoke
Card
#fcf7f9snow
#0b0407black
Card foreground
#0c0306black
#f9f6f7whitesmoke
Popover
#fcf7f9snow
#0b0407black
Popover foreground
#0c0306black
#f9f6f7whitesmoke
Primary
#17020ablack
#17020ablack
Primary foreground
#ee5d92palevioletred
#ee5d92palevioletred
Secondary
#170214black
#170214black
Secondary foreground
#ee5ddborchid
#ee5ddborchid
Muted
#f6eff5whitesmoke
#10090fblack
Muted foreground
#494148darkslategray
#beb6bdsilver
Accent
#170502black
#170502black
Accent foreground
#ee715dcoral
#ee715dcoral
Destructive
#cb2e15firebrick
#e9442bchocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#17020ablack
#17020ablack

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button6.29:1AA
Secondary button6.83:1AA
Muted text8.69:1AAA
Accent6.74:1AA
Destructive5.33:1AA
Dark mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button6.29:1AA
Secondary button6.83:1AA
Muted text9.92:1AAA
Accent6.74:1AA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 352.746);
  --foreground: oklch(0.12 0.024 352.481);
  --muted: oklch(0.958 0.011 329.826);
  --muted-foreground: oklch(0.385 0.016 330.191);
  --popover: oklch(0.982 0.006 352.746);
  --popover-foreground: oklch(0.12 0.024 352.481);
  --card: oklch(0.982 0.006 352.746);
  --card-foreground: oklch(0.12 0.024 352.481);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.143 0.045 356.716);
  --primary-foreground: oklch(0.68 0.184 0.473);
  --secondary: oklch(0.149 0.053 332.945);
  --secondary-foreground: oklch(0.707 0.225 333.271);
  --accent: oklch(0.148 0.036 35.774);
  --accent-foreground: oklch(0.693 0.159 30.516);
  --destructive: oklch(0.551 0.197 31.589);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.143 0.045 356.716);
  --chart-1: oklch(0.143 0.045 356.716);
  --chart-2: oklch(0.149 0.053 332.945);
  --chart-3: oklch(0.148 0.036 35.774);
  --chart-4: oklch(0.189 0.071 333.737);
  --chart-5: oklch(0.143 0.047 356.79);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.02 352.409);
  --foreground: oklch(0.976 0.003 352.659);
  --muted: oklch(0.154 0.018 331.003);
  --muted-foreground: oklch(0.785 0.014 329.895);
  --popover: oklch(0.122 0.02 352.409);
  --popover-foreground: oklch(0.976 0.003 352.659);
  --card: oklch(0.122 0.02 352.409);
  --card-foreground: oklch(0.976 0.003 352.659);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.143 0.045 356.716);
  --primary-foreground: oklch(0.68 0.184 0.473);
  --secondary: oklch(0.149 0.053 332.945);
  --secondary-foreground: oklch(0.707 0.225 333.271);
  --accent: oklch(0.148 0.036 35.774);
  --accent-foreground: oklch(0.693 0.159 30.516);
  --destructive: oklch(0.624 0.205 31.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.143 0.045 356.716);
  --chart-1: oklch(0.143 0.045 356.716);
  --chart-2: oklch(0.149 0.053 332.945);
  --chart-3: oklch(0.148 0.036 35.774);
  --chart-4: oklch(0.189 0.071 333.737);
  --chart-5: oklch(0.143 0.047 356.79);
}