Guy for shadcn/ui

Guy is a shadcn/ui theme built around a light blue primary color (#ebf2fa) with light indigo accents (#ebebfa). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the light blue primary (#ebf2fa) on a blue-tinted background (#070a0d).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#070a0dblack
Foreground
#030a12black
#f8fafcghostwhite
Card
#f8fafcghostwhite
#090d11black
Card foreground
#02070dblack
#fcfcfdwhite
Popover
#f8fafcghostwhite
#090d11black
Popover foreground
#02070dblack
#fcfcfdwhite
Primary
#ebf2faaliceblue
#ebf2faaliceblue
Primary foreground
#25578edarkslateblue
#25578edarkslateblue
Secondary
#ebfafaaliceblue
#ebfafaaliceblue
Secondary foreground
#103c3ddarkslategray
#103c3ddarkslategray
Muted
#d4e2e2gainsboro
#1d2b2bdarkslategray
Muted foreground
#5b6767dimgray
#98a4a4darkgray
Accent
#ebebfalavender
#ebebfalavender
Accent foreground
#26258emidnightblue
#26258emidnightblue
Destructive
#790602maroon
#fc332ccrimson
Destructive foreground
#feb1aflightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebf2faaliceblue
#ebf2faaliceblue

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.29:1AAA
Primary button6.56:1AA
Secondary button11.24:1AAA
Muted text4.41:1AA Large
Accent10.22:1AAA
Destructive6.61:1AA
Dark mode
Text on background18.95:1AAA
Text on card19.05:1AAA
Primary button6.56:1AA
Secondary button11.24:1AAA
Muted text5.73:1AA
Accent10.22:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 249.666);
  --foreground: oklch(0.14 0.022 243.891);
  --muted: oklch(0.903 0.015 198.116);
  --muted-foreground: oklch(0.502 0.014 197.956);
  --popover: oklch(0.984 0.003 249.683);
  --popover-foreground: oklch(0.126 0.019 240.41);
  --card: oklch(0.984 0.003 249.683);
  --card-foreground: oklch(0.126 0.019 240.41);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.958 0.013 249.776);
  --primary-foreground: oklch(0.452 0.105 252.476);
  --secondary: oklch(0.973 0.016 198.125);
  --secondary-foreground: oklch(0.327 0.047 196.709);
  --accent: oklch(0.944 0.02 286.773);
  --accent-foreground: oklch(0.348 0.167 274.156);
  --destructive: oklch(0.364 0.145 29.635);
  --destructive-foreground: oklch(0.833 0.09 21.374);
  --ring: oklch(0.958 0.013 249.776);
  --chart-1: oklch(0.958 0.013 249.776);
  --chart-2: oklch(0.973 0.016 198.125);
  --chart-3: oklch(0.944 0.02 286.773);
  --chart-4: oklch(0.989 0.006 198.267);
  --chart-5: oklch(0.958 0.014 249.782);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.009 247.579);
  --foreground: oklch(0.984 0.003 249.68);
  --muted: oklch(0.275 0.019 197.417);
  --muted-foreground: oklch(0.709 0.013 198.092);
  --popover: oklch(0.155 0.011 249.92);
  --popover-foreground: oklch(0.992 0.002 249.665);
  --card: oklch(0.155 0.011 249.92);
  --card-foreground: oklch(0.992 0.002 249.665);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.958 0.013 249.776);
  --primary-foreground: oklch(0.452 0.105 252.476);
  --secondary: oklch(0.973 0.016 198.125);
  --secondary-foreground: oklch(0.327 0.047 196.709);
  --accent: oklch(0.944 0.02 286.773);
  --accent-foreground: oklch(0.348 0.167 274.156);
  --destructive: oklch(0.643 0.235 28.231);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.958 0.013 249.776);
  --chart-1: oklch(0.958 0.013 249.776);
  --chart-2: oklch(0.973 0.016 198.125);
  --chart-3: oklch(0.944 0.02 286.773);
  --chart-4: oklch(0.989 0.006 198.267);
  --chart-5: oklch(0.958 0.014 249.782);
}