Meaty is a shadcn/ui theme built around a neutral gray primary color (#8a8f99) with neutral gray accents (#99948a). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#8a8f99) on a blue-tinted background (#03060c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03060cblack |
| Foreground | #000000black | #f9f9fbghostwhite |
| Card | #ffffffwhite | #03060cblack |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #03060cblack |
| Popover foreground | #000000black | #f9f9fbghostwhite |
| Primary | #8a8f99lightslategray | #8a8f99lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #99948agray | #99948agray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e9e3d8gainsboro | #272116black |
| Muted foreground | #6e6553dimgray | #aca291rosybrown |
| Accent | #99948agray | #99948agray |
| Accent foreground | #000000black | #000000black |
| Destructive | #6d2503maroon | #ed5007orangered |
| Destructive foreground | #fcc1a6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8a8f99lightslategray | #8a8f99lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.93:1 | AA |
| Muted text | 4.50:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 6.96:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.93:1 | AA |
| Muted text | 6.31:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Meaty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.017 83.065);
--muted-foreground: oklch(0.51 0.029 82.954);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.649 0.016 262.993);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.667 0.016 83.061);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.667 0.016 83.061);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.369 0.11 40.894);
--destructive-foreground: oklch(0.858 0.078 46.022);
--ring: oklch(0.649 0.016 262.993);
--chart-1: oklch(0.649 0.016 262.993);
--chart-2: oklch(0.667 0.016 83.061);
--chart-3: oklch(0.667 0.016 83.061);
--chart-4: oklch(0.691 0.015 83.063);
--chart-5: oklch(0.645 0.023 262.953);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.016 255.209);
--foreground: oklch(0.983 0.003 263.049);
--muted: oklch(0.252 0.022 82.671);
--muted-foreground: oklch(0.716 0.027 83.036);
--popover: oklch(0.123 0.016 255.209);
--popover-foreground: oklch(0.983 0.003 263.049);
--card: oklch(0.123 0.016 255.209);
--card-foreground: oklch(0.983 0.003 263.049);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.649 0.016 262.993);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.667 0.016 83.061);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.667 0.016 83.061);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.642 0.204 38.781);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.016 262.993);
--chart-1: oklch(0.649 0.016 262.993);
--chart-2: oklch(0.667 0.016 83.061);
--chart-3: oklch(0.667 0.016 83.061);
--chart-4: oklch(0.691 0.015 83.063);
--chart-5: oklch(0.645 0.023 262.953);
}