Short for shadcn/ui

Short is a shadcn/ui theme built around an orange primary color (#cea883) with blue accents (#83a8ce). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#cea883) on a neutral background (#070504).

Color palette

TokenLightDark
Background
#fefcfbsnow
#070504black
Foreground
#130d06black
#fdfcfcsnow
Card
#fefcfbsnow
#070504black
Card foreground
#130d06black
#fdfcfcsnow
Popover
#fefcfbsnow
#070504black
Popover foreground
#130d06black
#fdfcfcsnow
Primary
#cea883tan
#cea883tan
Primary foreground
#160f09black
#160f09black
Secondary
#83a8cecornflowerblue
#83a8cecornflowerblue
Secondary foreground
#090f16black
#090f16black
Muted
#dcdee0gainsboro
#1f2123black
Muted foreground
#47525cdarkslategray
#a3adb8darkgray
Accent
#83a8cecornflowerblue
#83a8cecornflowerblue
Accent foreground
#090f16black
#090f16black
Destructive
#a04008saddlebrown
#f47a34coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cea883tan
#cea883tan

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card18.92:1AAA
Primary button8.64:1AAA
Secondary button7.76:1AAA
Muted text5.91:1AA
Accent7.76:1AAA
Destructive6.50:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button8.64:1AAA
Secondary button7.76:1AAA
Muted text7.08:1AAA
Accent7.76:1AAA
Destructive7.69:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 67.795);
  --foreground: oklch(0.164 0.018 68.253);
  --muted: oklch(0.899 0.003 247.855);
  --muted-foreground: oklch(0.432 0.022 248.34);
  --popover: oklch(0.993 0.002 67.795);
  --popover-foreground: oklch(0.164 0.018 68.253);
  --card: oklch(0.993 0.002 67.795);
  --card-foreground: oklch(0.164 0.018 68.253);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.757 0.067 66.529);
  --primary-foreground: oklch(0.176 0.017 66.564);
  --secondary: oklch(0.719 0.068 248.799);
  --secondary-foreground: oklch(0.166 0.017 248.718);
  --accent: oklch(0.719 0.068 248.799);
  --accent-foreground: oklch(0.166 0.017 248.718);
  --destructive: oklch(0.495 0.14 43.741);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.757 0.067 66.529);
  --chart-1: oklch(0.757 0.067 66.529);
  --chart-2: oklch(0.719 0.068 248.799);
  --chart-3: oklch(0.719 0.068 248.799);
  --chart-4: oklch(0.744 0.062 248.667);
  --chart-5: oklch(0.759 0.071 66.407);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.007 72.054);
  --foreground: oklch(0.993 0.001 67.807);
  --muted: oklch(0.247 0.004 247.989);
  --muted-foreground: oklch(0.744 0.019 248.089);
  --popover: oklch(0.118 0.007 72.054);
  --popover-foreground: oklch(0.993 0.001 67.807);
  --card: oklch(0.118 0.007 72.054);
  --card-foreground: oklch(0.993 0.001 67.807);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.757 0.067 66.529);
  --primary-foreground: oklch(0.176 0.017 66.564);
  --secondary: oklch(0.719 0.068 248.799);
  --secondary-foreground: oklch(0.166 0.017 248.718);
  --accent: oklch(0.719 0.068 248.799);
  --accent-foreground: oklch(0.166 0.017 248.718);
  --destructive: oklch(0.71 0.17 47.178);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.757 0.067 66.529);
  --chart-1: oklch(0.757 0.067 66.529);
  --chart-2: oklch(0.719 0.068 248.799);
  --chart-3: oklch(0.719 0.068 248.799);
  --chart-4: oklch(0.744 0.062 248.667);
  --chart-5: oklch(0.759 0.071 66.407);
}