Unnatural is a shadcn/ui theme built around a vivid pink primary color (#9f0954) with vivid blue accents (#09549f). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid pink primary (#9f0954) on a pink-tinted background (#0a0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0a0508black |
| Foreground | #000000black | #faf5f7whitesmoke |
| Card | #fefbfcsnow | #0a0508black |
| Card foreground | #000000black | #faf5f7whitesmoke |
| Popover | #fefbfcsnow | #0a0508black |
| Popover foreground | #000000black | #faf5f7whitesmoke |
| Primary | #9f0954brown | #9f0954brown |
| Primary foreground | #fdddedmistyrose | #fdddedmistyrose |
| Secondary | #549f09olivedrab | #549f09olivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0e5dcgainsboro | #1f231ablack |
| Muted foreground | #454a3fdarkslategray | #bac0b5silver |
| Accent | #09549fteal | #09549fteal |
| Accent foreground | #ddedfdlavender | #ddedfdlavender |
| Destructive | #b8280ffirebrick | #f05c42tomato |
| Destructive foreground | #fffbfasnow | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9f0954brown | #9f0954brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 3.30:1 | AA Large |
| Muted text | 7.11:1 | AAA |
| Accent | 6.32:1 | AA |
| Destructive | 6.09:1 | AA |
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 3.30:1 | AA Large |
| Muted text | 8.61:1 | AAA |
| Accent | 6.32:1 | AA |
| Destructive | 6.31:1 | AA |
Paste this into your globals.css to use Unnatural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 345.229);
--foreground: oklch(0 0 0);
--muted: oklch(0.915 0.012 128.612);
--muted-foreground: oklch(0.402 0.019 129.011);
--popover: oklch(0.991 0.003 345.229);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 345.229);
--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.459 0.181 359.65);
--primary-foreground: oklch(0.929 0.041 346.248);
--secondary: oklch(0.629 0.18 134.839);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.449 0.138 254.293);
--accent-foreground: oklch(0.94 0.027 248.12);
--destructive: oklch(0.511 0.183 32.088);
--destructive-foreground: oklch(0.991 0.004 29.481);
--ring: oklch(0.459 0.181 359.65);
--chart-1: oklch(0.459 0.181 359.65);
--chart-2: oklch(0.629 0.18 134.839);
--chart-3: oklch(0.449 0.138 254.293);
--chart-4: oklch(0.671 0.193 134.917);
--chart-5: oklch(0.463 0.184 0.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.014 345.034);
--foreground: oklch(0.974 0.006 345.313);
--muted: oklch(0.248 0.017 129.25);
--muted-foreground: oklch(0.799 0.016 128.691);
--popover: oklch(0.126 0.014 345.034);
--popover-foreground: oklch(0.974 0.006 345.313);
--card: oklch(0.126 0.014 345.034);
--card-foreground: oklch(0.974 0.006 345.313);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.459 0.181 359.65);
--primary-foreground: oklch(0.929 0.041 346.248);
--secondary: oklch(0.629 0.18 134.839);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.449 0.138 254.293);
--accent-foreground: oklch(0.94 0.027 248.12);
--destructive: oklch(0.664 0.187 32.198);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.459 0.181 359.65);
--chart-1: oklch(0.459 0.181 359.65);
--chart-2: oklch(0.629 0.18 134.839);
--chart-3: oklch(0.449 0.138 254.293);
--chart-4: oklch(0.671 0.193 134.917);
--chart-5: oklch(0.463 0.184 0.198);
}