Klutzy is a shadcn/ui theme built around a near-black primary color (#010403) with near-black accents (#040102). The light mode uses a neutral background (#fbfefd). Dark mode keeps the near-black primary (#010403) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #050f0bblack | #fcfdfdwhite |
| Card | #fbfefdwhite | #010403black |
| Card foreground | #050f0bblack | #fcfdfdwhite |
| Popover | #fbfefdwhite | #010403black |
| Popover foreground | #050f0bblack | #fcfdfdwhite |
| Primary | #010403black | #010403black |
| Primary foreground | #72c59emediumaquamarine | #72c59emediumaquamarine |
| Secondary | #040102black | #040102black |
| Secondary foreground | #c57299palevioletred | #c57299palevioletred |
| Muted | #ecdae2gainsboro | #25131bblack |
| Muted foreground | #54454cdarkslategray | #baabb2darkgray |
| Accent | #040102black | #040102black |
| Accent foreground | #c57299palevioletred | #c57299palevioletred |
| Destructive | #732a02saddlebrown | #e15205orangered |
| Destructive foreground | #fdc7aanavajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #010403black | #010403black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 10.00:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 6.16:1 | AA |
| Destructive | 6.76:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 10.00:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 8.04:1 | AAA |
| Accent | 6.16:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Klutzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 166.827);
--foreground: oklch(0.157 0.019 164.937);
--muted: oklch(0.905 0.023 347.589);
--muted-foreground: oklch(0.408 0.024 348.409);
--popover: oklch(0.994 0.003 166.827);
--popover-foreground: oklch(0.157 0.019 164.937);
--card: oklch(0.994 0.003 166.827);
--card-foreground: oklch(0.157 0.019 164.937);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.097 0.01 167.064);
--primary-foreground: oklch(0.76 0.1 162.536);
--secondary: oklch(0.086 0.012 346.711);
--secondary-foreground: oklch(0.655 0.115 351.325);
--accent: oklch(0.086 0.012 346.711);
--accent-foreground: oklch(0.655 0.115 351.325);
--destructive: oklch(0.387 0.113 42.885);
--destructive-foreground: oklch(0.871 0.073 49.671);
--ring: oklch(0.097 0.01 167.064);
--chart-1: oklch(0.097 0.01 167.064);
--chart-2: oklch(0.086 0.012 346.711);
--chart-3: oklch(0.086 0.012 346.711);
--chart-4: oklch(0.138 0.019 348.307);
--chart-5: oklch(0.097 0.01 167.074);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.013 167.11);
--foreground: oklch(0.993 0.002 166.849);
--muted: oklch(0.215 0.034 350.844);
--muted-foreground: oklch(0.756 0.02 347.613);
--popover: oklch(0.098 0.013 167.11);
--popover-foreground: oklch(0.993 0.002 166.849);
--card: oklch(0.098 0.013 167.11);
--card-foreground: oklch(0.993 0.002 166.849);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.097 0.01 167.064);
--primary-foreground: oklch(0.76 0.1 162.536);
--secondary: oklch(0.086 0.012 346.711);
--secondary-foreground: oklch(0.655 0.115 351.325);
--accent: oklch(0.086 0.012 346.711);
--accent-foreground: oklch(0.655 0.115 351.325);
--destructive: oklch(0.624 0.191 40.75);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.097 0.01 167.064);
--chart-1: oklch(0.097 0.01 167.064);
--chart-2: oklch(0.086 0.012 346.711);
--chart-3: oklch(0.086 0.012 346.711);
--chart-4: oklch(0.138 0.019 348.307);
--chart-5: oklch(0.097 0.01 167.074);
}