Meaty is a shadcn/ui theme built around a purple primary color (#e798d6) with muted light purple accents (#e5e1e4). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the purple primary (#e798d6) on a purple-tinted background (#0e070c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0e070cblack |
| Foreground | #0e020bblack | #faf5f9whitesmoke |
| Card | #fcf8fbsnow | #0e070cblack |
| Card foreground | #0e020bblack | #faf5f9whitesmoke |
| Popover | #fcf8fbsnow | #0e070cblack |
| Popover foreground | #0e020bblack | #faf5f9whitesmoke |
| Primary | #e798d6plum | #e798d6plum |
| Primary foreground | #3e0f34darkslategray | #3e0f34darkslategray |
| Secondary | #e5e1e4gainsboro | #281f26black |
| Secondary foreground | #50444ddarkslategray | #c5b5c1silver |
| Muted | #e9e2e8gainsboro | #1d161cblack |
| Muted foreground | #61515edimgray | #ae9eaadarkgray |
| Accent | #e5e1e4gainsboro | #281f26black |
| Accent foreground | #50444ddarkslategray | #c5b5c1silver |
| Destructive | #b42a04firebrick | #e63505orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e798d6plum | #e798d6plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.78:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.99:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Meaty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 332.707);
--foreground: oklch(0.12 0.039 334.543);
--muted: oklch(0.92 0.011 332.81);
--muted-foreground: oklch(0.456 0.029 333.562);
--popover: oklch(0.983 0.006 332.707);
--popover-foreground: oklch(0.12 0.039 334.543);
--card: oklch(0.983 0.006 332.707);
--card-foreground: oklch(0.12 0.039 334.543);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.777 0.123 334.897);
--primary-foreground: oklch(0.263 0.089 337.591);
--secondary: oklch(0.913 0.007 332.731);
--secondary-foreground: oklch(0.402 0.022 333.436);
--accent: oklch(0.913 0.007 332.731);
--accent-foreground: oklch(0.402 0.022 333.436);
--destructive: oklch(0.505 0.179 34.002);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.777 0.123 334.897);
--chart-1: oklch(0.777 0.123 334.897);
--chart-2: oklch(0.913 0.007 332.731);
--chart-3: oklch(0.913 0.007 332.731);
--chart-4: oklch(0.937 0.005 332.697);
--chart-5: oklch(0.776 0.129 335.002);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.018 333.981);
--foreground: oklch(0.974 0.008 332.743);
--muted: oklch(0.211 0.017 333.789);
--muted-foreground: oklch(0.716 0.026 333.163);
--popover: oklch(0.14 0.018 333.981);
--popover-foreground: oklch(0.974 0.008 332.743);
--card: oklch(0.14 0.018 333.981);
--card-foreground: oklch(0.974 0.008 332.743);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.777 0.123 334.897);
--primary-foreground: oklch(0.263 0.089 337.591);
--secondary: oklch(0.254 0.018 333.663);
--secondary-foreground: oklch(0.789 0.025 333.097);
--accent: oklch(0.254 0.018 333.663);
--accent-foreground: oklch(0.789 0.025 333.097);
--destructive: oklch(0.604 0.217 33.624);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.777 0.123 334.897);
--chart-1: oklch(0.777 0.123 334.897);
--chart-2: oklch(0.254 0.018 333.663);
--chart-3: oklch(0.254 0.018 333.663);
--chart-4: oklch(0.284 0.021 333.716);
--chart-5: oklch(0.776 0.129 335.002);
}