Parallel for shadcn/ui

Parallel is a shadcn/ui theme built around a deep orange primary color (#452c21) with muted light orange accents (#d5ccc8). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#452c21) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#0d0502black
#fdfcfcsnow
Card
#ffffffwhite
#040201black
Card foreground
#0d0502black
#fdfcfcsnow
Popover
#ffffffwhite
#040201black
Popover foreground
#0d0502black
#fdfcfcsnow
Primary
#452c21darkslategray
#452c21darkslategray
Primary foreground
#dec5balightgrey
#dec5balightgrey
Secondary
#d5ccc8lightgrey
#392d28darkslategray
Secondary foreground
#3d332edarkslategray
#d3c6c0silver
Muted
#e4d4cdlightgrey
#32221bblack
Muted foreground
#584f4bdarkolivegreen
#b4aba7darkgray
Accent
#d5ccc8lightgrey
#392d28darkslategray
Accent foreground
#3d332edarkslategray
#d3c6c0silver
Destructive
#7a250bsaddlebrown
#ee643atomato
Destructive foreground
#f9cbbdpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#452c21darkslategray
#452c21darkslategray

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button7.84:1AAA
Secondary button7.76:1AAA
Muted text5.54:1AA
Accent7.76:1AAA
Destructive6.83:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button7.84:1AAA
Secondary button7.98:1AAA
Muted text6.78:1AA
Accent7.98:1AAA
Destructive6.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.02 55.307);
  --muted: oklch(0.882 0.02 44.76);
  --muted-foreground: oklch(0.435 0.014 44.687);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.02 55.307);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.129 0.02 55.307);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.32 0.043 43.971);
  --primary-foreground: oklch(0.841 0.033 44.627);
  --secondary: oklch(0.851 0.012 44.841);
  --secondary-foreground: oklch(0.329 0.017 44.532);
  --accent: oklch(0.851 0.012 44.841);
  --accent-foreground: oklch(0.329 0.017 44.532);
  --destructive: oklch(0.393 0.124 36.211);
  --destructive-foreground: oklch(0.879 0.056 37.592);
  --ring: oklch(0.32 0.043 43.971);
  --chart-1: oklch(0.32 0.043 43.971);
  --chart-2: oklch(0.851 0.012 44.841);
  --chart-3: oklch(0.851 0.012 44.841);
  --chart-4: oklch(0.875 0.01 44.866);
  --chart-5: oklch(0.321 0.046 43.879);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.09 0.011 53.299);
  --foreground: oklch(0.992 0.001 44.969);
  --muted: oklch(0.268 0.028 44.185);
  --muted-foreground: oklch(0.747 0.012 44.823);
  --popover: oklch(0.09 0.011 53.299);
  --popover-foreground: oklch(0.992 0.001 44.969);
  --card: oklch(0.09 0.011 53.299);
  --card-foreground: oklch(0.992 0.001 44.969);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.32 0.043 43.971);
  --primary-foreground: oklch(0.841 0.033 44.627);
  --secondary: oklch(0.309 0.02 44.437);
  --secondary-foreground: oklch(0.835 0.017 44.781);
  --accent: oklch(0.309 0.02 44.437);
  --accent-foreground: oklch(0.835 0.017 44.781);
  --destructive: oklch(0.67 0.18 37.261);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.32 0.043 43.971);
  --chart-1: oklch(0.32 0.043 43.971);
  --chart-2: oklch(0.309 0.02 44.437);
  --chart-3: oklch(0.309 0.02 44.437);
  --chart-4: oklch(0.339 0.023 44.423);
  --chart-5: oklch(0.321 0.046 43.879);
}