Scented for shadcn/ui

Scented is a shadcn/ui theme built around a deep orange primary color (#6a462a) with muted light orange accents (#cec3bb). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the deep orange primary (#6a462a) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fdf9f6snow
#040201black
Foreground
#100904black
#f8f7f6whitesmoke
Card
#fcf7f2floralwhite
#080502black
Card foreground
#0c0703black
#fbfaf9snow
Popover
#fcf7f2floralwhite
#080502black
Popover foreground
#0c0703black
#fbfaf9snow
Primary
#6a462asaddlebrown
#6a462asaddlebrown
Primary foreground
#efe1d7antiquewhite
#efe1d7antiquewhite
Secondary
#dddbd9gainsboro
#272320black
Secondary foreground
#46423edarkslategray
#c3bcb7silver
Muted
#f0edealinen
#15110fblack
Muted foreground
#67635fdimgray
#a09b98darkgray
Accent
#cec3bbsilver
#392f28darkslategray
Accent foreground
#322a24darkslategray
#d3c8c0silver
Destructive
#691c07maroon
#ee4111orangered
Destructive foreground
#f9baa9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6a462asaddlebrown
#6a462asaddlebrown

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card18.81:1AAA
Primary button6.53:1AA
Secondary button7.21:1AAA
Muted text5.09:1AA
Accent8.14:1AAA
Destructive7.12:1AAA
Dark mode
Text on background19.32:1AAA
Text on card19.52:1AAA
Primary button6.53:1AA
Secondary button8.28:1AAA
Muted text6.81:1AA
Accent7.91:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 60.204);
  --foreground: oklch(0.149 0.017 64.982);
  --muted: oklch(0.947 0.005 60.214);
  --muted-foreground: oklch(0.502 0.008 60.068);
  --popover: oklch(0.978 0.009 60.163);
  --popover-foreground: oklch(0.134 0.015 68.215);
  --card: oklch(0.978 0.009 60.163);
  --card-foreground: oklch(0.134 0.015 68.215);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.427 0.064 57.36);
  --primary-foreground: oklch(0.919 0.021 59.975);
  --secondary: oklch(0.893 0.004 60.227);
  --secondary-foreground: oklch(0.382 0.008 59.979);
  --accent: oklch(0.824 0.016 60.009);
  --accent-foreground: oklch(0.293 0.016 59.521);
  --destructive: oklch(0.351 0.113 35.377);
  --destructive-foreground: oklch(0.843 0.077 36.026);
  --ring: oklch(0.427 0.064 57.36);
  --chart-1: oklch(0.427 0.064 57.36);
  --chart-2: oklch(0.893 0.004 60.227);
  --chart-3: oklch(0.824 0.016 60.009);
  --chart-4: oklch(0.916 0.003 60.24);
  --chart-5: oklch(0.429 0.069 57.043);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.01 68.306);
  --foreground: oklch(0.977 0.002 60.256);
  --muted: oklch(0.183 0.007 59.726);
  --muted-foreground: oklch(0.692 0.007 60.139);
  --popover: oklch(0.117 0.012 68.306);
  --popover-foreground: oklch(0.985 0.001 60.266);
  --card: oklch(0.117 0.012 68.306);
  --card-foreground: oklch(0.985 0.001 60.266);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.427 0.064 57.36);
  --primary-foreground: oklch(0.919 0.021 59.975);
  --secondary: oklch(0.26 0.008 59.885);
  --secondary-foreground: oklch(0.799 0.011 60.103);
  --accent: oklch(0.314 0.018 59.447);
  --accent-foreground: oklch(0.84 0.016 60.024);
  --destructive: oklch(0.629 0.216 34.431);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.427 0.064 57.36);
  --chart-1: oklch(0.427 0.064 57.36);
  --chart-2: oklch(0.26 0.008 59.885);
  --chart-3: oklch(0.314 0.018 59.447);
  --chart-4: oklch(0.292 0.009 59.863);
  --chart-5: oklch(0.429 0.069 57.043);
}