Blowgun for shadcn/ui

Blowgun is a shadcn/ui theme built around a cyan primary color (#92e0ed) with blue accents (#92b3ed). The light mode uses a neutral background (#fbfefe). Dark mode keeps the cyan primary (#92e0ed) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#000000black
#fcfdfdwhite
Card
#fbfefewhite
#000000black
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfefewhite
#000000black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#92e0edskyblue
#92e0edskyblue
Primary foreground
#0b3a41darkslategray
#0b3a41darkslategray
Secondary
#92edcbaquamarine
#92edcbaquamarine
Secondary foreground
#0b412ddarkslategray
#0b412ddarkslategray
Muted
#eef2f0whitesmoke
#0d1110black
Muted foreground
#525252darkslategray
#adadaddarkgray
Accent
#92b3edskyblue
#92b3edskyblue
Accent foreground
#0b1f41midnightblue
#0b1f41midnightblue
Destructive
#832402maroon
#fc581dorangered
Destructive foreground
#fecbb9peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#92e0edskyblue
#92e0edskyblue

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.64:1AAA
Primary button8.34:1AAA
Secondary button8.37:1AAA
Muted text6.89:1AA
Accent7.69:1AAA
Destructive6.52:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button8.34:1AAA
Secondary button8.37:1AAA
Muted text8.45:1AAA
Accent7.69:1AAA
Destructive6.54:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 207.921);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.957 0.004 172.445);
  --muted-foreground: oklch(0.437 0 180);
  --popover: oklch(0.994 0.003 207.921);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 207.921);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.861 0.079 208.084);
  --primary-foreground: oklch(0.322 0.05 210.065);
  --secondary: oklch(0.878 0.099 168.659);
  --secondary-foreground: oklch(0.337 0.065 163.541);
  --accent: oklch(0.764 0.091 261.131);
  --accent-foreground: oklch(0.245 0.07 260.521);
  --destructive: oklch(0.408 0.135 37.067);
  --destructive-foreground: oklch(0.882 0.063 40.928);
  --ring: oklch(0.861 0.079 208.084);
  --chart-1: oklch(0.861 0.079 208.084);
  --chart-2: oklch(0.878 0.099 168.659);
  --chart-3: oklch(0.764 0.091 261.131);
  --chart-4: oklch(0.892 0.088 169.247);
  --chart-5: oklch(0.864 0.082 208.118);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 207.928);
  --muted: oklch(0.174 0.006 171.453);
  --muted-foreground: oklch(0.749 0 158.199);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 207.928);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 207.928);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.861 0.079 208.084);
  --primary-foreground: oklch(0.322 0.05 210.065);
  --secondary: oklch(0.878 0.099 168.659);
  --secondary-foreground: oklch(0.337 0.065 163.541);
  --accent: oklch(0.764 0.091 261.131);
  --accent-foreground: oklch(0.245 0.07 260.521);
  --destructive: oklch(0.675 0.209 37.783);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.861 0.079 208.084);
  --chart-1: oklch(0.861 0.079 208.084);
  --chart-2: oklch(0.878 0.099 168.659);
  --chart-3: oklch(0.764 0.091 261.131);
  --chart-4: oklch(0.892 0.088 169.247);
  --chart-5: oklch(0.864 0.082 208.118);
}