Untidy is a shadcn/ui theme built around a near-black primary color (#070306) with near-white accents (#eceaeb). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#070306) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040103black | #f9f6f8whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #040103black | #f9f6f8whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #040103black | #f9f6f8whitesmoke |
| Primary | #070306black | #070306black |
| Primary foreground | #bf7daarosybrown | #bf7daarosybrown |
| Secondary | #eceaeblinen | #33242edarkslategray |
| Secondary foreground | #564e53darkslategray | #cebac8silver |
| Muted | #f0e5edlinen | #1a0f16black |
| Muted foreground | #676566dimgray | #9a9899darkgray |
| Accent | #eceaeblinen | #33242edarkslategray |
| Accent foreground | #564e53darkslategray | #cebac8silver |
| Destructive | #b02503firebrick | #fc4d22orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #070306black | #070306black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.69:1 | AA |
| Muted text | 4.71:1 | AA |
| Accent | 6.69:1 | AA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Untidy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.019 337.069);
--muted: oklch(0.933 0.016 336.893);
--muted-foreground: oklch(0.509 0.003 336.687);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.084 0.019 337.069);
--card: oklch(1 0 180);
--card-foreground: oklch(0.084 0.019 337.069);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.111 0.013 336.833);
--primary-foreground: oklch(0.672 0.101 339.271);
--secondary: oklch(0.938 0.003 336.619);
--secondary-foreground: oklch(0.432 0.014 337.177);
--accent: oklch(0.938 0.003 336.619);
--accent-foreground: oklch(0.432 0.014 337.177);
--destructive: oklch(0.493 0.179 33.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.111 0.013 336.833);
--chart-1: oklch(0.111 0.013 336.833);
--chart-2: oklch(0.938 0.003 336.619);
--chart-3: oklch(0.938 0.003 336.619);
--chart-4: oklch(0.961 0.002 336.596);
--chart-5: oklch(0.11 0.014 336.858);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 336.653);
--muted: oklch(0.186 0.024 338.919);
--muted-foreground: oklch(0.682 0.003 336.648);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.005 336.653);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.005 336.653);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.111 0.013 336.833);
--primary-foreground: oklch(0.672 0.101 339.271);
--secondary: oklch(0.282 0.028 338.397);
--secondary-foreground: oklch(0.811 0.029 337.245);
--accent: oklch(0.282 0.028 338.397);
--accent-foreground: oklch(0.811 0.029 337.245);
--destructive: oklch(0.664 0.217 34.483);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.111 0.013 336.833);
--chart-1: oklch(0.111 0.013 336.833);
--chart-2: oklch(0.282 0.028 338.397);
--chart-3: oklch(0.282 0.028 338.397);
--chart-4: oklch(0.311 0.032 338.466);
--chart-5: oklch(0.11 0.014 336.858);
}