Minibus for shadcn/ui

Minibus is a shadcn/ui theme built around a vivid pink primary color (#990b48) with neutral gray accents (#e1e0e0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid pink primary (#990b48) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#000000black
Foreground
#090205black
#fdfcfcsnow
Card
#fdfcfcsnow
#000000black
Card foreground
#090205black
#fdfcfcsnow
Popover
#fdfcfcsnow
#000000black
Popover foreground
#090205black
#fdfcfcsnow
Primary
#990b48brown
#990b48brown
Primary foreground
#fcd9e8mistyrose
#fcd9e8mistyrose
Secondary
#e1e0e0gainsboro
#2b2126darkslategray
Secondary foreground
#494647darkslategray
#c8b7besilver
Muted
#f1e5ealinen
#1a0e14black
Muted foreground
#634b55dimgray
#b49ca7darkgray
Accent
#e1e0e0gainsboro
#2b2126darkslategray
Accent foreground
#494647darkslategray
#c8b7besilver
Destructive
#d54401orangered
#fe5c10orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#990b48brown
#990b48brown

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button6.52:1AA
Secondary button7.07:1AAA
Muted text6.40:1AA
Accent7.07:1AAA
Destructive4.50:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button6.52:1AA
Secondary button8.11:1AAA
Muted text7.36:1AAA
Accent8.11:1AAA
Destructive6.73:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 348.797);
  --foreground: oklch(0.104 0.024 348.315);
  --muted: oklch(0.932 0.014 349.161);
  --muted-foreground: oklch(0.44 0.036 350.909);
  --popover: oklch(0.991 0.002 348.797);
  --popover-foreground: oklch(0.104 0.024 348.315);
  --card: oklch(0.991 0.002 348.797);
  --card-foreground: oklch(0.104 0.024 348.315);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.443 0.172 4.079);
  --primary-foreground: oklch(0.919 0.044 350.019);
  --secondary: oklch(0.907 0.002 348.78);
  --secondary-foreground: oklch(0.397 0.004 349.034);
  --accent: oklch(0.907 0.002 348.78);
  --accent-foreground: oklch(0.397 0.004 349.034);
  --destructive: oklch(0.589 0.191 38.33);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.443 0.172 4.079);
  --chart-1: oklch(0.443 0.172 4.079);
  --chart-2: oklch(0.907 0.002 348.78);
  --chart-3: oklch(0.907 0.002 348.78);
  --chart-4: oklch(0.931 0.001 348.767);
  --chart-5: oklch(0.447 0.175 4.701);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 348.775);
  --muted: oklch(0.185 0.022 351.85);
  --muted-foreground: oklch(0.718 0.032 349.932);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 348.775);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 348.775);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.443 0.172 4.079);
  --primary-foreground: oklch(0.919 0.044 350.019);
  --secondary: oklch(0.262 0.017 350.448);
  --secondary-foreground: oklch(0.795 0.021 349.459);
  --accent: oklch(0.262 0.017 350.448);
  --accent-foreground: oklch(0.795 0.021 349.459);
  --destructive: oklch(0.682 0.21 39.678);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.443 0.172 4.079);
  --chart-1: oklch(0.443 0.172 4.079);
  --chart-2: oklch(0.262 0.017 350.448);
  --chart-3: oklch(0.262 0.017 350.448);
  --chart-4: oklch(0.292 0.02 350.529);
  --chart-5: oklch(0.447 0.175 4.701);
}