Export for shadcn/ui

Export is a shadcn/ui theme built around a muted red primary color (#644046) with muted blue accents (#404664). The light mode uses a neutral background (#fcf7f8). Dark mode keeps the muted red primary (#644046) on a red-tinted background (#0d0708).

Color palette

TokenLightDark
Background
#fcf7f8snow
#0d0708black
Foreground
#0c0305black
#ffffffwhite
Card
#fcf7f8snow
#0d0708black
Card foreground
#0c0305black
#ffffffwhite
Popover
#fcf7f8snow
#0d0708black
Popover foreground
#0c0305black
#ffffffwhite
Primary
#644046darkolivegreen
#644046darkolivegreen
Primary foreground
#efe6e8linen
#efe6e8linen
Secondary
#466440darkolivegreen
#466440darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ecf6eahoneydew
#0c1509black
Muted foreground
#404d3ddarkslategray
#b5c2b2silver
Accent
#404664darkslategray
#404664darkslategray
Accent foreground
#e6e8eflavender
#e6e8eflavender
Destructive
#981706darkred
#f64831tomato
Destructive foreground
#fdd8d3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#644046darkolivegreen
#644046darkolivegreen

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button7.29:1AAA
Secondary button6.68:1AA
Muted text8.04:1AAA
Accent7.52:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.97:1AAA
Text on card19.97:1AAA
Primary button7.29:1AAA
Secondary button6.68:1AA
Muted text10.03:1AAA
Accent7.52:1AAA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 4.456);
  --foreground: oklch(0.119 0.024 5.039);
  --muted: oklch(0.962 0.019 139.973);
  --muted-foreground: oklch(0.404 0.032 139.926);
  --popover: oklch(0.982 0.005 4.456);
  --popover-foreground: oklch(0.119 0.024 5.039);
  --card: oklch(0.982 0.005 4.456);
  --card-foreground: oklch(0.119 0.024 5.039);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.414 0.051 7.53);
  --primary-foreground: oklch(0.933 0.01 4.594);
  --secondary: oklch(0.468 0.066 139.91);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.402 0.05 274.189);
  --accent-foreground: oklch(0.931 0.01 276.024);
  --destructive: oklch(0.437 0.165 30.976);
  --destructive-foreground: oklch(0.912 0.042 26.818);
  --ring: oklch(0.414 0.051 7.53);
  --chart-1: oklch(0.414 0.051 7.53);
  --chart-2: oklch(0.468 0.066 139.91);
  --chart-3: oklch(0.402 0.05 274.189);
  --chart-4: oklch(0.499 0.071 139.91);
  --chart-5: oklch(0.412 0.058 8.026);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.013 5.202);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.183 0.028 139.891);
  --muted-foreground: oklch(0.8 0.027 139.961);
  --popover: oklch(0.139 0.013 5.202);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.013 5.202);
  --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.414 0.051 7.53);
  --primary-foreground: oklch(0.933 0.01 4.594);
  --secondary: oklch(0.468 0.066 139.91);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.402 0.05 274.189);
  --accent-foreground: oklch(0.931 0.01 276.024);
  --destructive: oklch(0.651 0.214 30.887);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.414 0.051 7.53);
  --chart-1: oklch(0.414 0.051 7.53);
  --chart-2: oklch(0.468 0.066 139.91);
  --chart-3: oklch(0.402 0.05 274.189);
  --chart-4: oklch(0.499 0.071 139.91);
  --chart-5: oklch(0.412 0.058 8.026);
}