Bagpipe is a shadcn/ui theme built around a vivid blue primary color (#083096) with vivid indigo accents (#270896). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid blue primary (#083096) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #010204black |
| Foreground | #000000black | #f5f6fawhitesmoke |
| Card | #fcfcfdwhite | #010204black |
| Card foreground | #000000black | #f5f6fawhitesmoke |
| Popover | #fcfcfdwhite | #010204black |
| Popover foreground | #000000black | #f5f6fawhitesmoke |
| Primary | #083096midnightblue | #083096midnightblue |
| Primary foreground | #d3dffdlavender | #d3dffdlavender |
| Secondary | #087796darkcyan | #087796darkcyan |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f4f5whitesmoke | #0a0e0fblack |
| Muted foreground | #4e5456darkslategray | #a9b0b1darkgray |
| Accent | #270896darkblue | #270896darkblue |
| Accent foreground | #dcd3fdlavender | #dcd3fdlavender |
| Destructive | #bf1f03firebrick | #e72604orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #083096midnightblue | #083096midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 5.11:1 | AA |
| Muted text | 6.93:1 | AA |
| Accent | 9.46:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 5.11:1 | AA |
| Muted text | 8.79:1 | AAA |
| Accent | 9.46:1 | AAA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Bagpipe in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 268.778);
--foreground: oklch(0 0 0);
--muted: oklch(0.963 0.004 216.03);
--muted-foreground: oklch(0.44 0.009 216.111);
--popover: oklch(0.991 0.002 268.778);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.002 268.778);
--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.364 0.172 263.547);
--primary-foreground: oklch(0.904 0.043 268.397);
--secondary: oklch(0.531 0.098 224.413);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.328 0.198 275.877);
--accent-foreground: oklch(0.888 0.057 295.146);
--destructive: oklch(0.517 0.196 31.621);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.364 0.172 263.547);
--chart-1: oklch(0.364 0.172 263.547);
--chart-2: oklch(0.531 0.098 224.413);
--chart-3: oklch(0.328 0.198 275.877);
--chart-4: oklch(0.567 0.105 224.596);
--chart-5: oklch(0.364 0.176 263.453);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.01 262.11);
--foreground: oklch(0.974 0.005 268.754);
--muted: oklch(0.161 0.007 216.278);
--muted-foreground: oklch(0.752 0.008 216.057);
--popover: oklch(0.084 0.01 262.11);
--popover-foreground: oklch(0.974 0.005 268.754);
--card: oklch(0.084 0.01 262.11);
--card-foreground: oklch(0.974 0.005 268.754);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.364 0.172 263.547);
--primary-foreground: oklch(0.904 0.043 268.397);
--secondary: oklch(0.531 0.098 224.413);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.328 0.198 275.877);
--accent-foreground: oklch(0.888 0.057 295.146);
--destructive: oklch(0.595 0.228 31.415);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.364 0.172 263.547);
--chart-1: oklch(0.364 0.172 263.547);
--chart-2: oklch(0.531 0.098 224.413);
--chart-3: oklch(0.328 0.198 275.877);
--chart-4: oklch(0.567 0.105 224.596);
--chart-5: oklch(0.364 0.176 263.453);
}