Unusual is a shadcn/ui theme built around a deep green primary color (#214f2d) with deep teal accents (#214f44). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep green primary (#214f2d) on a green-tinted background (#070d09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #070d09black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #fbfefcwhite | #070d09black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #070d09black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #214f2ddarkslategray | #214f2ddarkslategray |
| Primary foreground | #bee4c8lightgrey | #bee4c8lightgrey |
| Secondary | #2c4f21darkslategray | #2c4f21darkslategray |
| Secondary foreground | #c7e4belightgrey | #c7e4belightgrey |
| Muted | #d9e0d7gainsboro | #21281fblack |
| Muted foreground | #424242darkslategray | #bdbdbdsilver |
| Accent | #214f44darkslategray | #214f44darkslategray |
| Accent foreground | #bee4dbpowderblue | #bee4dbpowderblue |
| Destructive | #5c100amaroon | #dc2618crimson |
| Destructive foreground | #f5a9a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #214f2ddarkslategray | #214f2ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.69:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.45:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 7.24:1 | AAA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 8.02:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 4.84:1 | AA |
Paste this into your globals.css to use Unusual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 154.438);
--foreground: oklch(0 0 0);
--muted: oklch(0.898 0.015 138.347);
--muted-foreground: oklch(0.38 0 180);
--popover: oklch(0.994 0.005 154.438);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.005 154.438);
--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.386 0.076 150.152);
--primary-foreground: oklch(0.884 0.055 153.384);
--secondary: oklch(0.389 0.083 138.85);
--secondary-foreground: oklch(0.888 0.059 138.408);
--accent: oklch(0.392 0.054 175.881);
--accent-foreground: oklch(0.889 0.041 179.594);
--destructive: oklch(0.311 0.109 29.112);
--destructive-foreground: oklch(0.806 0.091 23.814);
--ring: oklch(0.386 0.076 150.152);
--chart-1: oklch(0.386 0.076 150.152);
--chart-2: oklch(0.389 0.083 138.85);
--chart-3: oklch(0.392 0.054 175.881);
--chart-4: oklch(0.424 0.093 138.873);
--chart-5: oklch(0.39 0.081 149.852);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.014 153.663);
--foreground: oklch(0.993 0.002 154.495);
--muted: oklch(0.268 0.02 138.417);
--muted-foreground: oklch(0.797 0 180);
--popover: oklch(0.152 0.014 153.663);
--popover-foreground: oklch(0.993 0.002 154.495);
--card: oklch(0.152 0.014 153.663);
--card-foreground: oklch(0.993 0.002 154.495);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.386 0.076 150.152);
--primary-foreground: oklch(0.884 0.055 153.384);
--secondary: oklch(0.389 0.083 138.85);
--secondary-foreground: oklch(0.888 0.059 138.408);
--accent: oklch(0.392 0.054 175.881);
--accent-foreground: oklch(0.889 0.041 179.594);
--destructive: oklch(0.576 0.217 29.603);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.386 0.076 150.152);
--chart-1: oklch(0.386 0.076 150.152);
--chart-2: oklch(0.389 0.083 138.85);
--chart-3: oklch(0.392 0.054 175.881);
--chart-4: oklch(0.424 0.093 138.873);
--chart-5: oklch(0.39 0.081 149.852);
}