Meaty is a shadcn/ui theme built around a light blue primary color (#e9eefc) with light green accents (#eefce9). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the light blue primary (#e9eefc) on a blue-tinted background (#05080f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #05080fblack |
| Foreground | #050915black | #f6f7f9whitesmoke |
| Card | #f8f9fcghostwhite | #05080fblack |
| Card foreground | #050915black | #f6f7f9whitesmoke |
| Popover | #f8f9fcghostwhite | #05080fblack |
| Popover foreground | #050915black | #f6f7f9whitesmoke |
| Primary | #e9eefclavender | #e9eefclavender |
| Primary foreground | #183b9adarkslateblue | #183b9adarkslateblue |
| Secondary | #fce9eelavenderblush | #fce9eelavenderblush |
| Secondary foreground | #9a183bbrown | #9a183bbrown |
| Muted | #efe6e8linen | #191012black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #eefce9honeydew | #eefce9honeydew |
| Accent foreground | #19420adarkgreen | #19420adarkgreen |
| Destructive | #6a0606maroon | #e30d0dred |
| Destructive foreground | #faa8a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9eefclavender | #e9eefclavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.85:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 10.78:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 10.78:1 | AAA |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Meaty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 270.082);
--foreground: oklch(0.142 0.027 264.621);
--muted: oklch(0.933 0.011 359.109);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(0.982 0.005 270.082);
--popover-foreground: oklch(0.142 0.027 264.621);
--card: oklch(0.982 0.005 270.082);
--card-foreground: oklch(0.142 0.027 264.621);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.949 0.019 269.946);
--primary-foreground: oklch(0.393 0.161 264.59);
--secondary: oklch(0.95 0.021 359.412);
--secondary-foreground: oklch(0.45 0.163 12.797);
--accent: oklch(0.975 0.028 137.259);
--accent-foreground: oklch(0.338 0.095 138.921);
--destructive: oklch(0.334 0.131 28.244);
--destructive-foreground: oklch(0.812 0.097 19.382);
--ring: oklch(0.949 0.019 269.946);
--chart-1: oklch(0.949 0.019 269.946);
--chart-2: oklch(0.95 0.021 359.412);
--chart-3: oklch(0.975 0.028 137.259);
--chart-4: oklch(0.98 0.008 359.026);
--chart-5: oklch(0.949 0.02 269.938);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.017 265.357);
--foreground: oklch(0.975 0.002 270.1);
--muted: oklch(0.185 0.016 1.219);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0.135 0.017 265.357);
--popover-foreground: oklch(0.975 0.002 270.1);
--card: oklch(0.135 0.017 265.357);
--card-foreground: oklch(0.975 0.002 270.1);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.949 0.019 269.946);
--primary-foreground: oklch(0.393 0.161 264.59);
--secondary: oklch(0.95 0.021 359.412);
--secondary-foreground: oklch(0.45 0.163 12.797);
--accent: oklch(0.975 0.028 137.259);
--accent-foreground: oklch(0.338 0.095 138.921);
--destructive: oklch(0.577 0.232 28.807);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.019 269.946);
--chart-1: oklch(0.949 0.019 269.946);
--chart-2: oklch(0.95 0.021 359.412);
--chart-3: oklch(0.975 0.028 137.259);
--chart-4: oklch(0.98 0.008 359.026);
--chart-5: oklch(0.949 0.02 269.938);
}