Brescian Blue Fly for shadcn/ui

Brescian Blue Fly is a shadcn/ui theme built around a vivid blue primary color (#1f81f9) with vivid orange accents (#f9971f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1f81f9) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#ffffffwhite
#010204black
Foreground
#03070cblack
#ffffffwhite
Card
#ffffffwhite
#010204black
Card foreground
#03070cblack
#ffffffwhite
Popover
#ffffffwhite
#010204black
Popover foreground
#03070cblack
#ffffffwhite
Primary
#1f81f9dodgerblue
#1f81f9dodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f9971fdarkorange
#f9971fdarkorange
Secondary foreground
#000000black
#000000black
Muted
#f1f0eewhitesmoke
#110f0eblack
Muted foreground
#5c554ddimgray
#b2aca3darkgray
Accent
#f9971fdarkorange
#f9971fdarkorange
Accent foreground
#000000black
#000000black
Destructive
#cc2900firebrick
#ff582etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e4e5e7gainsboro
#18191bblack
Input
#e4e5e7gainsboro
#18191bblack
Ring
#1f81f9dodgerblue
#1f81f9dodgerblue

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button3.75:1AA Large
Secondary button9.49:1AAA
Muted text6.44:1AA
Accent9.49:1AAA
Destructive5.40:1AA
Dark mode
Text on background20.71:1AAA
Text on card20.71:1AAA
Primary button3.75:1AA Large
Secondary button9.49:1AAA
Muted text8.47:1AAA
Accent9.49:1AAA
Destructive6.67:1AA

CSS variables

Paste this into your globals.css to use Brescian Blue Fly in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.127 0.015 245.595);
  --muted: oklch(0.955 0.003 73.199);
  --muted-foreground: oklch(0.453 0.016 72.916);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.127 0.015 245.595);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.127 0.015 245.595);
  --border: oklch(0.922 0.003 253.243);
  --input: oklch(0.922 0.003 253.243);
  --primary: oklch(0.617 0.199 256.72);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.762 0.165 63.595);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.762 0.165 63.595);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.548 0.202 32.959);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.617 0.199 256.72);
  --chart-1: oklch(0.617 0.199 256.72);
  --chart-2: oklch(0.762 0.165 63.595);
  --chart-3: oklch(0.762 0.165 63.595);
  --chart-4: oklch(0.776 0.159 65.526);
  --chart-5: oklch(0.618 0.204 256.954);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.01 245.543);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.171 0.004 73.025);
  --muted-foreground: oklch(0.746 0.014 73.071);
  --popover: oklch(0.088 0.01 245.543);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.088 0.01 245.543);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.214 0.005 253.356);
  --input: oklch(0.214 0.005 253.356);
  --primary: oklch(0.617 0.199 256.72);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.762 0.165 63.595);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.762 0.165 63.595);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.681 0.21 34.841);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.617 0.199 256.72);
  --chart-1: oklch(0.617 0.199 256.72);
  --chart-2: oklch(0.762 0.165 63.595);
  --chart-3: oklch(0.762 0.165 63.595);
  --chart-4: oklch(0.776 0.159 65.526);
  --chart-5: oklch(0.618 0.204 256.954);
}