Reflecting is a shadcn/ui theme built around a vivid green primary color (#35e989) with vivid orange accents (#e98935). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#35e989) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #010402black |
| Foreground | #010402black | #f6f9f7whitesmoke |
| Card | #fcfdfcwhite | #010402black |
| Card foreground | #010402black | #f6f9f7whitesmoke |
| Popover | #fcfdfcwhite | #010402black |
| Popover foreground | #010402black | #f6f9f7whitesmoke |
| Primary | #35e989mediumspringgreen | #35e989mediumspringgreen |
| Primary foreground | #084927darkgreen | #084927darkgreen |
| Secondary | #8935e9blueviolet | #8935e9blueviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0eef1whitesmoke | #0f0e11black |
| Muted foreground | #525152darkslategray | #adadaedarkgray |
| Accent | #e98935peru | #e98935peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #852905saddlebrown | #f7652btomato |
| Destructive foreground | #fdd0bfpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #35e989mediumspringgreen | #35e989mediumspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 5.61:1 | AA |
| Muted text | 6.84:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 5.61:1 | AA |
| Muted text | 8.59:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 6.86:1 | AA |
Paste this into your globals.css to use Reflecting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 163.385);
--foreground: oklch(0.098 0.013 163.513);
--muted: oklch(0.951 0.005 307.05);
--muted-foreground: oklch(0.435 0.003 307.033);
--popover: oklch(0.993 0.002 163.385);
--popover-foreground: oklch(0.098 0.013 163.513);
--card: oklch(0.993 0.002 163.385);
--card-foreground: oklch(0.098 0.013 163.513);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.194 153.983);
--primary-foreground: oklch(0.359 0.086 153.663);
--secondary: oklch(0.546 0.248 298.867);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.718 0.15 57.49);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.418 0.132 38.185);
--destructive-foreground: oklch(0.893 0.055 42.695);
--ring: oklch(0.824 0.194 153.983);
--chart-1: oklch(0.824 0.194 153.983);
--chart-2: oklch(0.546 0.248 298.867);
--chart-3: oklch(0.718 0.15 57.49);
--chart-4: oklch(0.571 0.236 300.19);
--chart-5: oklch(0.832 0.199 153.671);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.013 163.513);
--foreground: oklch(0.979 0.005 163.324);
--muted: oklch(0.165 0.007 306.566);
--muted-foreground: oklch(0.747 0.002 307.071);
--popover: oklch(0.098 0.013 163.513);
--popover-foreground: oklch(0.979 0.005 163.324);
--card: oklch(0.098 0.013 163.513);
--card-foreground: oklch(0.979 0.005 163.324);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.194 153.983);
--primary-foreground: oklch(0.359 0.086 153.663);
--secondary: oklch(0.546 0.248 298.867);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.718 0.15 57.49);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.685 0.192 39.91);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.824 0.194 153.983);
--chart-1: oklch(0.824 0.194 153.983);
--chart-2: oklch(0.546 0.248 298.867);
--chart-3: oklch(0.718 0.15 57.49);
--chart-4: oklch(0.571 0.236 300.19);
--chart-5: oklch(0.832 0.199 153.671);
}