Bountiful is a shadcn/ui theme built around a neutral gray primary color (#4c4849) with neutral gray accents (#484c4a). The light mode uses a neutral background (#fefbfc). Dark mode keeps the neutral gray primary (#4c4849) on a neutral background (#070405).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070405black |
| Foreground | #16030ablack | #fbf9fasnow |
| Card | #fefbfcsnow | #070405black |
| Card foreground | #16030ablack | #fbf9fasnow |
| Popover | #fefbfcsnow | #070405black |
| Popover foreground | #16030ablack | #fbf9fasnow |
| Primary | #4c4849darkslategray | #4c4849darkslategray |
| Primary foreground | #e4e2e3gainsboro | #e4e2e3gainsboro |
| Secondary | #484c4adarkslategray | #484c4adarkslategray |
| Secondary foreground | #e2e4e3gainsboro | #e2e4e3gainsboro |
| Muted | #f0f4f3whitesmoke | #0b0f0dblack |
| Muted foreground | #404543darkslategray | #babfbdsilver |
| Accent | #484c4adarkslategray | #484c4adarkslategray |
| Accent foreground | #e2e4e3gainsboro | #e2e4e3gainsboro |
| Destructive | #8e1b0bdarkred | #ec2c13orangered |
| Destructive foreground | #fbd5d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4c4849darkslategray | #4c4849darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.83:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 6.75:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 10.36:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use Bountiful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 351.695);
--foreground: oklch(0.144 0.042 355.682);
--muted: oklch(0.965 0.005 171.439);
--muted-foreground: oklch(0.385 0.008 170.997);
--popover: oklch(0.991 0.004 351.695);
--popover-foreground: oklch(0.144 0.042 355.682);
--card: oklch(0.991 0.004 351.695);
--card-foreground: oklch(0.144 0.042 355.682);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.406 0.007 352.047);
--primary-foreground: oklch(0.915 0.002 351.654);
--secondary: oklch(0.412 0.006 171.137);
--secondary-foreground: oklch(0.917 0.002 171.528);
--accent: oklch(0.412 0.006 171.137);
--accent-foreground: oklch(0.917 0.002 171.528);
--destructive: oklch(0.42 0.152 31.032);
--destructive-foreground: oklch(0.904 0.044 26.836);
--ring: oklch(0.406 0.007 352.047);
--chart-1: oklch(0.406 0.007 352.047);
--chart-2: oklch(0.412 0.006 171.137);
--chart-3: oklch(0.412 0.006 171.137);
--chart-4: oklch(0.441 0.007 171.131);
--chart-5: oklch(0.402 0.013 352.505);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.01 351.405);
--foreground: oklch(0.983 0.003 351.679);
--muted: oklch(0.163 0.008 170.139);
--muted-foreground: oklch(0.801 0.007 171.356);
--popover: oklch(0.111 0.01 351.405);
--popover-foreground: oklch(0.983 0.003 351.679);
--card: oklch(0.111 0.01 351.405);
--card-foreground: oklch(0.983 0.003 351.679);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.406 0.007 352.047);
--primary-foreground: oklch(0.915 0.002 351.654);
--secondary: oklch(0.412 0.006 171.137);
--secondary-foreground: oklch(0.917 0.002 171.528);
--accent: oklch(0.412 0.006 171.137);
--accent-foreground: oklch(0.917 0.002 171.528);
--destructive: oklch(0.609 0.227 30.952);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.406 0.007 352.047);
--chart-1: oklch(0.406 0.007 352.047);
--chart-2: oklch(0.412 0.006 171.137);
--chart-3: oklch(0.412 0.006 171.137);
--chart-4: oklch(0.441 0.007 171.131);
--chart-5: oklch(0.402 0.013 352.505);
}