Brief for shadcn/ui

Brief is a shadcn/ui theme built around a deep orange primary color (#1e150a) with muted orange accents (#cdc1b2). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#1e150a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfaf8snow
#000000black
Foreground
#000000black
#fdfdfcwhite
Card
#faf8f4whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#faf8f4whitesmoke
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#1e150ablack
#1e150ablack
Primary foreground
#d5b185tan
#d5b185tan
Secondary
#d4cfc9lightgrey
#2c2721darkslategray
Secondary foreground
#3c362fdarkslategray
#c8c0b6silver
Muted
#efebe6linen
#191510black
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#cdc1b2silver
#473c2edarkslategray
Accent foreground
#2e271edarkslategray
#ddd5cblightgrey
Destructive
#a00d08darkred
#e9140cred
Destructive foreground
#fddeddmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1e150ablack
#1e150ablack

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card19.77:1AAA
Primary button8.92:1AAA
Secondary button7.71:1AAA
Muted text5.22:1AA
Accent8.29:1AAA
Destructive6.52:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button8.92:1AAA
Secondary button8.25:1AAA
Muted text6.78:1AA
Accent7.40:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 73.193);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.942 0.008 73.157);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.979 0.005 73.179);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.005 73.179);
  --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.206 0.025 71.342);
  --primary-foreground: oklch(0.783 0.072 72.066);
  --secondary: oklch(0.857 0.011 73.126);
  --secondary-foreground: oklch(0.337 0.015 72.83);
  --accent: oklch(0.815 0.024 72.97);
  --accent-foreground: oklch(0.278 0.019 72.498);
  --destructive: oklch(0.448 0.177 29.134);
  --destructive-foreground: oklch(0.926 0.035 20.153);
  --ring: oklch(0.206 0.025 71.342);
  --chart-1: oklch(0.206 0.025 71.342);
  --chart-2: oklch(0.857 0.011 73.126);
  --chart-3: oklch(0.815 0.024 72.97);
  --chart-4: oklch(0.88 0.009 73.144);
  --chart-5: oklch(0.206 0.026 71.143);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 73.212);
  --muted: oklch(0.198 0.012 72.64);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.206 0.025 71.342);
  --primary-foreground: oklch(0.783 0.072 72.066);
  --secondary: oklch(0.275 0.013 72.793);
  --secondary-foreground: oklch(0.812 0.016 73.061);
  --accent: oklch(0.363 0.027 72.393);
  --accent-foreground: oklch(0.875 0.016 73.073);
  --destructive: oklch(0.59 0.236 29.241);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.206 0.025 71.342);
  --chart-1: oklch(0.206 0.025 71.342);
  --chart-2: oklch(0.275 0.013 72.793);
  --chart-3: oklch(0.363 0.027 72.393);
  --chart-4: oklch(0.307 0.015 72.768);
  --chart-5: oklch(0.206 0.026 71.143);
}