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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 13.65:1 | AAA |
| Secondary button | 9.00:1 | AAA |
| Muted text | 9.09:1 | AAA |
| Accent | 9.00:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 13.65:1 | AAA |
| Secondary button | 9.00:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 9.00:1 | AAA |
| Destructive | 3.55:1 | AA Large |
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);
}