Infatuated for shadcn/ui

Infatuated is a shadcn/ui theme built around a deep orange primary color (#352a18) with muted light orange accents (#d0cbc3). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#352a18) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fcfaf8snow
#070603black
Foreground
#160f04black
#fbfaf8snow
Card
#fcfaf8snow
#070603black
Card foreground
#160f04black
#fbfaf8snow
Popover
#fcfaf8snow
#070603black
Popover foreground
#160f04black
#fbfaf8snow
Primary
#352a18darkslategray
#352a18darkslategray
Primary foreground
#d7c6a7tan
#d7c6a7tan
Secondary
#dbd9d6gainsboro
#32312fdarkslategray
Secondary foreground
#44413bdarkslategray
#cccac7lightgrey
Muted
#e5e2dcgainsboro
#23201ablack
Muted foreground
#575552dimgray
#adaca8darkgray
Accent
#d0cbc3lightgrey
#4f4940darkslategray
Accent foreground
#36322bdarkslategray
#e4e1ddgainsboro
Destructive
#cb2706firebrick
#f22f07orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#352a18darkslategray
#352a18darkslategray

Contrast

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

Light mode
Text on background18.32:1AAA
Text on card18.32:1AAA
Primary button8.37:1AAA
Secondary button7.24:1AAA
Muted text5.73:1AA
Accent7.90:1AAA
Destructive5.48:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button8.37:1AAA
Secondary button7.94:1AAA
Muted text7.15:1AAA
Accent6.78:1AA
Destructive4.04:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 81.513);
  --foreground: oklch(0.174 0.025 82.842);
  --muted: oklch(0.913 0.009 81.51);
  --muted-foreground: oklch(0.45 0.006 81.507);
  --popover: oklch(0.987 0.004 81.513);
  --popover-foreground: oklch(0.174 0.025 82.842);
  --card: oklch(0.987 0.004 81.513);
  --card-foreground: oklch(0.174 0.025 82.842);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.292 0.034 80.464);
  --primary-foreground: oklch(0.832 0.046 81.349);
  --secondary: oklch(0.887 0.005 81.513);
  --secondary-foreground: oklch(0.376 0.01 81.478);
  --accent: oklch(0.844 0.012 81.505);
  --accent-foreground: oklch(0.319 0.014 81.414);
  --destructive: oklch(0.545 0.202 32.143);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.292 0.034 80.464);
  --chart-1: oklch(0.292 0.034 80.464);
  --chart-2: oklch(0.887 0.005 81.513);
  --chart-3: oklch(0.844 0.012 81.505);
  --chart-4: oklch(0.91 0.004 81.513);
  --chart-5: oklch(0.294 0.036 80.273);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.009 85.787);
  --foreground: oklch(0.986 0.003 81.514);
  --muted: oklch(0.244 0.012 81.39);
  --muted-foreground: oklch(0.743 0.005 81.512);
  --popover: oklch(0.12 0.009 85.787);
  --popover-foreground: oklch(0.986 0.003 81.514);
  --card: oklch(0.12 0.009 85.787);
  --card-foreground: oklch(0.986 0.003 81.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.292 0.034 80.464);
  --primary-foreground: oklch(0.832 0.046 81.349);
  --secondary: oklch(0.314 0.005 81.504);
  --secondary-foreground: oklch(0.84 0.004 81.513);
  --accent: oklch(0.41 0.018 81.417);
  --accent-foreground: oklch(0.911 0.006 81.512);
  --destructive: oklch(0.621 0.232 31.983);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.292 0.034 80.464);
  --chart-1: oklch(0.292 0.034 80.464);
  --chart-2: oklch(0.314 0.005 81.504);
  --chart-3: oklch(0.41 0.018 81.417);
  --chart-4: oklch(0.344 0.005 81.503);
  --chart-5: oklch(0.294 0.036 80.273);
}