Unkempt is a shadcn/ui theme built around a green primary color (#80d69e) with pink accents (#d680b8). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#80d69e) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030705black |
| Foreground | #030d06black | #f9fbfamintcream |
| Card | #fcfcfcsnow | #050a07black |
| Card foreground | #020804black | #fcfdfcwhite |
| Popover | #ffffffwhite | #030705black |
| Popover foreground | #030d06black | #f9fbfamintcream |
| Primary | #80d69emediumaquamarine | #80d69emediumaquamarine |
| Primary foreground | #091b0fblack | #091b0fblack |
| Secondary | #d680b8orchid | #d680b8orchid |
| Secondary foreground | #1b0915black | #1b0915black |
| Muted | #ebdbe5gainsboro | #24141eblack |
| Muted foreground | #624b5adimgray | #b49dacdarkgray |
| Accent | #d680b8orchid | #d680b8orchid |
| Accent foreground | #1b0915black | #1b0915black |
| Destructive | #c21b0ffirebrick | #ee2e20crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #80d69emediumaquamarine | #80d69emediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 10.21:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.90:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 6.05:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 10.21:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 6.99:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Unkempt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.024 157.311);
--muted: oklch(0.907 0.023 338.497);
--muted-foreground: oklch(0.443 0.038 339.667);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.024 157.311);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.124 0.021 157.651);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.806 0.116 154.433);
--primary-foreground: oklch(0.202 0.034 153.682);
--secondary: oklch(0.708 0.126 341.419);
--secondary-foreground: oklch(0.173 0.038 342.15);
--accent: oklch(0.708 0.126 341.419);
--accent-foreground: oklch(0.173 0.038 342.15);
--destructive: oklch(0.522 0.201 29.711);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.806 0.116 154.433);
--chart-1: oklch(0.806 0.116 154.433);
--chart-2: oklch(0.708 0.126 341.419);
--chart-3: oklch(0.708 0.126 341.419);
--chart-4: oklch(0.734 0.114 340.995);
--chart-5: oklch(0.811 0.122 154.227);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.011 157.811);
--foreground: oklch(0.986 0.003 157.923);
--muted: oklch(0.218 0.032 340.86);
--muted-foreground: oklch(0.72 0.033 338.92);
--popover: oklch(0.12 0.011 157.811);
--popover-foreground: oklch(0.986 0.003 157.923);
--card: oklch(0.138 0.013 157.811);
--card-foreground: oklch(0.993 0.001 157.954);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.806 0.116 154.433);
--primary-foreground: oklch(0.202 0.034 153.682);
--secondary: oklch(0.708 0.126 341.419);
--secondary-foreground: oklch(0.173 0.038 342.15);
--accent: oklch(0.708 0.126 341.419);
--accent-foreground: oklch(0.173 0.038 342.15);
--destructive: oklch(0.614 0.227 29.494);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.806 0.116 154.433);
--chart-1: oklch(0.806 0.116 154.433);
--chart-2: oklch(0.708 0.126 341.419);
--chart-3: oklch(0.708 0.126 341.419);
--chart-4: oklch(0.734 0.114 340.995);
--chart-5: oklch(0.811 0.122 154.227);
}