Klutzy is a shadcn/ui theme built around a light orange primary color (#efdfc8) with light violet accents (#dfc8ef). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#efdfc8) on an orange-tinted background (#100b05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100b05black |
| Foreground | #120c02black | #f9f8f5whitesmoke |
| Card | #ffffffwhite | #100b05black |
| Card foreground | #120c02black | #f9f8f5whitesmoke |
| Popover | #ffffffwhite | #100b05black |
| Popover foreground | #120c02black | #f9f8f5whitesmoke |
| Primary | #efdfc8bisque | #efdfc8bisque |
| Primary foreground | #67481esaddlebrown | #67481esaddlebrown |
| Secondary | #c8efdfgainsboro | #c8efdfgainsboro |
| Secondary foreground | #071811black | #071811black |
| Muted | #f1f4f2whitesmoke | #0b0e0dblack |
| Muted foreground | #4e5552darkslategray | #aab1aedarkgray |
| Accent | #dfc8efthistle | #dfc8efthistle |
| Accent foreground | #481e67indigo | #481e67indigo |
| Destructive | #6a100bmaroon | #e83026crimson |
| Destructive foreground | #f7b4b1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #efdfc8bisque | #efdfc8bisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 14.67:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 18.44:1 | AAA |
| Text on card | 18.44:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 14.67:1 | AAA |
| Muted text | 8.86:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Klutzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.025 81.272);
--muted: oklch(0.964 0.003 169.572);
--muted-foreground: oklch(0.442 0.009 169.057);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.025 81.272);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0.025 81.272);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.909 0.035 76.411);
--primary-foreground: oklch(0.427 0.071 72.857);
--secondary: oklch(0.919 0.046 168.159);
--secondary-foreground: oklch(0.19 0.027 164.887);
--accent: oklch(0.863 0.059 311.177);
--accent-foreground: oklch(0.335 0.124 307.791);
--destructive: oklch(0.341 0.124 28.8);
--destructive-foreground: oklch(0.831 0.078 22.294);
--ring: oklch(0.909 0.035 76.411);
--chart-1: oklch(0.909 0.035 76.411);
--chart-2: oklch(0.919 0.046 168.159);
--chart-3: oklch(0.863 0.059 311.177);
--chart-4: oklch(0.936 0.037 168.52);
--chart-5: oklch(0.91 0.037 76.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.017 79.642);
--foreground: oklch(0.979 0.004 76.635);
--muted: oklch(0.161 0.005 168.729);
--muted-foreground: oklch(0.753 0.008 169.357);
--popover: oklch(0.154 0.017 79.642);
--popover-foreground: oklch(0.979 0.004 76.635);
--card: oklch(0.154 0.017 79.642);
--card-foreground: oklch(0.979 0.004 76.635);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.909 0.035 76.411);
--primary-foreground: oklch(0.427 0.071 72.857);
--secondary: oklch(0.919 0.046 168.159);
--secondary-foreground: oklch(0.19 0.027 164.887);
--accent: oklch(0.863 0.059 311.177);
--accent-foreground: oklch(0.335 0.124 307.791);
--destructive: oklch(0.605 0.22 28.777);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.035 76.411);
--chart-1: oklch(0.909 0.035 76.411);
--chart-2: oklch(0.919 0.046 168.159);
--chart-3: oklch(0.863 0.059 311.177);
--chart-4: oklch(0.936 0.037 168.52);
--chart-5: oklch(0.91 0.037 76.393);
}