Strong for shadcn/ui

Strong is a shadcn/ui theme built around a vivid light yellow primary color (#f2ea97) with vivid light indigo accents (#979ff2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light yellow primary (#f2ea97) on a neutral background (#080702).

Color palette

TokenLightDark
Background
#ffffffwhite
#080702black
Foreground
#0d0c03black
#fbfaf9snow
Card
#fcfcfcsnow
#0c0b04black
Card foreground
#080802black
#fdfdfcwhite
Popover
#fcfcfcsnow
#0c0b04black
Popover foreground
#080802black
#fdfdfcwhite
Primary
#f2ea97khaki
#f2ea97khaki
Primary foreground
#4d470adarkolivegreen
#4d470adarkolivegreen
Secondary
#979ff2lightsteelblue
#979ff2lightsteelblue
Secondary foreground
#0a104dmidnightblue
#0a104dmidnightblue
Muted
#dcdce0gainsboro
#1f1f23black
Muted foreground
#575975dimgray
#8a8ca8lightslategray
Accent
#979ff2lightsteelblue
#979ff2lightsteelblue
Accent foreground
#0a104dmidnightblue
#0a104dmidnightblue
Destructive
#a82f0bfirebrick
#f04714orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2ea97khaki
#f2ea97khaki

Contrast

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

Light mode
Text on background19.60:1AAA
Text on card19.64:1AAA
Primary button7.64:1AAA
Secondary button7.14:1AAA
Muted text4.96:1AA
Accent7.14:1AAA
Destructive6.82:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.37:1AAA
Primary button7.64:1AAA
Secondary button7.14:1AAA
Muted text4.99:1AA
Accent7.14:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.151 0.023 105.225);
  --muted: oklch(0.895 0.006 282.105);
  --muted-foreground: oklch(0.474 0.045 280.463);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.131 0.02 105.609);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.131 0.02 105.609);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.104 103.758);
  --primary-foreground: oklch(0.392 0.077 103.899);
  --secondary: oklch(0.729 0.12 278.998);
  --secondary-foreground: oklch(0.222 0.11 269.709);
  --accent: oklch(0.729 0.12 278.998);
  --accent-foreground: oklch(0.222 0.11 269.709);
  --destructive: oklch(0.488 0.162 35.479);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.104 103.758);
  --chart-1: oklch(0.925 0.104 103.758);
  --chart-2: oklch(0.729 0.12 278.998);
  --chart-3: oklch(0.729 0.12 278.998);
  --chart-4: oklch(0.764 0.103 279.645);
  --chart-5: oklch(0.929 0.107 103.791);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.129 0.016 105.075);
  --foreground: oklch(0.986 0.002 102.241);
  --muted: oklch(0.242 0.008 281.639);
  --muted-foreground: oklch(0.649 0.042 281.071);
  --popover: oklch(0.147 0.018 104.826);
  --popover-foreground: oklch(0.993 0.001 102.226);
  --card: oklch(0.147 0.018 104.826);
  --card-foreground: oklch(0.993 0.001 102.226);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.104 103.758);
  --primary-foreground: oklch(0.392 0.077 103.899);
  --secondary: oklch(0.729 0.12 278.998);
  --secondary-foreground: oklch(0.222 0.11 269.709);
  --accent: oklch(0.729 0.12 278.998);
  --accent-foreground: oklch(0.222 0.11 269.709);
  --destructive: oklch(0.638 0.212 35.447);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.104 103.758);
  --chart-1: oklch(0.925 0.104 103.758);
  --chart-2: oklch(0.729 0.12 278.998);
  --chart-3: oklch(0.729 0.12 278.998);
  --chart-4: oklch(0.764 0.103 279.645);
  --chart-5: oklch(0.929 0.107 103.791);
}