Restful Rain Leopard for shadcn/ui

Restful Rain Leopard is a shadcn/ui theme built around a light yellow primary color (#eff0db) with light indigo accents (#dcdbf0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#eff0db) on a neutral background (#040401).

Color palette

TokenLightDark
Background
#ffffffwhite
#040401black
Foreground
#0d0e02black
#fdfdfbsnow
Card
#fcfcfcsnow
#070703black
Card foreground
#090901black
#ffffffwhite
Popover
#fcfcfcsnow
#070703black
Popover foreground
#090901black
#ffffffwhite
Primary
#eff0dbbeige
#eff0dbbeige
Primary foreground
#23240fblack
#23240fblack
Secondary
#dcdbf0lavender
#dcdbf0lavender
Secondary foreground
#312c6dmidnightblue
#312c6dmidnightblue
Muted
#eeedf7whitesmoke
#090812black
Muted foreground
#3e3d52darkslategray
#aeadc2darkgray
Accent
#dcdbf0lavender
#dcdbf0lavender
Accent foreground
#312c6dmidnightblue
#312c6dmidnightblue
Destructive
#921e0cdarkred
#ef5139tomato
Destructive foreground
#fcdad5mistyrose
#ffffffwhite
Border
#f1f1efwhitesmoke
#1e1e1ablack
Input
#f1f1efwhitesmoke
#1e1e1ablack
Ring
#eff0dbbeige
#eff0dbbeige

Contrast

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

Light mode
Text on background19.42:1AAA
Text on card19.54:1AAA
Primary button13.65:1AAA
Secondary button9.00:1AAA
Muted text9.09:1AAA
Accent9.00:1AAA
Destructive6.67:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.14:1AAA
Primary button13.65:1AAA
Secondary button9.00:1AAA
Muted text9.06:1AAA
Accent9.00:1AAA
Destructive3.55:1AA Large

CSS variables

Paste this into your globals.css to use Restful Rain Leopard in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.156 0.029 111.943);
  --muted: oklch(0.951 0.013 289.222);
  --muted-foreground: oklch(0.369 0.037 287.518);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.136 0.025 111.571);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.136 0.025 111.571);
  --border: oklch(0.957 0.003 109.534);
  --input: oklch(0.957 0.003 109.534);
  --primary: oklch(0.949 0.028 110.028);
  --primary-foreground: oklch(0.254 0.036 112.061);
  --secondary: oklch(0.898 0.029 288.862);
  --secondary-foreground: oklch(0.338 0.108 281.935);
  --accent: oklch(0.898 0.029 288.862);
  --accent-foreground: oklch(0.338 0.108 281.935);
  --destructive: oklch(0.432 0.155 31.584);
  --destructive-foreground: oklch(0.914 0.038 28.204);
  --ring: oklch(0.949 0.028 110.028);
  --chart-1: oklch(0.949 0.028 110.028);
  --chart-2: oklch(0.898 0.029 288.862);
  --chart-3: oklch(0.898 0.029 288.862);
  --chart-4: oklch(0.929 0.02 289.068);
  --chart-5: oklch(0.951 0.03 110.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.012 110.853);
  --foreground: oklch(0.995 0.003 109.527);
  --muted: oklch(0.141 0.021 286.688);
  --muted-foreground: oklch(0.755 0.03 288.708);
  --popover: oklch(0.128 0.015 110.853);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.128 0.015 110.853);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.233 0.007 110.06);
  --input: oklch(0.233 0.007 110.06);
  --primary: oklch(0.949 0.028 110.028);
  --primary-foreground: oklch(0.254 0.036 112.061);
  --secondary: oklch(0.898 0.029 288.862);
  --secondary-foreground: oklch(0.338 0.108 281.935);
  --accent: oklch(0.898 0.029 288.862);
  --accent-foreground: oklch(0.338 0.108 281.935);
  --destructive: oklch(0.649 0.198 31.48);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.949 0.028 110.028);
  --chart-1: oklch(0.949 0.028 110.028);
  --chart-2: oklch(0.898 0.029 288.862);
  --chart-3: oklch(0.898 0.029 288.862);
  --chart-4: oklch(0.929 0.02 289.068);
  --chart-5: oklch(0.951 0.03 110.065);
}