Quinoa is a shadcn/ui theme built around a deep red primary color (#100507) with deep orange accents (#100805). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the deep red primary (#100507) on a neutral background (#080304).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #080304black |
| Foreground | #090103black | #f9f5f6whitesmoke |
| Card | #fbf4f5lavenderblush | #0b0405black |
| Card foreground | #040101black | #fbf9f9snow |
| Popover | #fbf4f5lavenderblush | #0b0405black |
| Popover foreground | #040101black | #fbf9f9snow |
| Primary | #100507black | #100507black |
| Primary foreground | #d57285palevioletred | #d57285palevioletred |
| Secondary | #10050cblack | #10050cblack |
| Secondary foreground | #d572b7orchid | #d572b7orchid |
| Muted | #e1d5degainsboro | #2a1e26darkslategray |
| Muted foreground | #4c3e48darkslategray | #c1b3bdsilver |
| Accent | #100805black | #100805black |
| Accent foreground | #d58f72darksalmon | #d58f72darksalmon |
| Destructive | #b81a0ffirebrick | #d41e11firebrick |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #100507black | #100507black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 6.60:1 | AA |
| Muted text | 7.08:1 | AAA |
| Accent | 7.56:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 6.60:1 | AA |
| Muted text | 7.99:1 | AAA |
| Accent | 7.56:1 | AAA |
| Destructive | 5.24:1 | AA |
Paste this into your globals.css to use Quinoa in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 3.32);
--foreground: oklch(0.101 0.025 3.573);
--muted: oklch(0.886 0.017 336.236);
--muted-foreground: oklch(0.382 0.025 337.035);
--popover: oklch(0.973 0.007 3.39);
--popover-foreground: oklch(0.08 0.02 3.573);
--card: oklch(0.973 0.007 3.39);
--card-foreground: oklch(0.08 0.02 3.573);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.134 0.023 4.685);
--primary-foreground: oklch(0.668 0.125 8.32);
--secondary: oklch(0.137 0.028 338.033);
--secondary-foreground: oklch(0.685 0.149 339.665);
--accent: oklch(0.144 0.017 50.038);
--accent-foreground: oklch(0.714 0.095 43.98);
--destructive: oklch(0.502 0.192 29.683);
--destructive-foreground: oklch(0.99 0.004 22.263);
--ring: oklch(0.134 0.023 4.685);
--chart-1: oklch(0.134 0.023 4.685);
--chart-2: oklch(0.137 0.028 338.033);
--chart-3: oklch(0.144 0.017 50.038);
--chart-4: oklch(0.173 0.041 339.906);
--chart-5: oklch(0.133 0.025 4.779);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.016 3.405);
--foreground: oklch(0.975 0.004 3.301);
--muted: oklch(0.252 0.024 337.572);
--muted-foreground: oklch(0.782 0.02 336.355);
--popover: oklch(0.122 0.018 3.511);
--popover-foreground: oklch(0.983 0.003 3.261);
--card: oklch(0.122 0.018 3.511);
--card-foreground: oklch(0.983 0.003 3.261);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.134 0.023 4.685);
--primary-foreground: oklch(0.668 0.125 8.32);
--secondary: oklch(0.137 0.028 338.033);
--secondary-foreground: oklch(0.685 0.149 339.665);
--accent: oklch(0.144 0.017 50.038);
--accent-foreground: oklch(0.714 0.095 43.98);
--destructive: oklch(0.557 0.214 29.709);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.134 0.023 4.685);
--chart-1: oklch(0.134 0.023 4.685);
--chart-2: oklch(0.137 0.028 338.033);
--chart-3: oklch(0.144 0.017 50.038);
--chart-4: oklch(0.173 0.041 339.906);
--chart-5: oklch(0.133 0.025 4.779);
}