Export for shadcn/ui

Export is a shadcn/ui theme built around a vivid orange primary color (#eba76f) with vivid violet accents (#a76feb). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid orange primary (#eba76f) on an orange-tinted background (#0e0a06).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0e0a06black
Foreground
#0d0702black
#f9f7f6whitesmoke
Card
#fcfaf8snow
#0e0a06black
Card foreground
#0d0702black
#f9f7f6whitesmoke
Popover
#fcfaf8snow
#0e0a06black
Popover foreground
#0d0702black
#f9f7f6whitesmoke
Primary
#eba76fsandybrown
#eba76fsandybrown
Primary foreground
#241305black
#241305black
Secondary
#6feba7mediumaquamarine
#6feba7mediumaquamarine
Secondary foreground
#052413black
#052413black
Muted
#dbebe2gainsboro
#14241bblack
Muted foreground
#47524cdarkslategray
#adb8b2darkgray
Accent
#a76febmediumpurple
#a76febmediumpurple
Accent foreground
#000000black
#000000black
Destructive
#df2e07orangered
#f8441borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eba76fsandybrown
#eba76fsandybrown

Contrast

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

Light mode
Text on background19.19:1AAA
Text on card19.19:1AAA
Primary button8.81:1AAA
Secondary button11.17:1AAA
Muted text6.59:1AA
Accent6.14:1AA
Destructive4.63:1AA
Dark mode
Text on background18.47:1AAA
Text on card18.47:1AAA
Primary button8.81:1AAA
Secondary button11.17:1AAA
Muted text7.88:1AAA
Accent6.14:1AA
Destructive3.60: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.985 0.003 62.155);
  --foreground: oklch(0.136 0.02 72.166);
  --muted: oklch(0.926 0.022 162.028);
  --muted-foreground: oklch(0.427 0.017 161.617);
  --popover: oklch(0.985 0.003 62.155);
  --popover-foreground: oklch(0.136 0.02 72.166);
  --card: oklch(0.985 0.003 62.155);
  --card-foreground: oklch(0.136 0.02 72.166);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.782 0.108 59.579);
  --primary-foreground: oklch(0.206 0.038 59.578);
  --secondary: oklch(0.853 0.148 157.037);
  --secondary-foreground: oklch(0.231 0.049 155.565);
  --accent: oklch(0.655 0.183 302.419);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.586 0.215 32.596);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.782 0.108 59.579);
  --chart-1: oklch(0.782 0.108 59.579);
  --chart-2: oklch(0.853 0.148 157.037);
  --chart-3: oklch(0.655 0.183 302.419);
  --chart-4: oklch(0.864 0.136 157.745);
  --chart-5: oklch(0.784 0.112 59.424);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.012 65.074);
  --foreground: oklch(0.978 0.003 62.154);
  --muted: oklch(0.244 0.029 159.225);
  --muted-foreground: oklch(0.772 0.014 162.148);
  --popover: oklch(0.148 0.012 65.074);
  --popover-foreground: oklch(0.978 0.003 62.154);
  --card: oklch(0.148 0.012 65.074);
  --card-foreground: oklch(0.978 0.003 62.154);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.782 0.108 59.579);
  --primary-foreground: oklch(0.206 0.038 59.578);
  --secondary: oklch(0.853 0.148 157.037);
  --secondary-foreground: oklch(0.231 0.049 155.565);
  --accent: oklch(0.655 0.183 302.419);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.648 0.222 33.494);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.782 0.108 59.579);
  --chart-1: oklch(0.782 0.108 59.579);
  --chart-2: oklch(0.853 0.148 157.037);
  --chart-3: oklch(0.655 0.183 302.419);
  --chart-4: oklch(0.864 0.136 157.745);
  --chart-5: oklch(0.784 0.112 59.424);
}