Emotional for shadcn/ui

Emotional is a shadcn/ui theme built around a vivid deep teal primary color (#085438) with vivid deep orange accents (#543808). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#085438) on a teal-tinted background (#04100c).

Color palette

TokenLightDark
Background
#ffffffwhite
#04100cblack
Foreground
#010403black
#ffffffwhite
Card
#fcfcfcsnow
#05140fblack
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#04100cblack
Popover foreground
#010403black
#ffffffwhite
Primary
#085438darkslategray
#085438darkslategray
Primary foreground
#99f5d3aquamarine
#99f5d3aquamarine
Secondary
#380854midnightblue
#380854midnightblue
Secondary foreground
#d399f5plum
#d399f5plum
Muted
#e7dfeclavender
#1b1320black
Muted foreground
#404040darkslategray
#bfbfbfsilver
Accent
#543808saddlebrown
#543808saddlebrown
Accent foreground
#f5d399khaki
#f5d399khaki
Destructive
#692507maroon
#f06428chocolate
Destructive foreground
#f9c1a9lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#085438darkslategray
#085438darkslategray

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button7.04:1AAA
Secondary button7.25:1AAA
Muted text7.98:1AAA
Accent7.55:1AAA
Destructive7.10:1AAA
Dark mode
Text on background19.32:1AAA
Text on card18.81:1AAA
Primary button7.04:1AAA
Secondary button7.25:1AAA
Muted text9.82:1AAA
Accent7.55:1AAA
Destructive6.57:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.012 172.833);
  --muted: oklch(0.914 0.019 313.477);
  --muted-foreground: oklch(0.371 0 168.69);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.098 0.012 172.833);
  --card: oklch(0.992 0 161.565);
  --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.394 0.083 161.812);
  --primary-foreground: oklch(0.903 0.1 168.737);
  --secondary: oklch(0.271 0.125 308.471);
  --secondary-foreground: oklch(0.771 0.141 312.43);
  --accent: oklch(0.364 0.071 75.323);
  --accent-foreground: oklch(0.882 0.084 80.908);
  --destructive: oklch(0.362 0.105 40.351);
  --destructive-foreground: oklch(0.855 0.072 44.313);
  --ring: oklch(0.394 0.083 161.812);
  --chart-1: oklch(0.394 0.083 161.812);
  --chart-2: oklch(0.271 0.125 308.471);
  --chart-3: oklch(0.364 0.071 75.323);
  --chart-4: oklch(0.299 0.14 308.17);
  --chart-5: oklch(0.398 0.085 161.475);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.16 0.022 169.999);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.204 0.028 312.761);
  --muted-foreground: oklch(0.805 0 169.695);
  --popover: oklch(0.16 0.022 169.999);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.177 0.025 168.476);
  --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.394 0.083 161.812);
  --primary-foreground: oklch(0.903 0.1 168.737);
  --secondary: oklch(0.271 0.125 308.471);
  --secondary-foreground: oklch(0.771 0.141 312.43);
  --accent: oklch(0.364 0.071 75.323);
  --accent-foreground: oklch(0.882 0.084 80.908);
  --destructive: oklch(0.672 0.186 40.992);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.394 0.083 161.812);
  --chart-1: oklch(0.394 0.083 161.812);
  --chart-2: oklch(0.271 0.125 308.471);
  --chart-3: oklch(0.364 0.071 75.323);
  --chart-4: oklch(0.299 0.14 308.17);
  --chart-5: oklch(0.398 0.085 161.475);
}