Remedy - Dark (Tilted) for shadcn/ui

Remedy - Dark (Tilted) is a shadcn/ui theme built around a vivid light orange primary color (#f7e0b5) with muted red accents (#695654). The light mode uses a red-tinted background (#3e3332). Dark mode keeps the vivid light orange primary (#f7e0b5) on a red-tinted background (#3e3332).

Color palette

TokenLightDark
Background
#3e3332darkslategray
#3e3332darkslategray
Foreground
#f7e0b5wheat
#f7e0b5wheat
Card
#392e2ddarkslategray
#392e2ddarkslategray
Card foreground
#faeaccblanchedalmond
#faeaccblanchedalmond
Popover
#362c2bdarkslategray
#362c2bdarkslategray
Popover foreground
#fcf3e3oldlace
#fcf3e3oldlace
Primary
#f7e0b5wheat
#f7e0b5wheat
Primary foreground
#6f4c0csaddlebrown
#6f4c0csaddlebrown
Secondary
#53452ddarkolivegreen
#53452ddarkolivegreen
Secondary foreground
#e4dccdgainsboro
#e4dccdgainsboro
Muted
#4a3c3adarkslategray
#4a3c3adarkslategray
Muted foreground
#c9bcbasilver
#c9bcbasilver
Accent
#695654dimgray
#695654dimgray
Accent foreground
#f8f7f7whitesmoke
#f8f7f7whitesmoke
Destructive
#e00d06red
#e00d06red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#464444darkslategray
#464444darkslategray
Input
#4d4c4cdarkslategray
#4d4c4cdarkslategray
Ring
#f7e0b5wheat
#f7e0b5wheat

Contrast

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

Light mode
Text on background9.43:1AAA
Text on card11.02:1AAA
Primary button6.00:1AA
Secondary button6.80:1AA
Muted text5.70:1AA
Accent6.44:1AA
Destructive4.97:1AA
Dark mode
Text on background9.43:1AAA
Text on card11.02:1AAA
Primary button6.00:1AA
Secondary button6.80:1AA
Muted text5.70:1AA
Accent6.44:1AA
Destructive4.97:1AA

CSS variables

Paste this into your globals.css to use Remedy - Dark (Tilted) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.333 0.016 24.13);
  --foreground: oklch(0.915 0.061 82.89);
  --muted: oklch(0.37 0.021 24.215);
  --muted-foreground: oklch(0.805 0.015 23.775);
  --popover: oklch(0.304 0.015 24.11);
  --popover-foreground: oklch(0.968 0.023 83.061);
  --card: oklch(0.313 0.015 24.117);
  --card-foreground: oklch(0.941 0.042 83.013);
  --border: oklch(0.389 0.002 23.624);
  --input: oklch(0.417 0.002 23.625);
  --primary: oklch(0.915 0.061 82.89);
  --primary-foreground: oklch(0.444 0.088 76.612);
  --secondary: oklch(0.399 0.042 82.4);
  --secondary-foreground: oklch(0.897 0.022 83.061);
  --accent: oklch(0.471 0.025 24.189);
  --accent-foreground: oklch(0.976 0.002 23.598);
  --destructive: oklch(0.572 0.231 29.353);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.061 82.89);
  --chart-1: oklch(0.915 0.061 82.89);
  --chart-2: oklch(0.399 0.042 82.4);
  --chart-3: oklch(0.471 0.025 24.189);
  --chart-4: oklch(0.431 0.047 82.368);
  --chart-5: oklch(0.917 0.064 82.873);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.333 0.016 24.13);
  --foreground: oklch(0.915 0.061 82.89);
  --muted: oklch(0.37 0.021 24.215);
  --muted-foreground: oklch(0.805 0.015 23.775);
  --popover: oklch(0.304 0.015 24.11);
  --popover-foreground: oklch(0.968 0.023 83.061);
  --card: oklch(0.313 0.015 24.117);
  --card-foreground: oklch(0.941 0.042 83.013);
  --border: oklch(0.389 0.002 23.624);
  --input: oklch(0.417 0.002 23.625);
  --primary: oklch(0.915 0.061 82.89);
  --primary-foreground: oklch(0.444 0.088 76.612);
  --secondary: oklch(0.399 0.042 82.4);
  --secondary-foreground: oklch(0.897 0.022 83.061);
  --accent: oklch(0.471 0.025 24.189);
  --accent-foreground: oklch(0.976 0.002 23.598);
  --destructive: oklch(0.572 0.231 29.353);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.061 82.89);
  --chart-1: oklch(0.915 0.061 82.89);
  --chart-2: oklch(0.399 0.042 82.4);
  --chart-3: oklch(0.471 0.025 24.189);
  --chart-4: oklch(0.431 0.047 82.368);
  --chart-5: oklch(0.917 0.064 82.873);
}