Meaty is a shadcn/ui theme built around a vivid yellow primary color (#e6d705) with vivid purple accents (#d705e6). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid yellow primary (#e6d705) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #000000black |
| Foreground | #040401black | #ffffffwhite |
| Card | #fdfdf7snow | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefefbwhite | #000000black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #e6d705gold | #e6d705gold |
| Primary foreground | #1e1c01black | #1e1c01black |
| Secondary | #05e6d7darkturquoise | #05e6d7darkturquoise |
| Secondary foreground | #011e1cblack | #011e1cblack |
| Muted | #d9deddgainsboro | #212626darkslategray |
| Muted foreground | #4b6260dimgray | #9db4b2darkgray |
| Accent | #d705e6magenta | #d705e6magenta |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #90280esaddlebrown | #ed6745tomato |
| Destructive foreground | #fbddd5antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6d705gold | #e6d705gold |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 11.04:1 | AAA |
| Muted text | 4.79:1 | AA |
| Accent | 4.15:1 | AA Large |
| Destructive | 6.57:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 11.04:1 | AAA |
| Muted text | 6.99:1 | AA |
| Accent | 4.15:1 | AA Large |
| Destructive | 6.60:1 | AA |
Paste this into your globals.css to use Meaty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 103.172);
--foreground: oklch(0.105 0.016 106.315);
--muted: oklch(0.896 0.005 192.3);
--muted-foreground: oklch(0.477 0.027 191.226);
--popover: oklch(0.996 0.004 103.172);
--popover-foreground: oklch(0.105 0.016 106.315);
--card: oklch(0.992 0.008 103.238);
--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.864 0.182 104.446);
--primary-foreground: oklch(0.222 0.046 105.872);
--secondary: oklch(0.832 0.145 186.453);
--secondary-foreground: oklch(0.212 0.036 188.659);
--accent: oklch(0.627 0.292 324.7);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.438 0.143 34.465);
--destructive-foreground: oklch(0.92 0.035 34.311);
--ring: oklch(0.864 0.182 104.446);
--chart-1: oklch(0.864 0.182 104.446);
--chart-2: oklch(0.832 0.145 186.453);
--chart-3: oklch(0.627 0.292 324.7);
--chart-4: oklch(0.873 0.152 186.426);
--chart-5: oklch(0.873 0.185 104.37);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.264 0.007 191.856);
--muted-foreground: oklch(0.751 0.025 191.732);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.864 0.182 104.446);
--primary-foreground: oklch(0.222 0.046 105.872);
--secondary: oklch(0.832 0.145 186.453);
--secondary-foreground: oklch(0.212 0.036 188.659);
--accent: oklch(0.627 0.292 324.7);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.673 0.173 35.208);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.864 0.182 104.446);
--chart-1: oklch(0.864 0.182 104.446);
--chart-2: oklch(0.832 0.145 186.453);
--chart-3: oklch(0.627 0.292 324.7);
--chart-4: oklch(0.873 0.152 186.426);
--chart-5: oklch(0.873 0.185 104.37);
}