Bagpipe for shadcn/ui

Bagpipe is a shadcn/ui theme built around a vivid light teal primary color (#aef4f3) with muted light teal accents (#c5cece). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#aef4f3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#020d0dblack
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#020d0dblack
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#020d0dblack
#ffffffwhite
Primary
#aef4f3paleturquoise
#aef4f3paleturquoise
Primary foreground
#010909black
#010909black
Secondary
#d7dadagainsboro
#323433darkslategray
Secondary foreground
#3d4242darkslategray
#cbcdcclightgrey
Muted
#e6efeflavender
#101919black
Muted foreground
#3c4949darkslategray
#b6c3c3silver
Accent
#c5cecelightgrey
#3d4847darkslategray
Accent foreground
#2c3535darkslategray
#d8dedegainsboro
Destructive
#631a08maroon
#ec3e13orangered
Destructive foreground
#f8b6a5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aef4f3paleturquoise
#aef4f3paleturquoise

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button16.31:1AAA
Secondary button7.27:1AAA
Muted text8.00:1AAA
Accent7.86:1AAA
Destructive7.25:1AAA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button16.31:1AAA
Secondary button7.87:1AAA
Muted text9.88:1AAA
Accent6.98:1AA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.02 194.034);
  --muted: oklch(0.945 0.009 195.806);
  --muted-foreground: oklch(0.393 0.017 195.236);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.02 194.034);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.02 194.034);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.921 0.069 194.709);
  --primary-foreground: oklch(0.128 0.018 194.168);
  --secondary: oklch(0.887 0.003 195.908);
  --secondary-foreground: oklch(0.375 0.007 195.66);
  --accent: oklch(0.845 0.011 195.757);
  --accent-foreground: oklch(0.32 0.012 195.339);
  --destructive: oklch(0.337 0.108 34.667);
  --destructive-foreground: oklch(0.833 0.081 34.509);
  --ring: oklch(0.921 0.069 194.709);
  --chart-1: oklch(0.921 0.069 194.709);
  --chart-2: oklch(0.887 0.003 195.908);
  --chart-3: oklch(0.845 0.011 195.757);
  --chart-4: oklch(0.91 0.003 195.923);
  --chart-5: oklch(0.923 0.072 194.67);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.203 0.013 194.923);
  --muted-foreground: oklch(0.808 0.015 195.661);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.921 0.069 194.709);
  --primary-foreground: oklch(0.128 0.018 194.168);
  --secondary: oklch(0.322 0.001 195.896);
  --secondary-foreground: oklch(0.846 0.001 195.951);
  --accent: oklch(0.391 0.014 195.37);
  --accent-foreground: oklch(0.897 0.006 195.854);
  --destructive: oklch(0.622 0.215 33.89);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.921 0.069 194.709);
  --chart-1: oklch(0.921 0.069 194.709);
  --chart-2: oklch(0.322 0.001 195.896);
  --chart-3: oklch(0.391 0.014 195.37);
  --chart-4: oklch(0.352 0.002 195.894);
  --chart-5: oklch(0.923 0.072 194.67);
}