Bowl is a shadcn/ui theme built around a red primary color (#b45f72) with blue accents (#5f72b4). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the red primary (#b45f72) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfcsnow | #040102black |
| Foreground | #090203black | #fcf8f9snow |
| Card | #fcf8f9snow | #080304black |
| Card foreground | #040102black | #fdfcfcsnow |
| Popover | #fcf8f9snow | #080304black |
| Popover foreground | #040102black | #fdfcfcsnow |
| Primary | #b45f72indianred | #b45f72indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #72b45fdarkseagreen | #72b45fdarkseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #edf5eahoneydew | #0c150ablack |
| Muted foreground | #535752dimgray | #a9ada8darkgray |
| Accent | #5f72b4steelblue | #5f72b4steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #81320esaddlebrown | #d05116chocolate |
| Destructive foreground | #f9d7c8bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b45f72indianred | #b45f72indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 8.40:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 4.61:1 | AA |
| Destructive | 6.48:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 8.40:1 | AAA |
| Muted text | 8.19:1 | AAA |
| Accent | 4.61:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Bowl in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 2.128);
--foreground: oklch(0.102 0.024 2.246);
--muted: oklch(0.961 0.017 138.897);
--muted-foreground: oklch(0.45 0.01 138.899);
--popover: oklch(0.982 0.004 2.19);
--popover-foreground: oklch(0.081 0.019 2.246);
--card: oklch(0.982 0.004 2.19);
--card-foreground: oklch(0.081 0.019 2.246);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.591 0.11 7.226);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.705 0.135 139.143);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.566 0.105 271.021);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.425 0.119 41.753);
--destructive-foreground: oklch(0.904 0.044 46.376);
--ring: oklch(0.591 0.11 7.226);
--chart-1: oklch(0.591 0.11 7.226);
--chart-2: oklch(0.705 0.135 139.143);
--chart-3: oklch(0.566 0.105 271.021);
--chart-4: oklch(0.724 0.127 139.09);
--chart-5: oklch(0.589 0.119 7.729);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.013 2.182);
--foreground: oklch(0.982 0.004 2.183);
--muted: oklch(0.182 0.025 139.009);
--muted-foreground: oklch(0.744 0.008 138.895);
--popover: oklch(0.106 0.016 2.182);
--popover-foreground: oklch(0.991 0.002 2.124);
--card: oklch(0.106 0.016 2.182);
--card-foreground: oklch(0.991 0.002 2.124);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.591 0.11 7.226);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.705 0.135 139.143);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.566 0.105 271.021);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.596 0.173 41.006);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.591 0.11 7.226);
--chart-1: oklch(0.591 0.11 7.226);
--chart-2: oklch(0.705 0.135 139.143);
--chart-3: oklch(0.566 0.105 271.021);
--chart-4: oklch(0.724 0.127 139.09);
--chart-5: oklch(0.589 0.119 7.729);
}