Unnatural is a shadcn/ui theme built around a light teal primary color (#d5f6e6) with light teal accents (#d5f6f6). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#d5f6e6) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #020d08black | #f9fbfamintcream |
| Card | #fbfefdwhite | #010403black |
| Card foreground | #020d08black | #f9fbfamintcream |
| Popover | #fbfefdwhite | #010403black |
| Popover foreground | #020d08black | #f9fbfamintcream |
| Primary | #d5f6e6gainsboro | #d5f6e6gainsboro |
| Primary foreground | #092a1ablack | #092a1ablack |
| Secondary | #d5f6d5gainsboro | #d5f6d5gainsboro |
| Secondary foreground | #092a09black | #092a09black |
| Muted | #eff5efwhitesmoke | #0a100ablack |
| Muted foreground | #4f6350darkolivegreen | #9cb09cdarkgray |
| Accent | #d5f6f6lightcyan | #d5f6f6lightcyan |
| Accent foreground | #092a2ablack | #092a2ablack |
| Destructive | #b92804firebrick | #e63205orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5f6e6gainsboro | #d5f6e6gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 13.39:1 | AAA |
| Secondary button | 13.36:1 | AAA |
| Muted text | 5.88:1 | AA |
| Accent | 13.30:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 13.39:1 | AAA |
| Secondary button | 13.36:1 | AAA |
| Muted text | 8.34:1 | AAA |
| Accent | 13.30:1 | AAA |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Unnatural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 165.916);
--foreground: oklch(0.145 0.023 165.56);
--muted: oklch(0.965 0.011 145.963);
--muted-foreground: oklch(0.478 0.039 145.366);
--popover: oklch(0.994 0.004 165.916);
--popover-foreground: oklch(0.145 0.023 165.56);
--card: oklch(0.994 0.004 165.916);
--card-foreground: oklch(0.145 0.023 165.56);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.946 0.041 164.798);
--primary-foreground: oklch(0.257 0.05 158.618);
--secondary: oklch(0.941 0.056 145.552);
--secondary-foreground: oklch(0.253 0.069 143.454);
--accent: oklch(0.949 0.034 197.842);
--accent-foreground: oklch(0.261 0.037 196.709);
--destructive: oklch(0.512 0.185 33.309);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.041 164.798);
--chart-1: oklch(0.946 0.041 164.798);
--chart-2: oklch(0.941 0.056 145.552);
--chart-3: oklch(0.949 0.034 197.842);
--chart-4: oklch(0.958 0.039 145.713);
--chart-5: oklch(0.947 0.043 164.742);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 166.153);
--foreground: oklch(0.986 0.002 165.97);
--muted: oklch(0.164 0.016 145.205);
--muted-foreground: oklch(0.735 0.035 145.657);
--popover: oklch(0.097 0.01 166.153);
--popover-foreground: oklch(0.986 0.002 165.97);
--card: oklch(0.097 0.01 166.153);
--card-foreground: oklch(0.986 0.002 165.97);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.946 0.041 164.798);
--primary-foreground: oklch(0.257 0.05 158.618);
--secondary: oklch(0.941 0.056 145.552);
--secondary-foreground: oklch(0.253 0.069 143.454);
--accent: oklch(0.949 0.034 197.842);
--accent-foreground: oklch(0.261 0.037 196.709);
--destructive: oklch(0.601 0.22 33.005);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.041 164.798);
--chart-1: oklch(0.946 0.041 164.798);
--chart-2: oklch(0.941 0.056 145.552);
--chart-3: oklch(0.949 0.034 197.842);
--chart-4: oklch(0.958 0.039 145.713);
--chart-5: oklch(0.947 0.043 164.742);
}