Klutzy for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button6.34:1AA
Secondary button14.67:1AAA
Muted text6.89:1AA
Accent8.20:1AAA
Destructive7.15:1AAA
Dark mode
Text on background18.44:1AAA
Text on card18.44:1AAA
Primary button6.34:1AA
Secondary button14.67:1AAA
Muted text8.86:1AAA
Accent8.20:1AAA
Destructive4.29:1AA Large

CSS variables

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);
}