Unwieldy is a shadcn/ui theme built around a muted blue primary color (#b3b6c7) with muted violet accents (#b9b3c7). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#b3b6c7) on a blue-tinted background (#040610).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #040610black |
| Foreground | #020308black | #f6f6f9whitesmoke |
| Card | #fbfcfewhite | #040610black |
| Card foreground | #020308black | #f6f6f9whitesmoke |
| Popover | #fbfcfewhite | #040610black |
| Popover foreground | #020308black | #f6f6f9whitesmoke |
| Primary | #b3b6c7silver | #b3b6c7silver |
| Primary foreground | #1e2029black | #1e2029black |
| Secondary | #b3c0c7silver | #b3c0c7silver |
| Secondary foreground | #1e2629darkslategray | #1e2629darkslategray |
| Muted | #f0f3f4whitesmoke | #0b0d0fblack |
| Muted foreground | #5c5f61dimgray | #9ea2a3darkgray |
| Accent | #b9b3c7silver | #b9b3c7silver |
| Accent foreground | #221e29black | #221e29black |
| Destructive | #7d2e0csaddlebrown | #e85617chocolate |
| Destructive foreground | #f9d3c3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b3b6c7silver | #b3b6c7silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 18.71:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Unwieldy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 276.129);
--foreground: oklch(0.099 0.02 267.503);
--muted: oklch(0.962 0.003 226.895);
--muted-foreground: oklch(0.484 0.006 227.003);
--popover: oklch(0.99 0.003 276.129);
--popover-foreground: oklch(0.099 0.02 267.503);
--card: oklch(0.99 0.003 276.129);
--card-foreground: oklch(0.099 0.02 267.503);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.78 0.023 275.757);
--primary-foreground: oklch(0.247 0.017 275.167);
--secondary: oklch(0.8 0.017 227.14);
--secondary-foreground: oklch(0.261 0.012 227.54);
--accent: oklch(0.777 0.029 300.158);
--accent-foreground: oklch(0.245 0.021 299.365);
--destructive: oklch(0.412 0.118 40.499);
--destructive-foreground: oklch(0.895 0.048 44.517);
--ring: oklch(0.78 0.023 275.757);
--chart-1: oklch(0.78 0.023 275.757);
--chart-2: oklch(0.8 0.017 227.14);
--chart-3: oklch(0.777 0.029 300.158);
--chart-4: oklch(0.824 0.015 227.096);
--chart-5: oklch(0.776 0.028 275.666);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.024 269.462);
--foreground: oklch(0.975 0.003 276.12);
--muted: oklch(0.159 0.005 227.252);
--muted-foreground: oklch(0.709 0.005 226.946);
--popover: oklch(0.127 0.024 269.462);
--popover-foreground: oklch(0.975 0.003 276.12);
--card: oklch(0.127 0.024 269.462);
--card-foreground: oklch(0.975 0.003 276.12);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.78 0.023 275.757);
--primary-foreground: oklch(0.247 0.017 275.167);
--secondary: oklch(0.8 0.017 227.14);
--secondary-foreground: oklch(0.261 0.012 227.54);
--accent: oklch(0.777 0.029 300.158);
--accent-foreground: oklch(0.245 0.021 299.365);
--destructive: oklch(0.641 0.193 39.595);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.78 0.023 275.757);
--chart-1: oklch(0.78 0.023 275.757);
--chart-2: oklch(0.8 0.017 227.14);
--chart-3: oklch(0.777 0.029 300.158);
--chart-4: oklch(0.824 0.015 227.096);
--chart-5: oklch(0.776 0.028 275.666);
}