Strange is a shadcn/ui theme built around a red primary color (#713528) with yellow accents (#715a28). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the red primary (#713528) on a red-tinted background (#0f0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #0f0705black |
| Foreground | #000000black | #fcf9f8snow |
| Card | #fcf4f3lavenderblush | #130907black |
| Card foreground | #000000black | #fdfcfbsnow |
| Popover | #fcf4f3lavenderblush | #130907black |
| Popover foreground | #000000black | #fdfcfbsnow |
| Primary | #713528saddlebrown | #713528saddlebrown |
| Primary foreground | #f2ded9antiquewhite | #f2ded9antiquewhite |
| Secondary | #71283fbrown | #71283fbrown |
| Secondary foreground | #f2d9e1mistyrose | #f2d9e1mistyrose |
| Muted | #f3ecefwhitesmoke | #130c0eblack |
| Muted foreground | #675b5fdimgray | #a4989cdarkgray |
| Accent | #715a28darkolivegreen | #715a28darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #60240bmaroon | #e76127chocolate |
| Destructive foreground | #f5bfa8lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #713528saddlebrown | #713528saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 7.31:1 | AAA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 6.56:1 | AA |
| Destructive | 6.13:1 | AA |
Paste this into your globals.css to use Strange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 32.661);
--foreground: oklch(0 0 0);
--muted: oklch(0.95 0.007 355.84);
--muted-foreground: oklch(0.484 0.016 356.553);
--popover: oklch(0.974 0.009 32.662);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.009 32.662);
--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.406 0.088 33.916);
--primary-foreground: oklch(0.915 0.023 32.683);
--secondary: oklch(0.391 0.106 3.731);
--secondary-foreground: oklch(0.908 0.029 356.514);
--accent: oklch(0.48 0.074 84.36);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.346 0.094 41.172);
--destructive-foreground: oklch(0.848 0.07 44.323);
--ring: oklch(0.406 0.088 33.916);
--chart-1: oklch(0.406 0.088 33.916);
--chart-2: oklch(0.391 0.106 3.731);
--chart-3: oklch(0.48 0.074 84.36);
--chart-4: oklch(0.418 0.114 3.866);
--chart-5: oklch(0.407 0.094 33.995);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.016 36.704);
--foreground: oklch(0.983 0.004 32.661);
--muted: oklch(0.164 0.012 357.6);
--muted-foreground: oklch(0.692 0.015 356.218);
--popover: oklch(0.153 0.019 35.245);
--popover-foreground: oklch(0.992 0.002 32.661);
--card: oklch(0.153 0.019 35.245);
--card-foreground: oklch(0.992 0.002 32.661);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.406 0.088 33.916);
--primary-foreground: oklch(0.915 0.023 32.683);
--secondary: oklch(0.391 0.106 3.731);
--secondary-foreground: oklch(0.908 0.029 356.514);
--accent: oklch(0.48 0.074 84.36);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.654 0.18 41.052);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.406 0.088 33.916);
--chart-1: oklch(0.406 0.088 33.916);
--chart-2: oklch(0.391 0.106 3.731);
--chart-3: oklch(0.48 0.074 84.36);
--chart-4: oklch(0.418 0.114 3.866);
--chart-5: oklch(0.407 0.094 33.995);
}