Unwieldy is a shadcn/ui theme built around a muted red primary color (#bb8e8b) with muted orange accents (#bba68b). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#bb8e8b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fdfcfbsnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fdfcfbsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fdfcfbsnow |
| Primary | #bb8e8brosybrown | #bb8e8brosybrown |
| Primary foreground | #0d0808black | #0d0808black |
| Secondary | #bb8ba1rosybrown | #bb8ba1rosybrown |
| Secondary foreground | #0d080ablack | #0d080ablack |
| Muted | #ecd5dfgainsboro | #2a131dblack |
| Muted foreground | #4a4547darkslategray | #bab5b7silver |
| Accent | #bba68brosybrown | #bba68brosybrown |
| Accent foreground | #0d0a08black | #0d0a08black |
| Destructive | #d61900red | #ff4229orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bb8e8brosybrown | #bb8e8brosybrown |
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 | 6.95:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 6.77:1 | AA |
| Accent | 8.37:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 8.57:1 | AAA |
| Accent | 8.37:1 | AAA |
| Destructive | 3.46: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.894 0.029 348.685);
--muted-foreground: oklch(0.396 0.007 348.261);
--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.688 0.056 22.064);
--primary-foreground: oklch(0.14 0.009 22.303);
--secondary: oklch(0.69 0.065 350.23);
--secondary-foreground: oklch(0.141 0.011 348.717);
--accent: oklch(0.736 0.044 72.615);
--accent-foreground: oklch(0.149 0.008 74.517);
--destructive: oklch(0.558 0.219 30.69);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.688 0.056 22.064);
--chart-1: oklch(0.688 0.056 22.064);
--chart-2: oklch(0.69 0.065 350.23);
--chart-3: oklch(0.736 0.044 72.615);
--chart-4: oklch(0.717 0.059 349.935);
--chart-5: oklch(0.686 0.062 22.234);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 20.915);
--muted: oklch(0.225 0.041 352.545);
--muted-foreground: oklch(0.779 0.006 348.006);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 20.915);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 20.915);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.688 0.056 22.064);
--primary-foreground: oklch(0.14 0.009 22.303);
--secondary: oklch(0.69 0.065 350.23);
--secondary-foreground: oklch(0.141 0.011 348.717);
--accent: oklch(0.736 0.044 72.615);
--accent-foreground: oklch(0.149 0.008 74.517);
--destructive: oklch(0.659 0.228 31.017);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.688 0.056 22.064);
--chart-1: oklch(0.688 0.056 22.064);
--chart-2: oklch(0.69 0.065 350.23);
--chart-3: oklch(0.736 0.044 72.615);
--chart-4: oklch(0.717 0.059 349.935);
--chart-5: oklch(0.686 0.062 22.234);
}