Unkempt is a shadcn/ui theme built around a deep yellow primary color (#15110a) with muted light yellow accents (#eeece7). The light mode uses a neutral background (#fefdfb). Dark mode keeps the deep yellow primary (#15110a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #140f06black | #ffffffwhite |
| Card | #fcfbf7snow | #030303black |
| Card foreground | #100c04black | #ffffffwhite |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #140f06black | #ffffffwhite |
| Primary | #15110ablack | #15110ablack |
| Primary foreground | #c8b389tan | #c8b389tan |
| Secondary | #eeece7linen | #23201ablack |
| Secondary foreground | #5f5644darkolivegreen | #c2bbaesilver |
| Muted | #efece6linen | #191610black |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #eeece7linen | #23201ablack |
| Accent foreground | #5f5644darkolivegreen | #c2bbaesilver |
| Destructive | #ae3809firebrick | #f45f25tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #15110ablack | #15110ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.74:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 9.19:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 7.89:1 | AAA |
| Accent | 6.12:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 9.19:1 | AAA |
| Secondary button | 8.51:1 | AAA |
| Muted text | 9.09:1 | AAA |
| Accent | 8.51:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Unkempt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 84.557);
--foreground: oklch(0.172 0.021 85.428);
--muted: oklch(0.945 0.009 84.575);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(0.994 0.002 84.557);
--popover-foreground: oklch(0.172 0.021 85.428);
--card: oklch(0.988 0.005 84.564);
--card-foreground: oklch(0.157 0.018 87.191);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.18 0.015 84.338);
--primary-foreground: oklch(0.773 0.061 84.402);
--secondary: oklch(0.943 0.007 84.569);
--secondary-foreground: oklch(0.458 0.031 84.481);
--accent: oklch(0.943 0.007 84.569);
--accent-foreground: oklch(0.458 0.031 84.481);
--destructive: oklch(0.509 0.162 37.887);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.18 0.015 84.338);
--chart-1: oklch(0.18 0.015 84.338);
--chart-2: oklch(0.943 0.007 84.569);
--chart-3: oklch(0.943 0.007 84.569);
--chart-4: oklch(0.964 0.004 84.562);
--chart-5: oklch(0.181 0.017 84.304);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.202 0.013 84.488);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.18 0.015 84.338);
--primary-foreground: oklch(0.773 0.061 84.402);
--secondary: oklch(0.245 0.011 84.572);
--secondary-foreground: oklch(0.794 0.02 84.593);
--accent: oklch(0.245 0.011 84.572);
--accent-foreground: oklch(0.794 0.02 84.593);
--destructive: oklch(0.671 0.194 39.531);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.18 0.015 84.338);
--chart-1: oklch(0.18 0.015 84.338);
--chart-2: oklch(0.245 0.011 84.572);
--chart-3: oklch(0.245 0.011 84.572);
--chart-4: oklch(0.278 0.014 84.564);
--chart-5: oklch(0.181 0.017 84.304);
}