Big-hearted for shadcn/ui

Big-hearted is a shadcn/ui theme built around a vivid deep red primary color (#851f0f) with muted light red accents (#ddc8c5). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the vivid deep red primary (#851f0f) on a red-tinted background (#0f0706).

Color palette

TokenLightDark
Background
#fcf8f8snow
#0f0706black
Foreground
#110504black
#ffffffwhite
Card
#fbf5f4whitesmoke
#120907black
Card foreground
#0d0403black
#ffffffwhite
Popover
#fbf5f4whitesmoke
#120907black
Popover foreground
#0d0403black
#ffffffwhite
Primary
#851f0fmaroon
#851f0fmaroon
Primary foreground
#f9d2cdpink
#f9d2cdpink
Secondary
#e8dfdegainsboro
#332a29darkslategray
Secondary foreground
#57403ddarkolivegreen
#cdc2c1silver
Muted
#f1ebealinen
#150f0eblack
Muted foreground
#5e4d4adarkolivegreen
#b5a3a1darkgray
Accent
#ddc8c5lightgrey
#523b38darkslategray
Accent foreground
#472d2adarkslategray
#e4d9d8gainsboro
Destructive
#bd2405firebrick
#f42e06orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#851f0fmaroon
#851f0fmaroon

Contrast

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

Light mode
Text on background19.04:1AAA
Text on card18.76:1AAA
Primary button6.88:1AA
Secondary button7.28:1AAA
Muted text6.73:1AA
Accent7.85:1AAA
Destructive6.15:1AA
Dark mode
Text on background19.95:1AAA
Text on card19.67:1AAA
Primary button6.88:1AA
Secondary button8.02:1AAA
Muted text7.85:1AAA
Accent7.43:1AAA
Destructive4.01:1AA Large

CSS variables

Paste this into your globals.css to use Big-hearted in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 27.956);
  --foreground: oklch(0.137 0.024 33.949);
  --muted: oklch(0.943 0.006 27.968);
  --muted-foreground: oklch(0.436 0.024 28.317);
  --popover: oklch(0.974 0.007 27.968);
  --popover-foreground: oklch(0.123 0.02 34.755);
  --card: oklch(0.974 0.007 27.968);
  --card-foreground: oklch(0.123 0.02 34.755);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.407 0.14 31.657);
  --primary-foreground: oklch(0.897 0.045 28.269);
  --secondary: oklch(0.911 0.01 27.989);
  --secondary-foreground: oklch(0.396 0.033 28.589);
  --accent: oklch(0.85 0.024 28.098);
  --accent-foreground: oklch(0.328 0.038 28.97);
  --destructive: oklch(0.516 0.192 32.178);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.407 0.14 31.657);
  --chart-1: oklch(0.407 0.14 31.657);
  --chart-2: oklch(0.911 0.01 27.989);
  --chart-3: oklch(0.85 0.024 28.098);
  --chart-4: oklch(0.935 0.007 27.971);
  --chart-5: oklch(0.41 0.144 31.632);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.015 31.162);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.177 0.01 28.335);
  --muted-foreground: oklch(0.731 0.021 28.102);
  --popover: oklch(0.152 0.018 30.221);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.152 0.018 30.221);
  --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.407 0.14 31.657);
  --primary-foreground: oklch(0.897 0.045 28.269);
  --secondary: oklch(0.295 0.013 28.227);
  --secondary-foreground: oklch(0.823 0.012 28.013);
  --accent: oklch(0.378 0.033 28.63);
  --accent-foreground: oklch(0.894 0.012 28.006);
  --destructive: oklch(0.623 0.234 31.921);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.407 0.14 31.657);
  --chart-1: oklch(0.407 0.14 31.657);
  --chart-2: oklch(0.295 0.013 28.227);
  --chart-3: oklch(0.378 0.033 28.63);
  --chart-4: oklch(0.325 0.015 28.24);
  --chart-5: oklch(0.41 0.144 31.632);
}