Take-out is a shadcn/ui theme built around a light yellow primary color (#f8f1e3) with light green accents (#f3f8e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#f8f1e3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #100d04black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0c0a03black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #0c0a03black | #ffffffwhite |
| Primary | #f8f1e3linen | #f8f1e3linen |
| Primary foreground | #35290eblack | #35290eblack |
| Secondary | #f8e7e3mistyrose | #f8e7e3mistyrose |
| Secondary foreground | #863623saddlebrown | #863623saddlebrown |
| Muted | #f3eae7linen | #180e0cblack |
| Muted foreground | #534946darkslategray | #b9afacdarkgray |
| Accent | #f3f8e3beige | #f3f8e3beige |
| Accent foreground | #2d350edarkgreen | #2d350edarkgreen |
| Destructive | #782002maroon | #fb5d28tomato |
| Destructive foreground | #fdc3aflightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8f1e3linen | #f8f1e3linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 12.68:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.34:1 | AAA |
| Accent | 11.87:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 12.68:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 8.83:1 | AAA |
| Accent | 11.87:1 | AAA |
| Destructive | 6.67:1 | AA |
Paste this into your globals.css to use Take-out in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.02 90.159);
--muted: oklch(0.943 0.011 34.301);
--muted-foreground: oklch(0.414 0.014 34.305);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.143 0.018 92.654);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.143 0.018 92.654);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.96 0.021 87.517);
--primary-foreground: oklch(0.288 0.045 85.95);
--secondary: oklch(0.94 0.019 34.297);
--secondary-foreground: oklch(0.44 0.114 35.205);
--accent: oklch(0.969 0.028 116.108);
--accent-foreground: oklch(0.311 0.06 119.651);
--destructive: oklch(0.383 0.127 36.508);
--destructive-foreground: oklch(0.864 0.073 39.228);
--ring: oklch(0.96 0.021 87.517);
--chart-1: oklch(0.96 0.021 87.517);
--chart-2: oklch(0.94 0.019 34.297);
--chart-3: oklch(0.969 0.028 116.108);
--chart-4: oklch(0.966 0.011 34.301);
--chart-5: oklch(0.961 0.022 87.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 87.427);
--muted: oklch(0.177 0.018 34.519);
--muted-foreground: oklch(0.761 0.012 34.298);
--popover: oklch(0.092 0 180);
--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.96 0.021 87.517);
--primary-foreground: oklch(0.288 0.045 85.95);
--secondary: oklch(0.94 0.019 34.297);
--secondary-foreground: oklch(0.44 0.114 35.205);
--accent: oklch(0.969 0.028 116.108);
--accent-foreground: oklch(0.311 0.06 119.651);
--destructive: oklch(0.679 0.203 37.508);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.96 0.021 87.517);
--chart-1: oklch(0.96 0.021 87.517);
--chart-2: oklch(0.94 0.019 34.297);
--chart-3: oklch(0.969 0.028 116.108);
--chart-4: oklch(0.966 0.011 34.301);
--chart-5: oklch(0.961 0.022 87.521);
}