Retrospective is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted light red accents (#dfd8d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080202black |
| Foreground | #0c0303black | #fdfbfbsnow |
| Card | #ffffffwhite | #080202black |
| Card foreground | #0c0303black | #fdfbfbsnow |
| Popover | #ffffffwhite | #080202black |
| Popover foreground | #0c0303black | #fdfbfbsnow |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #dfd8d8gainsboro | #271c1cblack |
| Secondary foreground | #483c3cdarkslategray | #c6aeaesilver |
| Muted | #f3ececlinen | #130c0cblack |
| Muted foreground | #534646darkslategray | #b9acacdarkgray |
| Accent | #dfd8d8gainsboro | #271c1cblack |
| Accent foreground | #483c3cdarkslategray | #c6aeaesilver |
| Destructive | #a70f01darkred | #fe4534tomato |
| Destructive foreground | #ffdedbmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 7.73:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.43:1 | AA Large |
Paste this into your globals.css to use Retrospective in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.021 20.618);
--muted: oklch(0.949 0.008 17.291);
--muted-foreground: oklch(0.407 0.019 17.954);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.021 20.618);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.021 20.618);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.888 0.007 17.29);
--secondary-foreground: oklch(0.37 0.017 17.933);
--accent: oklch(0.888 0.007 17.29);
--accent-foreground: oklch(0.37 0.017 17.933);
--destructive: oklch(0.463 0.183 30.326);
--destructive-foreground: oklch(0.928 0.036 24.003);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.888 0.007 17.29);
--chart-3: oklch(0.888 0.007 17.29);
--chart-4: oklch(0.912 0.006 17.258);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.019 20.789);
--foreground: oklch(0.991 0.002 17.194);
--muted: oklch(0.163 0.012 18.495);
--muted-foreground: oklch(0.755 0.016 17.511);
--popover: oklch(0.103 0.019 20.789);
--popover-foreground: oklch(0.991 0.002 17.194);
--card: oklch(0.103 0.019 20.789);
--card-foreground: oklch(0.991 0.002 17.194);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.238 0.018 18.488);
--secondary-foreground: oklch(0.772 0.027 17.754);
--accent: oklch(0.238 0.018 18.488);
--accent-foreground: oklch(0.772 0.027 17.754);
--destructive: oklch(0.661 0.224 29.538);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.238 0.018 18.488);
--chart-3: oklch(0.238 0.018 18.488);
--chart-4: oklch(0.268 0.021 18.581);
--chart-5: oklch(1 0 180);
}