Export for shadcn/ui

Export is a shadcn/ui theme built around a vivid deep teal primary color (#0a5d61) with vivid deep yellow accents (#5d610a). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the vivid deep teal primary (#0a5d61) on a neutral background (#020808).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#020808black
Foreground
#020809black
#ffffffwhite
Card
#f4fafbmintcream
#030b0cblack
Card foreground
#010404black
#ffffffwhite
Popover
#f8fcfcmintcream
#020808black
Popover foreground
#020809black
#ffffffwhite
Primary
#0a5d61darkslategray
#0a5d61darkslategray
Primary foreground
#a7f2f6paleturquoise
#a7f2f6paleturquoise
Secondary
#610a5dindigo
#610a5dindigo
Secondary foreground
#f6a7f2plum
#f6a7f2plum
Muted
#ede3eclavender
#1c121bblack
Muted foreground
#4c434bdarkslategray
#bcb3bbsilver
Accent
#5d610adarkolivegreen
#5d610adarkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#66230bmaroon
#d04716chocolate
Destructive foreground
#f6c0aclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0a5d61darkslategray
#0a5d61darkslategray

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.54:1AAA
Primary button6.05:1AA
Secondary button6.84:1AA
Muted text7.61:1AAA
Accent6.56:1AA
Destructive7.23:1AAA
Dark mode
Text on background20.20:1AAA
Text on card19.81:1AAA
Primary button6.05:1AA
Secondary button6.84:1AA
Muted text8.93:1AAA
Accent6.56:1AA
Destructive4.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 200.836);
  --foreground: oklch(0.126 0.016 198.492);
  --muted: oklch(0.927 0.015 327.189);
  --muted-foreground: oklch(0.395 0.018 327.442);
  --popover: oklch(0.988 0.004 200.836);
  --popover-foreground: oklch(0.126 0.016 198.492);
  --card: oklch(0.981 0.006 200.809);
  --card-foreground: oklch(0.1 0.012 198.492);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.436 0.071 200.682);
  --primary-foreground: oklch(0.914 0.074 200.103);
  --secondary: oklch(0.349 0.149 330.615);
  --secondary-foreground: oklch(0.829 0.134 328.422);
  --accent: oklch(0.475 0.102 112.817);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.353 0.102 38.694);
  --destructive-foreground: oklch(0.851 0.069 40.901);
  --ring: oklch(0.436 0.071 200.682);
  --chart-1: oklch(0.436 0.071 200.682);
  --chart-2: oklch(0.349 0.149 330.615);
  --chart-3: oklch(0.475 0.102 112.817);
  --chart-4: oklch(0.383 0.165 330.661);
  --chart-5: oklch(0.441 0.073 200.76);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.013 198.818);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.2 0.022 328.015);
  --muted-foreground: oklch(0.777 0.015 327.214);
  --popover: oklch(0.124 0.013 198.818);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.015 199.094);
  --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.436 0.071 200.682);
  --primary-foreground: oklch(0.914 0.074 200.103);
  --secondary: oklch(0.349 0.149 330.615);
  --secondary-foreground: oklch(0.829 0.134 328.422);
  --accent: oklch(0.475 0.102 112.817);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.584 0.181 37.779);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.436 0.071 200.682);
  --chart-1: oklch(0.436 0.071 200.682);
  --chart-2: oklch(0.349 0.149 330.615);
  --chart-3: oklch(0.475 0.102 112.817);
  --chart-4: oklch(0.383 0.165 330.661);
  --chart-5: oklch(0.441 0.073 200.76);
}