Frank for shadcn/ui

Frank is a shadcn/ui theme built around a vivid cyan primary color (#02b3e8) with vivid red accents (#e83802). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#02b3e8) on a neutral background (#020304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020304black
Foreground
#061014black
#f9fbfbghostwhite
Card
#fbfdfewhite
#020304black
Card foreground
#061014black
#f9fbfbghostwhite
Popover
#fbfdfewhite
#020304black
Popover foreground
#061014black
#f9fbfbghostwhite
Primary
#02b3e8deepskyblue
#02b3e8deepskyblue
Primary foreground
#00171eblack
#00171eblack
Secondary
#e83802orangered
#e83802orangered
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6dddbgainsboro
#241b19black
Muted foreground
#574f4cdarkslategray
#b3aaa8darkgray
Accent
#e83802orangered
#e83802orangered
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6b0c0bmaroon
#ec4441tomato
Destructive foreground
#f7b1b0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#02b3e8deepskyblue
#02b3e8deepskyblue

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button7.52:1AAA
Secondary button4.19:1AA Large
Muted text5.99:1AA
Accent4.19:1AA Large
Destructive7.06:1AAA
Dark mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button7.52:1AAA
Secondary button4.19:1AA Large
Muted text7.37:1AAA
Accent4.19:1AA Large
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 217.757);
  --foreground: oklch(0.166 0.018 218.184);
  --muted: oklch(0.905 0.01 37.689);
  --muted-foreground: oklch(0.434 0.012 37.633);
  --popover: oklch(0.993 0.003 217.757);
  --popover-foreground: oklch(0.166 0.018 218.184);
  --card: oklch(0.993 0.003 217.757);
  --card-foreground: oklch(0.166 0.018 218.184);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.716 0.14 228.703);
  --primary-foreground: oklch(0.191 0.034 219.521);
  --secondary: oklch(0.61 0.218 34.112);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.61 0.218 34.112);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.339 0.127 28.015);
  --destructive-foreground: oklch(0.827 0.082 20.072);
  --ring: oklch(0.716 0.14 228.703);
  --chart-1: oklch(0.716 0.14 228.703);
  --chart-2: oklch(0.61 0.218 34.112);
  --chart-3: oklch(0.61 0.218 34.112);
  --chart-4: oklch(0.639 0.229 34.015);
  --chart-5: oklch(0.722 0.143 229.149);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.007 214.32);
  --foreground: oklch(0.985 0.002 217.754);
  --muted: oklch(0.234 0.015 37.592);
  --muted-foreground: oklch(0.746 0.011 37.677);
  --popover: oklch(0.094 0.007 214.32);
  --popover-foreground: oklch(0.985 0.002 217.754);
  --card: oklch(0.094 0.007 214.32);
  --card-foreground: oklch(0.985 0.002 217.754);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.716 0.14 228.703);
  --primary-foreground: oklch(0.191 0.034 219.521);
  --secondary: oklch(0.61 0.218 34.112);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.61 0.218 34.112);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.631 0.206 26.117);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.716 0.14 228.703);
  --chart-1: oklch(0.716 0.14 228.703);
  --chart-2: oklch(0.61 0.218 34.112);
  --chart-3: oklch(0.61 0.218 34.112);
  --chart-4: oklch(0.639 0.229 34.015);
  --chart-5: oklch(0.722 0.143 229.149);
}