Unnatural is a shadcn/ui theme built around a deep green primary color (#293715) with muted light green accents (#cacec5). The light mode uses a neutral background (#fafcf8). Dark mode keeps the deep green primary (#293715) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #050703black |
| Foreground | #0b1203black | #ffffffwhite |
| Card | #f8fbf4whitesmoke | #080b04black |
| Card foreground | #090d02black | #ffffffwhite |
| Popover | #fafcf8snow | #050703black |
| Popover foreground | #0b1203black | #ffffffwhite |
| Primary | #293715darkslategray | #293715darkslategray |
| Primary foreground | #95c059yellowgreen | #95c059yellowgreen |
| Secondary | #d9d9d8gainsboro | #1a1d16black |
| Secondary foreground | #40403fdarkslategray | #b4bca9darkgray |
| Muted | #ecf2e3beige | #161c0dblack |
| Muted foreground | #545d46darkolivegreen | #afb9a2darkgray |
| Accent | #cacec5lightgrey | #323a27darkslategray |
| Accent foreground | #31342ddarkslategray | #cbd4bflightgrey |
| Destructive | #991f0afirebrick | #eb300forangered |
| Destructive foreground | #fdded9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #293715darkslategray | #293715darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.48:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 5.99:1 | AA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.47:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 5.99:1 | AA |
| Secondary button | 8.70:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Unnatural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 125.134);
--foreground: oklch(0.169 0.034 126.121);
--muted: oklch(0.953 0.022 125.361);
--muted-foreground: oklch(0.463 0.038 126.214);
--popover: oklch(0.989 0.006 125.134);
--popover-foreground: oklch(0.169 0.034 126.121);
--card: oklch(0.983 0.01 125.18);
--card-foreground: oklch(0.151 0.029 124.621);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.316 0.058 128.125);
--primary-foreground: oklch(0.754 0.141 128.174);
--secondary: oklch(0.885 0.001 125.062);
--secondary-foreground: oklch(0.372 0.002 125.129);
--accent: oklch(0.845 0.012 125.248);
--accent-foreground: oklch(0.32 0.014 125.666);
--destructive: oklch(0.447 0.161 32.06);
--destructive-foreground: oklch(0.924 0.035 29.644);
--ring: oklch(0.316 0.058 128.125);
--chart-1: oklch(0.316 0.058 128.125);
--chart-2: oklch(0.885 0.001 125.062);
--chart-3: oklch(0.845 0.012 125.248);
--chart-4: oklch(0.908 0.001 125.058);
--chart-5: oklch(0.32 0.062 128.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 124.439);
--foreground: oklch(1 0 180);
--muted: oklch(0.215 0.03 127.186);
--muted-foreground: oklch(0.771 0.033 125.655);
--popover: oklch(0.125 0.014 124.439);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.017 124.501);
--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.316 0.058 128.125);
--primary-foreground: oklch(0.754 0.141 128.174);
--secondary: oklch(0.225 0.013 125.877);
--secondary-foreground: oklch(0.785 0.029 125.564);
--accent: oklch(0.335 0.034 126.546);
--accent-foreground: oklch(0.858 0.031 125.545);
--destructive: oklch(0.609 0.225 31.844);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.316 0.058 128.125);
--chart-1: oklch(0.316 0.058 128.125);
--chart-2: oklch(0.225 0.013 125.877);
--chart-3: oklch(0.335 0.034 126.546);
--chart-4: oklch(0.26 0.016 125.948);
--chart-5: oklch(0.32 0.062 128.323);
}