Weird is a shadcn/ui theme built around a pink primary color (#84153a) with blue accents (#153a84). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the pink primary (#84153a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #000000black |
| Foreground | #050102black | #fdfcfcsnow |
| Card | #fbf4f6lavenderblush | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbf4f6lavenderblush | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #84153abrown | #84153abrown |
| Primary foreground | #f8d3dfmistyrose | #f8d3dfmistyrose |
| Secondary | #3a8415forestgreen | #3a8415forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ddead7gainsboro | #1c2815black |
| Muted foreground | #475341darkslategray | #b2beacdarkgray |
| Accent | #153a84midnightblue | #153a84midnightblue |
| Accent foreground | #d3dff8lavender | #d3dff8lavender |
| Destructive | #d9130dred | #f11a13red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #84153abrown | #84153abrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 4.65:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 5.18:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 4.65:1 | AA |
| Muted text | 7.98:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Weird in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 354.736);
--foreground: oklch(0.08 0.023 354.016);
--muted: oklch(0.922 0.028 134.978);
--muted-foreground: oklch(0.426 0.032 135.227);
--popover: oklch(0.973 0.008 354.812);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.008 354.812);
--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.405 0.146 7.927);
--primary-foreground: oklch(0.901 0.045 355.969);
--secondary: oklch(0.546 0.159 137.997);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.37 0.132 262.142);
--accent-foreground: oklch(0.903 0.037 264.374);
--destructive: oklch(0.561 0.223 29.2);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.146 7.927);
--chart-1: oklch(0.405 0.146 7.927);
--chart-2: oklch(0.546 0.159 137.997);
--chart-3: oklch(0.37 0.132 262.142);
--chart-4: oklch(0.585 0.171 138.054);
--chart-5: oklch(0.408 0.15 8.601);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 354.615);
--muted: oklch(0.259 0.037 135.673);
--muted-foreground: oklch(0.787 0.028 135.006);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.405 0.146 7.927);
--primary-foreground: oklch(0.901 0.045 355.969);
--secondary: oklch(0.546 0.159 137.997);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.37 0.132 262.142);
--accent-foreground: oklch(0.903 0.037 264.374);
--destructive: oklch(0.609 0.24 29.125);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.146 7.927);
--chart-1: oklch(0.405 0.146 7.927);
--chart-2: oklch(0.546 0.159 137.997);
--chart-3: oklch(0.37 0.132 262.142);
--chart-4: oklch(0.585 0.171 138.054);
--chart-5: oklch(0.408 0.15 8.601);
}