Infatuated for shadcn/ui

Infatuated is a shadcn/ui theme built around an orange primary color (#d59620) with muted light orange accents (#e9e6e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d59620) on an orange-tinted background (#0f0c05).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0c05black
Foreground
#090601black
#fbfaf9snow
Card
#ffffffwhite
#0f0c05black
Card foreground
#090601black
#fbfaf9snow
Popover
#ffffffwhite
#0f0c05black
Popover foreground
#090601black
#fbfaf9snow
Primary
#d59620goldenrod
#d59620goldenrod
Primary foreground
#231905black
#231905black
Secondary
#e9e6e2gainsboro
#211e17black
Secondary foreground
#564f43darkolivegreen
#c3b9a7silver
Muted
#f0eae0beige
#1f190fblack
Muted foreground
#6e6759dimgray
#a69f91darkgray
Accent
#e9e6e2gainsboro
#211e17black
Accent foreground
#564f43darkolivegreen
#c3b9a7silver
Destructive
#85160amaroon
#f04a38tomato
Destructive foreground
#fbcbc6pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d59620goldenrod
#d59620goldenrod

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button6.74:1AA
Secondary button6.51:1AA
Muted text4.69:1AA
Accent6.51:1AA
Destructive6.83:1AA
Dark mode
Text on background18.74:1AAA
Text on card18.74:1AAA
Primary button6.74:1AA
Secondary button8.58:1AAA
Muted text6.61:1AA
Accent8.58:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.02 91.524);
  --muted: oklch(0.94 0.015 83.065);
  --muted-foreground: oklch(0.516 0.024 83.009);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.02 91.524);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.02 91.524);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.716 0.142 76.508);
  --primary-foreground: oklch(0.221 0.037 81.268);
  --secondary: oklch(0.927 0.006 83.061);
  --secondary-foreground: oklch(0.431 0.021 83);
  --accent: oklch(0.927 0.006 83.061);
  --accent-foreground: oklch(0.431 0.021 83);
  --destructive: oklch(0.399 0.147 30.515);
  --destructive-foreground: oklch(0.883 0.054 25.613);
  --ring: oklch(0.716 0.142 76.508);
  --chart-1: oklch(0.716 0.142 76.508);
  --chart-2: oklch(0.927 0.006 83.061);
  --chart-3: oklch(0.927 0.006 83.061);
  --chart-4: oklch(0.949 0.004 83.059);
  --chart-5: oklch(0.722 0.145 75.933);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.016 85.506);
  --foreground: oklch(0.986 0.002 83.056);
  --muted: oklch(0.218 0.021 82.574);
  --muted-foreground: oklch(0.704 0.022 83.051);
  --popover: oklch(0.155 0.016 85.506);
  --popover-foreground: oklch(0.986 0.002 83.056);
  --card: oklch(0.155 0.016 85.506);
  --card-foreground: oklch(0.986 0.002 83.056);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.716 0.142 76.508);
  --primary-foreground: oklch(0.221 0.037 81.268);
  --secondary: oklch(0.235 0.014 82.943);
  --secondary-foreground: oklch(0.79 0.028 83.044);
  --accent: oklch(0.235 0.014 82.943);
  --accent-foreground: oklch(0.79 0.028 83.044);
  --destructive: oklch(0.643 0.205 29.973);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.716 0.142 76.508);
  --chart-1: oklch(0.716 0.142 76.508);
  --chart-2: oklch(0.235 0.014 82.943);
  --chart-3: oklch(0.235 0.014 82.943);
  --chart-4: oklch(0.27 0.017 82.916);
  --chart-5: oklch(0.722 0.145 75.933);
}