Unwieldy is a shadcn/ui theme built around a vivid indigo primary color (#232af6) with vivid green accents (#2af623). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid indigo primary (#232af6) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #020203black |
| Foreground | #020209black | #ffffffwhite |
| Card | #f4f5fawhitesmoke | #030407black |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #f4f5fawhitesmoke | #030407black |
| Popover foreground | #010104black | #ffffffwhite |
| Primary | #232af6blue | #232af6blue |
| Primary foreground | #e7e7felavender | #e7e7felavender |
| Secondary | #f6232acrimson | #f6232acrimson |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3dedegainsboro | #211c1cblack |
| Muted foreground | #6d5a5adimgray | #a59292rosybrown |
| Accent | #2af623limegreen | #2af623limegreen |
| Accent foreground | #054903darkgreen | #054903darkgreen |
| Destructive | #bc2d10firebrick | #e63714orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #232af6blue | #232af6blue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 4.82:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 20.76:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 5.71:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Unwieldy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.005 284.718);
--foreground: oklch(0.09 0.026 277.218);
--muted: oklch(0.904 0.006 14.915);
--muted-foreground: oklch(0.486 0.026 15.83);
--popover: oklch(0.971 0.007 284.672);
--popover-foreground: oklch(0.071 0.02 277.218);
--card: oklch(0.971 0.007 284.672);
--card-foreground: oklch(0.071 0.02 277.218);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.471 0.283 267.498);
--primary-foreground: oklch(0.935 0.031 284.216);
--secondary: oklch(0.623 0.239 26.754);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.846 0.277 142.411);
--accent-foreground: oklch(0.354 0.117 142.273);
--destructive: oklch(0.522 0.183 32.74);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.471 0.283 267.498);
--chart-1: oklch(0.471 0.283 267.498);
--chart-2: oklch(0.623 0.239 26.754);
--chart-3: oklch(0.846 0.277 142.411);
--chart-4: oklch(0.633 0.23 25.524);
--chart-5: oklch(0.471 0.29 266.96);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 282.427);
--foreground: oklch(1 0 180);
--muted: oklch(0.232 0.009 15.499);
--muted-foreground: oklch(0.677 0.024 15.462);
--popover: oklch(0.105 0.011 282.427);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.105 0.011 282.427);
--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.471 0.283 267.498);
--primary-foreground: oklch(0.935 0.031 284.216);
--secondary: oklch(0.623 0.239 26.754);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.846 0.277 142.411);
--accent-foreground: oklch(0.354 0.117 142.273);
--destructive: oklch(0.606 0.215 32.639);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.471 0.283 267.498);
--chart-1: oklch(0.471 0.283 267.498);
--chart-2: oklch(0.623 0.239 26.754);
--chart-3: oklch(0.846 0.277 142.411);
--chart-4: oklch(0.633 0.23 25.524);
--chart-5: oklch(0.471 0.29 266.96);
}