Bowling is a shadcn/ui theme built around a deep cyan primary color (#2c5463) with muted light cyan accents (#b7cbd2). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the deep cyan primary (#2c5463) on a cyan-tinted background (#030a0c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #030a0cblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fbfcghostwhite | #030a0cblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #030a0cblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #2c5463darkslategray | #2c5463darkslategray |
| Primary foreground | #d5e6ecgainsboro | #d5e6ecgainsboro |
| Secondary | #ced6dalightgrey | #1b2428black |
| Secondary foreground | #323e43darkslategray | #acc1c8silver |
| Muted | #f1f3f3whitesmoke | #0c0d0eblack |
| Muted foreground | #606566dimgray | #999d9fdarkgray |
| Accent | #b7cbd2lightsteelblue | #263940darkslategray |
| Accent foreground | #213035darkslategray | #bfd2d9lightgrey |
| Destructive | #920b01darkred | #e31102red |
| Destructive foreground | #fecbc7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2c5463darkslategray | #2c5463darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 5.30:1 | AA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 7.69:1 | AAA |
| Destructive | 4.82:1 | AA |
Paste this into your globals.css to use Bowling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 221.33);
--foreground: oklch(0 0 0);
--muted: oklch(0.962 0.002 221.318);
--muted-foreground: oklch(0.503 0.006 221.413);
--popover: oklch(0.986 0.003 221.33);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.003 221.33);
--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.423 0.051 223.78);
--primary-foreground: oklch(0.914 0.02 221.517);
--secondary: oklch(0.872 0.011 221.415);
--secondary-foreground: oklch(0.357 0.018 221.883);
--accent: oklch(0.828 0.024 221.595);
--accent-foreground: oklch(0.298 0.022 222.328);
--destructive: oklch(0.42 0.166 30.135);
--destructive-foreground: oklch(0.886 0.059 23.072);
--ring: oklch(0.423 0.051 223.78);
--chart-1: oklch(0.423 0.051 223.78);
--chart-2: oklch(0.872 0.011 221.415);
--chart-3: oklch(0.828 0.024 221.595);
--chart-4: oklch(0.895 0.009 221.392);
--chart-5: oklch(0.426 0.054 224.09);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.014 217.072);
--foreground: oklch(1 0 180);
--muted: oklch(0.159 0.002 221.444);
--muted-foreground: oklch(0.693 0.006 221.375);
--popover: oklch(0.136 0.014 217.072);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.014 217.072);
--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.423 0.051 223.78);
--primary-foreground: oklch(0.914 0.02 221.517);
--secondary: oklch(0.254 0.015 222.073);
--secondary-foreground: oklch(0.797 0.024 221.62);
--accent: oklch(0.332 0.028 222.586);
--accent-foreground: oklch(0.852 0.023 221.578);
--destructive: oklch(0.579 0.232 29.818);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.423 0.051 223.78);
--chart-1: oklch(0.423 0.051 223.78);
--chart-2: oklch(0.254 0.015 222.073);
--chart-3: oklch(0.332 0.028 222.586);
--chart-4: oklch(0.286 0.018 222.134);
--chart-5: oklch(0.426 0.054 224.09);
}