Marketer for shadcn/ui

Marketer is a shadcn/ui theme built around a deep red primary color (#51101c) with deep orange accents (#512510). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#51101c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfbsnow
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fefbfbsnow
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#fefbfbsnow
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#51101cmaroon
#51101cmaroon
Primary foreground
#eda6b3lightpink
#eda6b3lightpink
Secondary
#51103cindigo
#51103cindigo
Secondary foreground
#eda6d7plum
#eda6d7plum
Muted
#ded9dcgainsboro
#262125black
Muted foreground
#675160dimgray
#ae98a7darkgray
Accent
#512510maroon
#512510maroon
Accent foreground
#edbca6lightpink
#edbca6lightpink
Destructive
#732402maroon
#f04b05orangered
Destructive foreground
#fdc3aalightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#51101cmaroon
#51101cmaroon

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button7.43:1AAA
Secondary button7.41:1AAA
Muted text5.14:1AA
Accent7.64:1AAA
Destructive6.83:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.43:1AAA
Secondary button7.41:1AAA
Muted text5.90:1AA
Accent7.64:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 4.412);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.89 0.007 336.715);
  --muted-foreground: oklch(0.462 0.037 338.054);
  --popover: oklch(0.99 0.004 4.412);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.004 4.412);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.292 0.095 15.151);
  --primary-foreground: oklch(0.796 0.086 7.131);
  --secondary: oklch(0.305 0.108 343.582);
  --secondary-foreground: oklch(0.807 0.105 338.927);
  --accent: oklch(0.321 0.074 43.887);
  --accent-foreground: oklch(0.834 0.065 46.127);
  --destructive: oklch(0.379 0.118 39.491);
  --destructive-foreground: oklch(0.863 0.075 44.296);
  --ring: oklch(0.292 0.095 15.151);
  --chart-1: oklch(0.292 0.095 15.151);
  --chart-2: oklch(0.305 0.108 343.582);
  --chart-3: oklch(0.321 0.074 43.887);
  --chart-4: oklch(0.335 0.121 343.793);
  --chart-5: oklch(0.293 0.098 15.762);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.256 0.01 337.286);
  --muted-foreground: oklch(0.704 0.033 337.457);
  --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.292 0.095 15.151);
  --primary-foreground: oklch(0.796 0.086 7.131);
  --secondary: oklch(0.305 0.108 343.582);
  --secondary-foreground: oklch(0.807 0.105 338.927);
  --accent: oklch(0.321 0.074 43.887);
  --accent-foreground: oklch(0.834 0.065 46.127);
  --destructive: oklch(0.641 0.21 37.498);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.292 0.095 15.151);
  --chart-1: oklch(0.292 0.095 15.151);
  --chart-2: oklch(0.305 0.108 343.582);
  --chart-3: oklch(0.321 0.074 43.887);
  --chart-4: oklch(0.335 0.121 343.793);
  --chart-5: oklch(0.293 0.098 15.762);
}