Bowling is a shadcn/ui theme built around a deep red primary color (#120807) with muted red accents (#cbb2ae). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#120807) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040201black |
| Foreground | #140705black | #ffffffwhite |
| Card | #fefbfbsnow | #040201black |
| Card foreground | #140705black | #ffffffwhite |
| Popover | #fefbfbsnow | #040201black |
| Popover foreground | #140705black | #ffffffwhite |
| Primary | #120807black | #120807black |
| Primary foreground | #ce877erosybrown | #ce877erosybrown |
| Secondary | #dbcecdlightgrey | #221816black |
| Secondary foreground | #443331darkslategray | #c4aaa6darkgray |
| Muted | #e0dddcgainsboro | #23201fblack |
| Muted foreground | #46403fdarkslategray | #c0bab9silver |
| Accent | #cbb2aesilver | #372320darkslategray |
| Accent foreground | #2c1e1cblack | #d4b9b5silver |
| Destructive | #da3107orangered | #f8542atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #120807black | #120807black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 4.75:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.29:1 | AA |
Paste this into your globals.css to use Bowling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 26.457);
--foreground: oklch(0.149 0.026 30.87);
--muted: oklch(0.898 0.003 26.464);
--muted-foreground: oklch(0.376 0.008 26.597);
--popover: oklch(0.991 0.003 26.457);
--popover-foreground: oklch(0.149 0.026 30.87);
--card: oklch(0.991 0.003 26.457);
--card-foreground: oklch(0.149 0.026 30.87);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.151 0.019 29.024);
--primary-foreground: oklch(0.693 0.089 27.808);
--secondary: oklch(0.862 0.014 26.553);
--secondary-foreground: oklch(0.341 0.024 27.083);
--accent: oklch(0.783 0.03 26.744);
--accent-foreground: oklch(0.25 0.022 27.285);
--destructive: oklch(0.579 0.209 33.212);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.151 0.019 29.024);
--chart-1: oklch(0.151 0.019 29.024);
--chart-2: oklch(0.862 0.014 26.553);
--chart-3: oklch(0.783 0.03 26.744);
--chart-4: oklch(0.887 0.011 26.528);
--chart-5: oklch(0.151 0.02 29.362);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.011 31.256);
--foreground: oklch(1 0 180);
--muted: oklch(0.246 0.005 26.571);
--muted-foreground: oklch(0.794 0.007 26.497);
--popover: oklch(0.086 0.011 31.256);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.011 31.256);
--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.151 0.019 29.024);
--primary-foreground: oklch(0.693 0.089 27.808);
--secondary: oklch(0.22 0.016 27.112);
--secondary-foreground: oklch(0.759 0.031 26.764);
--accent: oklch(0.279 0.031 27.583);
--accent-foreground: oklch(0.807 0.031 26.747);
--destructive: oklch(0.665 0.208 34.782);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.151 0.019 29.024);
--chart-1: oklch(0.151 0.019 29.024);
--chart-2: oklch(0.22 0.016 27.112);
--chart-3: oklch(0.279 0.031 27.583);
--chart-4: oklch(0.251 0.02 27.182);
--chart-5: oklch(0.151 0.02 29.362);
}