Olympic Brick Hearth for shadcn/ui

Olympic Brick Hearth is a shadcn/ui theme built around a muted red primary color (#975f59) with muted light red accents (#e3d1cf). The light mode uses a neutral background (#fcf8f7). Dark mode keeps the muted red primary (#975f59) on a red-tinted background (#100604).

Color palette

TokenLightDark
Background
#fcf8f7snow
#100604black
Foreground
#160503black
#fcf8f8snow
Card
#fcf8f7snow
#100604black
Card foreground
#160503black
#fcf8f8snow
Popover
#fcf8f7snow
#100604black
Popover foreground
#160503black
#fcf8f8snow
Primary
#975f59sienna
#975f59sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eae2e1gainsboro
#1f1919black
Secondary foreground
#594340darkolivegreen
#beaeacdarkgray
Muted
#e4ddddgainsboro
#221c1bblack
Muted foreground
#4e4241darkslategray
#beb2b1silver
Accent
#e3d1cflightgrey
#362726darkslategray
Accent foreground
#50322fdarkslategray
#d1bfbdsilver
Destructive
#752900saddlebrown
#e65000orangered
Destructive foreground
#ffc7a8navajowhite
#ffffffwhite
Border
#ebe6e5linen
#251e1dblack
Input
#ebe6e5linen
#251e1dblack
Ring
#975f59sienna
#975f59sienna

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button5.13:1AA
Secondary button7.16:1AAA
Muted text7.21:1AAA
Accent7.75:1AAA
Destructive6.72:1AA
Dark mode
Text on background19.00:1AAA
Text on card19.00:1AAA
Primary button5.13:1AA
Secondary button8.09:1AAA
Muted text8.16:1AAA
Accent8.04:1AAA
Destructive3.81:1AA Large

CSS variables

Paste this into your globals.css to use Olympic Brick Hearth in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 25.031);
  --foreground: oklch(0.147 0.035 31.921);
  --muted: oklch(0.904 0.007 25.057);
  --muted-foreground: oklch(0.392 0.016 25.378);
  --popover: oklch(0.982 0.005 25.031);
  --popover-foreground: oklch(0.147 0.035 31.921);
  --card: oklch(0.982 0.005 25.031);
  --card-foreground: oklch(0.147 0.035 31.921);
  --border: oklch(0.928 0.006 25.042);
  --input: oklch(0.928 0.006 25.042);
  --primary: oklch(0.545 0.075 26.667);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.919 0.008 25.063);
  --secondary-foreground: oklch(0.405 0.031 25.798);
  --accent: oklch(0.874 0.02 25.193);
  --accent-foreground: oklch(0.354 0.044 26.476);
  --destructive: oklch(0.39 0.116 42.521);
  --destructive-foreground: oklch(0.871 0.076 49.629);
  --ring: oklch(0.545 0.075 26.667);
  --chart-1: oklch(0.545 0.075 26.667);
  --chart-2: oklch(0.919 0.008 25.063);
  --chart-3: oklch(0.874 0.02 25.193);
  --chart-4: oklch(0.943 0.006 25.038);
  --chart-5: oklch(0.544 0.084 26.938);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.021 29.618);
  --foreground: oklch(0.983 0.004 25.02);
  --muted: oklch(0.233 0.011 25.422);
  --muted-foreground: oklch(0.774 0.013 25.138);
  --popover: oklch(0.136 0.021 29.618);
  --popover-foreground: oklch(0.983 0.004 25.02);
  --card: oklch(0.136 0.021 29.618);
  --card-foreground: oklch(0.983 0.004 25.02);
  --border: oklch(0.243 0.012 25.482);
  --input: oklch(0.243 0.012 25.482);
  --primary: oklch(0.545 0.075 26.667);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.222 0.01 25.408);
  --secondary-foreground: oklch(0.764 0.019 25.206);
  --accent: oklch(0.291 0.023 25.819);
  --accent-foreground: oklch(0.819 0.021 25.216);
  --destructive: oklch(0.629 0.197 40.115);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.545 0.075 26.667);
  --chart-1: oklch(0.545 0.075 26.667);
  --chart-2: oklch(0.222 0.01 25.408);
  --chart-3: oklch(0.291 0.023 25.819);
  --chart-4: oklch(0.253 0.012 25.447);
  --chart-5: oklch(0.544 0.084 26.938);
}