Kimono for shadcn/ui

Kimono is a shadcn/ui theme built around an orange primary color (#974820) with blue accents (#207097). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the orange primary (#974820) on an orange-tinted background (#0e0907).

Color palette

TokenLightDark
Background
#fcf9f8snow
#0e0907black
Foreground
#0e0602black
#fdfcfcsnow
Card
#faf7f5whitesmoke
#110b09black
Card foreground
#090401black
#ffffffwhite
Popover
#faf7f5whitesmoke
#110b09black
Popover foreground
#090401black
#ffffffwhite
Primary
#974820saddlebrown
#974820saddlebrown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#207097teal
#207097teal
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#cedce4gainsboro
#1b2a31darkslategray
Muted foreground
#535b5fdimgray
#a0a8acdarkgray
Accent
#207097teal
#207097teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#5c170amaroon
#e73f1dorangered
Destructive foreground
#f5b0a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#974820saddlebrown
#974820saddlebrown

Contrast

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

Light mode
Text on background19.19:1AAA
Text on card19.06:1AAA
Primary button6.42:1AA
Secondary button5.50:1AA
Muted text4.95:1AA
Accent5.50:1AA
Destructive7.31:1AAA
Dark mode
Text on background19.33:1AAA
Text on card19.49:1AAA
Primary button6.42:1AA
Secondary button5.50:1AA
Muted text6.11:1AA
Accent5.50:1AA
Destructive4.09:1AA Large

CSS variables

Paste this into your globals.css to use Kimono in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 48.715);
  --foreground: oklch(0.131 0.022 60.209);
  --muted: oklch(0.887 0.019 229.043);
  --muted-foreground: oklch(0.467 0.012 229.125);
  --popover: oklch(0.977 0.004 48.697);
  --popover-foreground: oklch(0.114 0.019 61.34);
  --card: oklch(0.977 0.004 48.697);
  --card-foreground: oklch(0.114 0.019 61.34);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.496 0.119 44.76);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.516 0.097 235.442);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.516 0.097 235.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.32 0.103 33.152);
  --destructive-foreground: oklch(0.82 0.084 31.592);
  --ring: oklch(0.496 0.119 44.76);
  --chart-1: oklch(0.496 0.119 44.76);
  --chart-2: oklch(0.516 0.097 235.442);
  --chart-3: oklch(0.516 0.097 235.442);
  --chart-4: oklch(0.546 0.103 235.548);
  --chart-5: oklch(0.498 0.124 44.393);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.01 51.354);
  --foreground: oklch(0.992 0.001 48.74);
  --muted: oklch(0.275 0.024 230.385);
  --muted-foreground: oklch(0.726 0.011 228.958);
  --popover: oklch(0.158 0.011 48.543);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.011 48.543);
  --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.496 0.119 44.76);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.516 0.097 235.442);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.516 0.097 235.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.615 0.21 32.927);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.496 0.119 44.76);
  --chart-1: oklch(0.496 0.119 44.76);
  --chart-2: oklch(0.516 0.097 235.442);
  --chart-3: oklch(0.516 0.097 235.442);
  --chart-4: oklch(0.546 0.103 235.548);
  --chart-5: oklch(0.498 0.124 44.393);
}