Unusual is a shadcn/ui theme built around a light red primary color (#e4c2be) with light indigo accents (#c2bee4). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the light red primary (#e4c2be) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #040202black |
| Foreground | #000000black | #ffffffwhite |
| Card | #faf5f4whitesmoke | #070303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8f8snow | #040202black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e4c2bethistle | #e4c2bethistle |
| Primary foreground | #4f2621saddlebrown | #4f2621saddlebrown |
| Secondary | #bee4c2lightgrey | #bee4c2lightgrey |
| Secondary foreground | #214f26darkslategray | #214f26darkslategray |
| Muted | #eaf1eawhitesmoke | #0e150fblack |
| Muted foreground | #424843darkslategray | #b7bdb8silver |
| Accent | #c2bee4lightsteelblue | #c2bee4lightsteelblue |
| Accent foreground | #26214fmidnightblue | #26214fmidnightblue |
| Destructive | #842106maroon | #f6643ctomato |
| Destructive foreground | #fccdc0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4c2bethistle | #e4c2bethistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.13:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 20.73:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 9.67:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 6.81:1 | AA |
Paste this into your globals.css to use Unusual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 25.023);
--foreground: oklch(0 0 0);
--muted: oklch(0.95 0.011 148.466);
--muted-foreground: oklch(0.393 0.011 148.279);
--popover: oklch(0.983 0.004 25.023);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.006 25.041);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.842 0.039 25.436);
--primary-foreground: oklch(0.323 0.063 27.667);
--secondary: oklch(0.882 0.061 147.796);
--secondary-foreground: oklch(0.384 0.085 145.65);
--accent: oklch(0.818 0.053 289.766);
--accent-foreground: oklch(0.281 0.082 284.379);
--destructive: oklch(0.407 0.137 34.825);
--destructive-foreground: oklch(0.885 0.057 35.965);
--ring: oklch(0.842 0.039 25.436);
--chart-1: oklch(0.842 0.039 25.436);
--chart-2: oklch(0.882 0.061 147.796);
--chart-3: oklch(0.818 0.053 289.766);
--chart-4: oklch(0.902 0.05 147.951);
--chart-5: oklch(0.841 0.042 25.476);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.009 28.185);
--foreground: oklch(1 0 180);
--muted: oklch(0.187 0.016 147.588);
--muted-foreground: oklch(0.792 0.009 148.463);
--popover: oklch(0.087 0.009 28.185);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.11 0.011 28.185);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.842 0.039 25.436);
--primary-foreground: oklch(0.323 0.063 27.667);
--secondary: oklch(0.882 0.061 147.796);
--secondary-foreground: oklch(0.384 0.085 145.65);
--accent: oklch(0.818 0.053 289.766);
--accent-foreground: oklch(0.281 0.082 284.379);
--destructive: oklch(0.683 0.187 36.173);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.842 0.039 25.436);
--chart-1: oklch(0.842 0.039 25.436);
--chart-2: oklch(0.882 0.061 147.796);
--chart-3: oklch(0.818 0.053 289.766);
--chart-4: oklch(0.902 0.05 147.951);
--chart-5: oklch(0.841 0.042 25.476);
}