Gorgeous Boyzone for shadcn/ui

Gorgeous Boyzone is a shadcn/ui theme built around a blue primary color (#2295d8) with muted light blue accents (#c0cfd8). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#2a77a7) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#ffffffwhite
#030607black
Foreground
#040f16black
#fcfdfdwhite
Card
#fcfcfcsnow
#04080bblack
Card foreground
#030c11black
#ffffffwhite
Popover
#fcfcfcsnow
#04080bblack
Popover foreground
#030c11black
#ffffffwhite
Primary
#2295d8dodgerblue
#2a77a7steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dee4e8gainsboro
#242a2ddarkslategray
Secondary foreground
#3d4d57darkslategray
#bbc3c9silver
Muted
#d5e0e7gainsboro
#18232ablack
Muted foreground
#444546darkslategray
#b9babbsilver
Accent
#c0cfd8lightgrey
#35424bdarkslategray
Accent foreground
#27363fdarkslategray
#d2dadfgainsboro
Destructive
#890606darkred
#f00a0ared
Destructive foreground
#fdc4c4pink
#ffffffwhite
Border
#ededeewhitesmoke
#232424black
Input
#ededeewhitesmoke
#232424black
Ring
#2a77a7steelblue
#2a77a7steelblue

Contrast

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

Light mode
Text on background19.35:1AAA
Text on card19.30:1AAA
Primary button3.30:1AA Large
Secondary button6.83:1AA
Muted text7.15:1AAA
Accent7.79:1AAA
Destructive6.62:1AA
Dark mode
Text on background19.98:1AAA
Text on card20.05:1AAA
Primary button4.87:1AA
Secondary button8.14:1AAA
Muted text8.20:1AAA
Accent7.28:1AAA
Destructive4.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.16 0.023 234.222);
  --muted: oklch(0.9 0.016 234.761);
  --muted-foreground: oklch(0.39 0.001 234.559);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.146 0.02 231.558);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.146 0.02 231.558);
  --border: oklch(0.947 0.001 234.516);
  --input: oklch(0.947 0.001 234.516);
  --primary: oklch(0.641 0.139 240.99);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.916 0.008 234.633);
  --secondary-foreground: oklch(0.41 0.025 235.528);
  --accent: oklch(0.845 0.021 234.875);
  --accent-foreground: oklch(0.323 0.026 235.923);
  --destructive: oklch(0.399 0.16 28.687);
  --destructive-foreground: oklch(0.871 0.065 18.47);
  --ring: oklch(0.545 0.105 240.345);
  --chart-1: oklch(0.641 0.139 240.99);
  --chart-2: oklch(0.916 0.008 234.633);
  --chart-3: oklch(0.845 0.021 234.875);
  --chart-4: oklch(0.939 0.006 234.595);
  --chart-5: oklch(0.644 0.143 241.507);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.009 229.071);
  --foreground: oklch(0.992 0.001 234.517);
  --muted: oklch(0.25 0.021 236.001);
  --muted-foreground: oklch(0.789 0.001 234.528);
  --popover: oklch(0.132 0.011 229.316);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.132 0.011 229.316);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.259 0.002 234.598);
  --input: oklch(0.259 0.002 234.598);
  --primary: oklch(0.545 0.105 240.345);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.28 0.01 235.057);
  --secondary-foreground: oklch(0.813 0.012 234.715);
  --accent: oklch(0.372 0.022 235.499);
  --accent-foreground: oklch(0.885 0.011 234.687);
  --destructive: oklch(0.602 0.244 28.953);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.545 0.105 240.345);
  --chart-1: oklch(0.545 0.105 240.345);
  --chart-2: oklch(0.28 0.01 235.057);
  --chart-3: oklch(0.372 0.022 235.499);
  --chart-4: oklch(0.311 0.012 235.082);
  --chart-5: oklch(0.548 0.11 240.792);
}