Short for shadcn/ui

Short is a shadcn/ui theme built around an orange primary color (#c46545) with violet accents (#6545c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#c46545) on an orange-tinted background (#0e0807).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0807black
Foreground
#0c0503black
#f8f7f7whitesmoke
Card
#fcfcfcsnow
#110b08black
Card foreground
#080402black
#fafaf9snow
Popover
#fcfcfcsnow
#110b08black
Popover foreground
#080402black
#fafaf9snow
Primary
#c46545indianred
#c46545indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#45c465mediumseagreen
#45c465mediumseagreen
Secondary foreground
#0f2f17black
#0f2f17black
Muted
#ddeee1gainsboro
#112215black
Muted foreground
#4e5550darkslategray
#aab1acdarkgray
Accent
#6545c4slateblue
#6545c4slateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6e110cmaroon
#e72c23crimson
Destructive foreground
#f7b9b6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c46545indianred
#c46545indianred

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card19.97:1AAA
Primary button3.96:1AA Large
Secondary button6.50:1AA
Muted text6.36:1AA
Accent6.56:1AA
Destructive7.17:1AAA
Dark mode
Text on background18.56:1AAA
Text on card18.72:1AAA
Primary button3.96:1AA Large
Secondary button6.50:1AA
Muted text7.56:1AAA
Accent6.56:1AA
Destructive4.39:1AA Large

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.128 0.017 47.234);
  --muted: oklch(0.933 0.026 153.396);
  --muted-foreground: oklch(0.442 0.011 153.429);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.112 0.014 47.626);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.112 0.014 47.626);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.612 0.13 38.974);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.729 0.175 148.393);
  --secondary-foreground: oklch(0.272 0.058 149.29);
  --accent: oklch(0.498 0.188 289.228);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.35 0.127 28.778);
  --destructive-foreground: oklch(0.841 0.072 22.154);
  --ring: oklch(0.612 0.13 38.974);
  --chart-1: oklch(0.612 0.13 38.974);
  --chart-2: oklch(0.729 0.175 148.393);
  --chart-3: oklch(0.498 0.188 289.228);
  --chart-4: oklch(0.743 0.166 148.934);
  --chart-5: oklch(0.614 0.138 38.892);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.01 42.191);
  --foreground: oklch(0.977 0.001 39.498);
  --muted: oklch(0.233 0.035 150.914);
  --muted-foreground: oklch(0.753 0.01 153.649);
  --popover: oklch(0.156 0.012 39.912);
  --popover-foreground: oklch(0.985 0.001 39.501);
  --card: oklch(0.156 0.012 39.912);
  --card-foreground: oklch(0.985 0.001 39.501);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.612 0.13 38.974);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.729 0.175 148.393);
  --secondary-foreground: oklch(0.272 0.058 149.29);
  --accent: oklch(0.498 0.188 289.228);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.6 0.221 28.906);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.612 0.13 38.974);
  --chart-1: oklch(0.612 0.13 38.974);
  --chart-2: oklch(0.729 0.175 148.393);
  --chart-3: oklch(0.498 0.188 289.228);
  --chart-4: oklch(0.743 0.166 148.934);
  --chart-5: oklch(0.614 0.138 38.892);
}