Motorcycle for shadcn/ui

Motorcycle is a shadcn/ui theme built around a light red primary color (#fae6e0) with light yellow accents (#faf3e0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the light red primary (#fae6e0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#000000black
Foreground
#090301black
#fdfcfcsnow
Card
#fbf9f8snow
#030303black
Card foreground
#040101black
#ffffffwhite
Popover
#fbf9f8snow
#030303black
Popover foreground
#040101black
#ffffffwhite
Primary
#fae6e0mistyrose
#fae6e0mistyrose
Primary foreground
#923117saddlebrown
#923117saddlebrown
Secondary
#fae0e8mistyrose
#fae0e8mistyrose
Secondary foreground
#92173abrown
#92173abrown
Muted
#e2dfe0gainsboro
#201d1eblack
Muted foreground
#686465dimgray
#9b9798darkgray
Accent
#faf3e0beige
#faf3e0beige
Accent foreground
#392c09black
#392c09black
Destructive
#ae340ffirebrick
#ed592ctomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fae6e0mistyrose
#fae6e0mistyrose

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card19.83:1AAA
Primary button6.52:1AA
Secondary button7.02:1AAA
Muted text4.40:1AA Large
Accent12.31:1AAA
Destructive6.38:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button6.52:1AA
Secondary button7.02:1AAA
Muted text5.78:1AA
Accent12.31:1AAA
Destructive6.04:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 36.007);
  --foreground: oklch(0.109 0.018 46.119);
  --muted: oklch(0.906 0.004 357.826);
  --muted-foreground: oklch(0.507 0.005 358.021);
  --popover: oklch(0.984 0.003 36.002);
  --popover-foreground: oklch(0.087 0.015 46.119);
  --card: oklch(0.984 0.003 36.002);
  --card-foreground: oklch(0.087 0.015 46.119);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.939 0.024 35.952);
  --primary-foreground: oklch(0.452 0.135 35.824);
  --secondary: oklch(0.93 0.03 358.627);
  --secondary-foreground: oklch(0.432 0.156 11.548);
  --accent: oklch(0.964 0.026 88.94);
  --accent-foreground: oklch(0.3 0.053 86.508);
  --destructive: oklch(0.504 0.164 35.813);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.939 0.024 35.952);
  --chart-1: oklch(0.939 0.024 35.952);
  --chart-2: oklch(0.93 0.03 358.627);
  --chart-3: oklch(0.964 0.026 88.94);
  --chart-4: oklch(0.96 0.017 358.217);
  --chart-5: oklch(0.939 0.025 35.95);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 36.009);
  --muted: oklch(0.235 0.005 358.315);
  --muted-foreground: oklch(0.68 0.005 357.927);
  --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.939 0.024 35.952);
  --primary-foreground: oklch(0.452 0.135 35.824);
  --secondary: oklch(0.93 0.03 358.627);
  --secondary-foreground: oklch(0.432 0.156 11.548);
  --accent: oklch(0.964 0.026 88.94);
  --accent-foreground: oklch(0.3 0.053 86.508);
  --destructive: oklch(0.653 0.191 36.816);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.939 0.024 35.952);
  --chart-1: oklch(0.939 0.024 35.952);
  --chart-2: oklch(0.93 0.03 358.627);
  --chart-3: oklch(0.964 0.026 88.94);
  --chart-4: oklch(0.96 0.017 358.217);
  --chart-5: oklch(0.939 0.025 35.95);
}