Short for shadcn/ui

Short is a shadcn/ui theme built around a blue primary color (#3d81a9) with orange accents (#a9643d). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#3d81a9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040c11black
#fcfdfdwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#03090cblack
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#03090cblack
#ffffffwhite
Primary
#3d81a9steelblue
#3d81a9steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a9643dsienna
#a9643dsienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5d6cdgainsboro
#32231ablack
Muted foreground
#544a45darkslategray
#bab0abdarkgray
Accent
#a9643dsienna
#a9643dsienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#721a09maroon
#da3210orangered
Destructive foreground
#f9bfb3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3d81a9steelblue
#3d81a9steelblue

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.60:1AAA
Primary button4.27:1AA Large
Secondary button4.58:1AA
Muted text6.04:1AA
Accent4.58:1AA
Destructive7.03:1AAA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button4.27:1AA Large
Secondary button4.58:1AA
Muted text7.09:1AAA
Accent4.58:1AA
Destructive4.71:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.147 0.018 230.251);
  --muted: oklch(0.885 0.02 52.274);
  --muted-foreground: oklch(0.419 0.016 52.086);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.133 0.015 226.419);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.133 0.015 226.419);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.577 0.092 236.791);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.573 0.104 49.641);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.573 0.104 49.641);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.365 0.125 32.957);
  --destructive-foreground: oklch(0.854 0.07 31.431);
  --ring: oklch(0.577 0.092 236.791);
  --chart-1: oklch(0.577 0.092 236.791);
  --chart-2: oklch(0.573 0.104 49.641);
  --chart-3: oklch(0.573 0.104 49.641);
  --chart-4: oklch(0.6 0.109 49.61);
  --chart-5: oklch(0.579 0.097 237.194);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 232.591);
  --muted: oklch(0.272 0.028 51.254);
  --muted-foreground: oklch(0.765 0.014 52.342);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.577 0.092 236.791);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.573 0.104 49.641);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.573 0.104 49.641);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.581 0.208 32.556);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.577 0.092 236.791);
  --chart-1: oklch(0.577 0.092 236.791);
  --chart-2: oklch(0.573 0.104 49.641);
  --chart-3: oklch(0.573 0.104 49.641);
  --chart-4: oklch(0.6 0.109 49.61);
  --chart-5: oklch(0.579 0.097 237.194);
}