Unwieldy is a shadcn/ui theme built around a light green primary color (#e1f5d1) with light pink accents (#f5d1e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e1f5d1) on a neutral background (#050802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050802black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #050802black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #050802black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #e1f5d1beige | #e1f5d1beige |
| Primary foreground | #162508black | #162508black |
| Secondary | #d1e1f5lavender | #d1e1f5lavender |
| Secondary foreground | #1b4579midnightblue | #1b4579midnightblue |
| Muted | #dbe2ebgainsboro | #141b24black |
| Muted foreground | #3b444fdarkslategray | #b0b9c4silver |
| Accent | #f5d1e1mistyrose | #f5d1e1mistyrose |
| Accent foreground | #791b45brown | #791b45brown |
| Destructive | #8f1500darkred | #ff3c19orangered |
| Destructive foreground | #ffcbc2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1f5d1beige | #e1f5d1beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 13.93:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 7.57:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.40:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 13.93:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 8.71:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Unwieldy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.91 0.014 253.32);
--muted-foreground: oklch(0.382 0.023 253.558);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.945 0.051 130.958);
--primary-foreground: oklch(0.244 0.054 133.227);
--secondary: oklch(0.904 0.032 253.432);
--secondary-foreground: oklch(0.39 0.099 255.169);
--accent: oklch(0.896 0.044 349.125);
--accent-foreground: oklch(0.392 0.132 357.969);
--destructive: oklch(0.418 0.158 32.104);
--destructive-foreground: oklch(0.885 0.061 29.871);
--ring: oklch(0.945 0.051 130.958);
--chart-1: oklch(0.945 0.051 130.958);
--chart-2: oklch(0.904 0.032 253.432);
--chart-3: oklch(0.896 0.044 349.125);
--chart-4: oklch(0.93 0.023 253.375);
--chart-5: oklch(0.947 0.053 130.982);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.021 129.093);
--foreground: oklch(0.993 0.001 130.445);
--muted: oklch(0.22 0.02 253.705);
--muted-foreground: oklch(0.782 0.019 253.374);
--popover: oklch(0.127 0.021 129.093);
--popover-foreground: oklch(0.993 0.001 130.445);
--card: oklch(0.127 0.021 129.093);
--card-foreground: oklch(0.993 0.001 130.445);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.945 0.051 130.958);
--primary-foreground: oklch(0.244 0.054 133.227);
--secondary: oklch(0.904 0.032 253.432);
--secondary-foreground: oklch(0.39 0.099 255.169);
--accent: oklch(0.896 0.044 349.125);
--accent-foreground: oklch(0.392 0.132 357.969);
--destructive: oklch(0.653 0.234 32.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.945 0.051 130.958);
--chart-1: oklch(0.945 0.051 130.958);
--chart-2: oklch(0.904 0.032 253.432);
--chart-3: oklch(0.896 0.044 349.125);
--chart-4: oklch(0.93 0.023 253.375);
--chart-5: oklch(0.947 0.053 130.982);
}