Review is a shadcn/ui theme built around an orange primary color (#9f662d) with blue accents (#2d669f). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#9f662d) on a neutral background (#040302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040302black |
| Foreground | #0d0802black | #fbfaf9snow |
| Card | #fdfaf7snow | #070503black |
| Card foreground | #090501black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #040302black |
| Popover foreground | #0d0802black | #fbfaf9snow |
| Primary | #9f662dsienna | #9f662dsienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2d669fsteelblue | #2d669fsteelblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8edf3lavender | #0c1217black |
| Muted foreground | #3a4045darkslategray | #babfc5silver |
| Accent | #2d669fsteelblue | #2d669fsteelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c14106firebrick | #f8611bchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9f662dsienna | #9f662dsienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 4.75:1 | AA |
| Secondary button | 5.97:1 | AA |
| Muted text | 8.92:1 | AAA |
| Accent | 5.97:1 | AA |
| Destructive | 5.21:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 4.75:1 | AA |
| Secondary button | 5.97:1 | AA |
| Muted text | 10.18:1 | AAA |
| Accent | 5.97:1 | AA |
| Destructive | 6.72:1 | AA |
Paste this into your globals.css to use Review in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 67.795);
--foreground: oklch(0.138 0.02 77.139);
--muted: oklch(0.944 0.01 247.927);
--muted-foreground: oklch(0.367 0.013 248.168);
--popover: oklch(0.993 0.002 67.795);
--popover-foreground: oklch(0.138 0.02 77.139);
--card: oklch(0.986 0.005 67.769);
--card-foreground: oklch(0.12 0.018 78.392);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.561 0.103 62.738);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.5 0.109 250.936);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.5 0.109 250.936);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.552 0.173 39.188);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.561 0.103 62.738);
--chart-1: oklch(0.561 0.103 62.738);
--chart-2: oklch(0.5 0.109 250.936);
--chart-3: oklch(0.5 0.109 250.936);
--chart-4: oklch(0.527 0.116 250.978);
--chart-5: oklch(0.565 0.107 62.235);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.007 73.618);
--foreground: oklch(0.985 0.002 67.798);
--muted: oklch(0.178 0.014 248.641);
--muted-foreground: oklch(0.803 0.01 247.955);
--popover: oklch(0.094 0.007 73.618);
--popover-foreground: oklch(0.985 0.002 67.798);
--card: oklch(0.118 0.009 73.618);
--card-foreground: oklch(0.993 0.001 67.81);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.561 0.103 62.738);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.5 0.109 250.936);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.5 0.109 250.936);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.68 0.199 40.92);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.561 0.103 62.738);
--chart-1: oklch(0.561 0.103 62.738);
--chart-2: oklch(0.5 0.109 250.936);
--chart-3: oklch(0.5 0.109 250.936);
--chart-4: oklch(0.527 0.116 250.978);
--chart-5: oklch(0.565 0.107 62.235);
}