Belly is a shadcn/ui theme built around a near-black primary color (#00000a) with muted indigo accents (#acacbe). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the near-black primary (#00000a) on an indigo-tinted background (#07070e).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #07070eblack |
| Foreground | #04040cblack | #ffffffwhite |
| Card | #f8f8fcghostwhite | #07070eblack |
| Card foreground | #04040cblack | #ffffffwhite |
| Popover | #f8f8fcghostwhite | #07070eblack |
| Popover foreground | #04040cblack | #ffffffwhite |
| Primary | #00000ablack | #00000ablack |
| Primary foreground | #a4a4fflightsteelblue | #a4a4fflightsteelblue |
| Secondary | #c9c9cflightgrey | #161618black |
| Secondary foreground | #303036darkslategray | #ababb5darkgray |
| Muted | #dedee3gainsboro | #1c1c21black |
| Muted foreground | #464649darkslategray | #b6b6b9silver |
| Accent | #acacbedarkgray | #262631darkslategray |
| Accent foreground | #19191fblack | #bdbdccsilver |
| Destructive | #c51d11firebrick | #ed3d31crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #00000ablack | #00000ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 9.28:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.99:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 5.89:1 | AA |
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 9.28:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 8.39:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Belly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.005 286.312);
--foreground: oklch(0.109 0.024 281.783);
--muted: oklch(0.901 0.007 286.249);
--muted-foreground: oklch(0.395 0.005 286.18);
--popover: oklch(0.98 0.005 286.312);
--popover-foreground: oklch(0.109 0.024 281.783);
--card: oklch(0.98 0.005 286.312);
--card-foreground: oklch(0.109 0.024 281.783);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.067 0.045 265.179);
--primary-foreground: oklch(0.754 0.13 282.847);
--secondary: oklch(0.838 0.008 286.216);
--secondary-foreground: oklch(0.311 0.011 285.753);
--accent: oklch(0.751 0.025 285.776);
--accent-foreground: oklch(0.215 0.013 285.243);
--destructive: oklch(0.528 0.202 29.677);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.067 0.045 265.179);
--chart-1: oklch(0.067 0.045 265.179);
--chart-2: oklch(0.838 0.008 286.216);
--chart-3: oklch(0.751 0.025 285.776);
--chart-4: oklch(0.862 0.007 286.25);
--chart-5: oklch(0.064 0.048 261.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.017 283.744);
--foreground: oklch(1 0 180);
--muted: oklch(0.228 0.011 285.532);
--muted-foreground: oklch(0.778 0.004 286.306);
--popover: oklch(0.13 0.017 283.744);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.13 0.017 283.744);
--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.067 0.045 265.179);
--primary-foreground: oklch(0.754 0.13 282.847);
--secondary: oklch(0.199 0.005 285.895);
--secondary-foreground: oklch(0.745 0.013 286.068);
--accent: oklch(0.272 0.021 284.939);
--accent-foreground: oklch(0.802 0.021 285.91);
--destructive: oklch(0.625 0.214 28.902);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.067 0.045 265.179);
--chart-1: oklch(0.067 0.045 265.179);
--chart-2: oklch(0.199 0.005 285.895);
--chart-3: oklch(0.272 0.021 284.939);
--chart-4: oklch(0.231 0.007 285.839);
--chart-5: oklch(0.064 0.048 261.427);
}