Uneven is a shadcn/ui theme built around a vivid green primary color (#46f17c) with vivid orange accents (#f17c46). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid green primary (#46f17c) on a green-tinted background (#060e09).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #060e09black |
| Foreground | #050f08black | #ffffffwhite |
| Card | #f8fcf9mintcream | #060e09black |
| Card foreground | #050f08black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #060e09black |
| Popover foreground | #050f08black | #ffffffwhite |
| Primary | #46f17cmediumseagreen | #46f17cmediumseagreen |
| Primary foreground | #000502black | #000502black |
| Secondary | #7c46f1blueviolet | #7c46f1blueviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dbd7e5gainsboro | #1f1a28black |
| Muted foreground | #585365dimgray | #a09aacdarkgray |
| Accent | #f17c46coral | #f17c46coral |
| Accent foreground | #050200black | #050200black |
| Destructive | #730907maroon | #f23e3atomato |
| Destructive foreground | #fab3b2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #46f17cmediumseagreen | #46f17cmediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 13.83:1 | AAA |
| Secondary button | 5.24:1 | AA |
| Muted text | 5.23:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 13.83:1 | AAA |
| Secondary button | 5.24:1 | AA |
| Muted text | 6.23:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Uneven in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 156.427);
--foreground: oklch(0.157 0.023 155.084);
--muted: oklch(0.886 0.019 300.406);
--muted-foreground: oklch(0.453 0.03 299.657);
--popover: oklch(0.987 0.007 156.427);
--popover-foreground: oklch(0.157 0.023 155.084);
--card: oklch(0.987 0.007 156.427);
--card-foreground: oklch(0.157 0.023 155.084);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.847 0.211 149.504);
--primary-foreground: oklch(0.1 0.022 155.952);
--secondary: oklch(0.559 0.239 291.129);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.711 0.159 44.049);
--accent-foreground: oklch(0.09 0.017 60.922);
--destructive: oklch(0.355 0.138 28.568);
--destructive-foreground: oklch(0.834 0.083 20.069);
--ring: oklch(0.847 0.211 149.504);
--chart-1: oklch(0.847 0.211 149.504);
--chart-2: oklch(0.559 0.239 291.129);
--chart-3: oklch(0.711 0.159 44.049);
--chart-4: oklch(0.587 0.224 292.733);
--chart-5: oklch(0.853 0.216 149.291);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.018 155.416);
--foreground: oklch(1 0 180);
--muted: oklch(0.23 0.027 298.779);
--muted-foreground: oklch(0.697 0.027 300.123);
--popover: oklch(0.154 0.018 155.416);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.018 155.416);
--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.847 0.211 149.504);
--primary-foreground: oklch(0.1 0.022 155.952);
--secondary: oklch(0.559 0.239 291.129);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.711 0.159 44.049);
--accent-foreground: oklch(0.09 0.017 60.922);
--destructive: oklch(0.636 0.218 26.709);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.847 0.211 149.504);
--chart-1: oklch(0.847 0.211 149.504);
--chart-2: oklch(0.559 0.239 291.129);
--chart-3: oklch(0.711 0.159 44.049);
--chart-4: oklch(0.587 0.224 292.733);
--chart-5: oklch(0.853 0.216 149.291);
}