Warm is a shadcn/ui theme built around a pink primary color (#892441) with red accents (#893a24). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the pink primary (#892441) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #110307black | #f9f5f6whitesmoke |
| Card | #fcf8f9snow | #030303black |
| Card foreground | #0d0305black | #fbf8f9snow |
| Popover | #fcf8f9snow | #030303black |
| Popover foreground | #0d0305black | #fbf8f9snow |
| Primary | #892441brown | #892441brown |
| Primary foreground | #f9e7eclinen | #f9e7eclinen |
| Secondary | #892473purple | #892473purple |
| Secondary foreground | #f9e7f5lavenderblush | #f9e7f5lavenderblush |
| Muted | #f7eef5whitesmoke | #11080fblack |
| Muted foreground | #473e45darkslategray | #c1b8bfsilver |
| Accent | #893a24saddlebrown | #893a24saddlebrown |
| Accent foreground | #f9ebe7linen | #f9ebe7linen |
| Destructive | #d40b08red | #f72522crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #892441brown | #892441brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 9.03:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 5.46:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 10.19:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Warm in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 357.769);
--foreground: oklch(0.132 0.03 359.333);
--muted: oklch(0.957 0.014 332.837);
--muted-foreground: oklch(0.375 0.017 333.322);
--popover: oklch(0.983 0.004 357.825);
--popover-foreground: oklch(0.118 0.026 357.822);
--card: oklch(0.983 0.004 357.825);
--card-foreground: oklch(0.118 0.026 357.822);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.429 0.136 8.186);
--primary-foreground: oklch(0.943 0.02 358.327);
--secondary: oklch(0.449 0.161 338.018);
--secondary-foreground: oklch(0.946 0.026 333.045);
--accent: oklch(0.452 0.113 36.332);
--accent-foreground: oklch(0.949 0.016 35.964);
--destructive: oklch(0.548 0.221 29.107);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.429 0.136 8.186);
--chart-1: oklch(0.429 0.136 8.186);
--chart-2: oklch(0.449 0.161 338.018);
--chart-3: oklch(0.452 0.113 36.332);
--chart-4: oklch(0.477 0.172 338.071);
--chart-5: oklch(0.431 0.141 8.854);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.005 357.857);
--muted: oklch(0.152 0.022 334.58);
--muted-foreground: oklch(0.793 0.014 332.898);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.003 357.808);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.003 357.808);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.429 0.136 8.186);
--primary-foreground: oklch(0.943 0.02 358.327);
--secondary: oklch(0.449 0.161 338.018);
--secondary-foreground: oklch(0.946 0.026 333.045);
--accent: oklch(0.452 0.113 36.332);
--accent-foreground: oklch(0.949 0.016 35.964);
--destructive: oklch(0.625 0.239 28.306);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.429 0.136 8.186);
--chart-1: oklch(0.429 0.136 8.186);
--chart-2: oklch(0.449 0.161 338.018);
--chart-3: oklch(0.452 0.113 36.332);
--chart-4: oklch(0.477 0.172 338.071);
--chart-5: oklch(0.431 0.141 8.854);
}