Kooky for shadcn/ui

Kooky is a shadcn/ui theme built around an orange primary color (#85623d) with blue accents (#3d6085). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#85623d) on an orange-tinted background (#0e0a06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0a06black
Foreground
#040301black
#f9f7f6whitesmoke
Card
#fcfcfcsnow
#110d08black
Card foreground
#000000black
#fbfaf9snow
Popover
#ffffffwhite
#0e0a06black
Popover foreground
#040301black
#f9f7f6whitesmoke
Primary
#85623dsienna
#85623dsienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3d6085darkslateblue
#3d6085darkslateblue
Secondary foreground
#f8fafcghostwhite
#f8fafcghostwhite
Muted
#d6dbe1gainsboro
#1e2429darkslategray
Muted foreground
#414c58darkslategray
#a7b2bedarkgray
Accent
#3d6085darkslateblue
#3d6085darkslateblue
Accent foreground
#f8fafcghostwhite
#f8fafcghostwhite
Destructive
#cc2d14firebrick
#ec533ctomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#85623dsienna
#85623dsienna

Contrast

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

Light mode
Text on background20.61:1AAA
Text on card20.54:1AAA
Primary button5.50:1AA
Secondary button6.27:1AA
Muted text6.28:1AA
Accent6.27:1AA
Destructive5.31:1AA
Dark mode
Text on background18.44:1AAA
Text on card18.56:1AAA
Primary button5.50:1AA
Secondary button6.27:1AA
Muted text7.31:1AAA
Accent6.27:1AA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.095 0.013 79.131);
  --muted: oklch(0.889 0.01 249.756);
  --muted-foreground: oklch(0.412 0.025 250.166);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.095 0.013 79.131);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.523 0.069 67.211);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.478 0.072 251.085);
  --secondary-foreground: oklch(0.984 0.003 249.681);
  --accent: oklch(0.478 0.072 251.085);
  --accent-foreground: oklch(0.984 0.003 249.681);
  --destructive: oklch(0.552 0.198 31.567);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.523 0.069 67.211);
  --chart-1: oklch(0.523 0.069 67.211);
  --chart-2: oklch(0.478 0.072 251.085);
  --chart-3: oklch(0.478 0.072 251.085);
  --chart-4: oklch(0.504 0.077 251.102);
  --chart-5: oklch(0.527 0.074 66.88);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.149 0.011 71.841);
  --foreground: oklch(0.978 0.002 69.628);
  --muted: oklch(0.255 0.014 250.119);
  --muted-foreground: oklch(0.759 0.021 249.9);
  --popover: oklch(0.149 0.011 71.841);
  --popover-foreground: oklch(0.978 0.002 69.628);
  --card: oklch(0.163 0.013 69.335);
  --card-foreground: oklch(0.985 0.001 69.635);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.523 0.069 67.211);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.478 0.072 251.085);
  --secondary-foreground: oklch(0.984 0.003 249.681);
  --accent: oklch(0.478 0.072 251.085);
  --accent-foreground: oklch(0.984 0.003 249.681);
  --destructive: oklch(0.647 0.192 31.4);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.523 0.069 67.211);
  --chart-1: oklch(0.523 0.069 67.211);
  --chart-2: oklch(0.478 0.072 251.085);
  --chart-3: oklch(0.478 0.072 251.085);
  --chart-4: oklch(0.504 0.077 251.102);
  --chart-5: oklch(0.527 0.074 66.88);
}