Bell is a shadcn/ui theme built around a pink primary color (#c55e8c) with muted pink accents (#cea6b8). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#c55e8c) on a pink-tinted background (#10050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #10050ablack |
| Foreground | #000000black | #faf9fasnow |
| Card | #fbf4f7lavenderblush | #14060cblack |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fbf4f7lavenderblush | #14060cblack |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #c55e8cpalevioletred | #c55e8cpalevioletred |
| Primary foreground | #000000black | #000000black |
| Secondary | #dccbd3lightgrey | #211c1eblack |
| Secondary foreground | #462f39darkslategray | #beb1b7silver |
| Muted | #edd9e2gainsboro | #26121bblack |
| Muted foreground | #675f63dimgray | #a0989bdarkgray |
| Accent | #cea6b8silver | #33242bdarkslategray |
| Accent foreground | #2b1820black | #cfbac3silver |
| Destructive | #c70f0ffirebrick | #ef2a2acrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c55e8cpalevioletred | #c55e8cpalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 5.34:1 | AA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 4.59:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 5.34:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.29:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Bell in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 347.968);
--foreground: oklch(0 0 0);
--muted: oklch(0.904 0.026 348.583);
--muted-foreground: oklch(0.496 0.012 348.439);
--popover: oklch(0.973 0.008 348.048);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.008 348.048);
--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.62 0.141 353.74);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.859 0.022 348.499);
--secondary-foreground: oklch(0.336 0.038 350.715);
--accent: oklch(0.767 0.052 349.6);
--accent-foreground: oklch(0.236 0.034 351.49);
--destructive: oklch(0.526 0.209 28.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.141 353.74);
--chart-1: oklch(0.62 0.141 353.74);
--chart-2: oklch(0.859 0.022 348.499);
--chart-3: oklch(0.767 0.052 349.6);
--chart-4: oklch(0.884 0.018 348.359);
--chart-5: oklch(0.619 0.149 354.141);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.025 349.452);
--foreground: oklch(0.984 0.001 347.85);
--muted: oklch(0.215 0.037 352.284);
--muted-foreground: oklch(0.686 0.011 348.232);
--popover: oklch(0.148 0.028 351.304);
--popover-foreground: oklch(0.992 0.001 347.831);
--card: oklch(0.148 0.028 351.304);
--card-foreground: oklch(0.992 0.001 347.831);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.62 0.141 353.74);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.233 0.01 348.917);
--secondary-foreground: oklch(0.773 0.017 348.394);
--accent: oklch(0.28 0.026 350.254);
--accent-foreground: oklch(0.809 0.027 348.71);
--destructive: oklch(0.614 0.229 27.37);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.141 353.74);
--chart-1: oklch(0.62 0.141 353.74);
--chart-2: oklch(0.233 0.01 348.917);
--chart-3: oklch(0.28 0.026 350.254);
--chart-4: oklch(0.264 0.012 348.991);
--chart-5: oklch(0.619 0.149 354.141);
}