Reporter is a shadcn/ui theme built around a muted light violet primary color (#e1dee7) with muted light purple accents (#e5dee7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light violet primary (#e1dee7) on a violet-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06040bblack |
| Foreground | #040208black | #faf9fbghostwhite |
| Card | #ffffffwhite | #06040bblack |
| Card foreground | #040208black | #faf9fbghostwhite |
| Popover | #ffffffwhite | #06040bblack |
| Popover foreground | #040208black | #faf9fbghostwhite |
| Primary | #e1dee7gainsboro | #e1dee7gainsboro |
| Primary foreground | #443e56darkslategray | #443e56darkslategray |
| Secondary | #dee1e7gainsboro | #dee1e7gainsboro |
| Secondary foreground | #3e4456darkslategray | #3e4456darkslategray |
| Muted | #dce1eflavender | #101523black |
| Muted foreground | #45464adarkslategray | #b5b6basilver |
| Accent | #e5dee7gainsboro | #e5dee7gainsboro |
| Accent foreground | #503e56darkslategray | #503e56darkslategray |
| Destructive | #6c2104maroon | #f75e22tomato |
| Destructive foreground | #fcbfa6lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1dee7gainsboro | #e1dee7gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.64:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 7.20:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 8.98:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 6.57:1 | AA |
Paste this into your globals.css to use Reporter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.02 297.499);
--muted: oklch(0.91 0.019 271.201);
--muted-foreground: oklch(0.394 0.007 271.226);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.02 297.499);
--card: oklch(1 0 180);
--card-foreground: oklch(0.099 0.02 297.499);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.906 0.012 297.583);
--primary-foreground: oklch(0.38 0.04 295.886);
--secondary: oklch(0.909 0.009 271.311);
--secondary-foreground: oklch(0.389 0.031 270.49);
--accent: oklch(0.91 0.014 317.738);
--accent-foreground: oklch(0.393 0.045 317.566);
--destructive: oklch(0.363 0.113 38.821);
--destructive-foreground: oklch(0.853 0.078 42.552);
--ring: oklch(0.906 0.012 297.583);
--chart-1: oklch(0.906 0.012 297.583);
--chart-2: oklch(0.909 0.009 271.311);
--chart-3: oklch(0.91 0.014 317.738);
--chart-4: oklch(0.934 0.007 271.341);
--chart-5: oklch(0.905 0.015 297.537);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.02 297.493);
--foreground: oklch(0.983 0.002 297.79);
--muted: oklch(0.198 0.029 269.551);
--muted-foreground: oklch(0.777 0.006 271.334);
--popover: oklch(0.117 0.02 297.493);
--popover-foreground: oklch(0.983 0.002 297.79);
--card: oklch(0.117 0.02 297.493);
--card-foreground: oklch(0.983 0.002 297.79);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.906 0.012 297.583);
--primary-foreground: oklch(0.38 0.04 295.886);
--secondary: oklch(0.909 0.009 271.311);
--secondary-foreground: oklch(0.389 0.031 270.49);
--accent: oklch(0.91 0.014 317.738);
--accent-foreground: oklch(0.393 0.045 317.566);
--destructive: oklch(0.675 0.199 39.227);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.906 0.012 297.583);
--chart-1: oklch(0.906 0.012 297.583);
--chart-2: oklch(0.909 0.009 271.311);
--chart-3: oklch(0.91 0.014 317.738);
--chart-4: oklch(0.934 0.007 271.341);
--chart-5: oklch(0.905 0.015 297.537);
}