Origin for shadcn/ui

Origin is a shadcn/ui theme built around a light red primary color (#e3c5c4) with light orange accents (#e3d5c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#e3c5c4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#f8f7f7whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#f8f7f7whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#f8f7f7whitesmoke
Primary
#e3c5c4thistle
#e3c5c4thistle
Primary foreground
#4f2726darkslategray
#4f2726darkslategray
Secondary
#e3c4d3thistle
#e3c4d3thistle
Secondary foreground
#4f2639darkslategray
#4f2639darkslategray
Muted
#e7dee3gainsboro
#21181cblack
Muted foreground
#615c5edimgray
#a39ea0darkgray
Accent
#e3d5c4lightgrey
#e3d5c4lightgrey
Accent foreground
#4f3c26darkolivegreen
#4f3c26darkolivegreen
Destructive
#db2100red
#f52500orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3c5c4thistle
#e3c5c4thistle

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.93:1AAA
Secondary button7.87:1AAA
Muted text5.00:1AA
Accent7.24:1AAA
Destructive4.95:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button7.93:1AAA
Secondary button7.87:1AAA
Muted text6.59:1AA
Accent7.24:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.91 0.011 347.238);
  --muted-foreground: oklch(0.479 0.008 347.371);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.849 0.033 20.184);
  --primary-foreground: oklch(0.328 0.06 22.924);
  --secondary: oklch(0.852 0.039 348.102);
  --secondary-foreground: oklch(0.331 0.067 351.993);
  --accent: oklch(0.879 0.027 71.158);
  --accent-foreground: oklch(0.371 0.044 69.558);
  --destructive: oklch(0.571 0.22 31.393);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.849 0.033 20.184);
  --chart-1: oklch(0.849 0.033 20.184);
  --chart-2: oklch(0.852 0.039 348.102);
  --chart-3: oklch(0.879 0.027 71.158);
  --chart-4: oklch(0.878 0.032 347.859);
  --chart-5: oklch(0.848 0.036 20.24);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.002 19.628);
  --muted: oklch(0.22 0.016 348.804);
  --muted-foreground: oklch(0.704 0.008 347.195);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.002 19.628);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.976 0.002 19.628);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.849 0.033 20.184);
  --primary-foreground: oklch(0.328 0.06 22.924);
  --secondary: oklch(0.852 0.039 348.102);
  --secondary-foreground: oklch(0.331 0.067 351.993);
  --accent: oklch(0.879 0.027 71.158);
  --accent-foreground: oklch(0.371 0.044 69.558);
  --destructive: oklch(0.62 0.24 31.264);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.849 0.033 20.184);
  --chart-1: oklch(0.849 0.033 20.184);
  --chart-2: oklch(0.852 0.039 348.102);
  --chart-3: oklch(0.879 0.027 71.158);
  --chart-4: oklch(0.878 0.032 347.859);
  --chart-5: oklch(0.848 0.036 20.24);
}