Reflecting is a shadcn/ui theme built around a vivid light red primary color (#fef0f4) with vivid light orange accents (#fef4f0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid light red primary (#fef0f4) on a red-tinted background (#0c0305).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #0c0305black |
| Foreground | #000000black | #f9f5f6whitesmoke |
| Card | #fcf8f9snow | #100407black |
| Card foreground | #000000black | #fbf8f9snow |
| Popover | #fdfcfcsnow | #0c0305black |
| Popover foreground | #000000black | #f9f5f6whitesmoke |
| Primary | #fef0f4lavenderblush | #fef0f4lavenderblush |
| Primary foreground | #b50830firebrick | #b50830firebrick |
| Secondary | #fef0fblavenderblush | #fef0fblavenderblush |
| Secondary foreground | #53033eindigo | #53033eindigo |
| Muted | #f3e8f0whitesmoke | #170c14black |
| Muted foreground | #685061dimgray | #af97a9darkgray |
| Accent | #fef4f0seashell | #fef4f0seashell |
| Accent foreground | #531903maroon | #531903maroon |
| Destructive | #a22211firebrick | #e73018orangered |
| Destructive foreground | #fdeae8linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fef0f4lavenderblush | #fef0f4lavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.45:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 13.18:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 12.88:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 18.82:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 13.18:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 12.88:1 | AAA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Reflecting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 1.019);
--foreground: oklch(0 0 0);
--muted: oklch(0.941 0.016 334.823);
--muted-foreground: oklch(0.462 0.041 336.021);
--popover: oklch(0.991 0.002 1.019);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.004 1.079);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.016 1.412);
--primary-foreground: oklch(0.492 0.194 19.502);
--secondary: oklch(0.97 0.02 334.889);
--secondary-foreground: oklch(0.3 0.124 342.657);
--accent: oklch(0.974 0.012 41.209);
--accent-foreground: oklch(0.304 0.092 38.837);
--destructive: oklch(0.464 0.166 31.041);
--destructive-foreground: oklch(0.952 0.02 26.593);
--ring: oklch(0.968 0.016 1.412);
--chart-1: oklch(0.968 0.016 1.412);
--chart-2: oklch(0.97 0.02 334.889);
--chart-3: oklch(0.974 0.012 41.209);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.968 0.016 1.426);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.023 1.229);
--foreground: oklch(0.974 0.005 1.097);
--muted: oklch(0.175 0.024 336.799);
--muted-foreground: oklch(0.704 0.037 335.426);
--popover: oklch(0.12 0.023 1.229);
--popover-foreground: oklch(0.974 0.005 1.097);
--card: oklch(0.133 0.026 2.497);
--card-foreground: oklch(0.983 0.003 1.05);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.968 0.016 1.412);
--primary-foreground: oklch(0.492 0.194 19.502);
--secondary: oklch(0.97 0.02 334.889);
--secondary-foreground: oklch(0.3 0.124 342.657);
--accent: oklch(0.974 0.012 41.209);
--accent-foreground: oklch(0.304 0.092 38.837);
--destructive: oklch(0.602 0.22 31.02);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.016 1.412);
--chart-1: oklch(0.968 0.016 1.412);
--chart-2: oklch(0.97 0.02 334.889);
--chart-3: oklch(0.974 0.012 41.209);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.968 0.016 1.426);
}