Correspondent is a shadcn/ui theme built around a light pink primary color (#ee96cf) with light blue accents (#96cfee). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the light pink primary (#ee96cf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #000000black |
| Foreground | #0e0209black | #f9f6f8whitesmoke |
| Card | #fcf8fbsnow | #000000black |
| Card foreground | #0e0209black | #f9f6f8whitesmoke |
| Popover | #fcf8fbsnow | #000000black |
| Popover foreground | #0e0209black | #f9f6f8whitesmoke |
| Primary | #ee96cfplum | #ee96cfplum |
| Primary foreground | #460b32maroon | #460b32maroon |
| Secondary | #cfee96khaki | #cfee96khaki |
| Secondary foreground | #32460bdarkgreen | #32460bdarkgreen |
| Muted | #eaeee2beige | #191d11black |
| Muted foreground | #4e5049darkslategray | #b4b6afdarkgray |
| Accent | #96cfeeskyblue | #96cfeeskyblue |
| Accent foreground | #0b3246darkslategray | #0b3246darkslategray |
| Destructive | #c2150ffirebrick | #da1710crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ee96cfplum | #ee96cfplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 8.34:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 5.09:1 | AA |
Paste this into your globals.css to use Correspondent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 338.117);
--foreground: oklch(0.118 0.037 339.277);
--muted: oklch(0.944 0.018 122.509);
--muted-foreground: oklch(0.427 0.013 122.687);
--popover: oklch(0.982 0.006 338.117);
--popover-foreground: oklch(0.118 0.037 339.277);
--card: oklch(0.982 0.006 338.117);
--card-foreground: oklch(0.118 0.037 339.277);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.779 0.127 341.13);
--primary-foreground: oklch(0.274 0.098 345.702);
--secondary: oklch(0.906 0.118 124.411);
--secondary-foreground: oklch(0.365 0.086 127.402);
--accent: oklch(0.826 0.073 232.315);
--accent-foreground: oklch(0.3 0.056 236.829);
--destructive: oklch(0.519 0.203 29.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.779 0.127 341.13);
--chart-1: oklch(0.779 0.127 341.13);
--chart-2: oklch(0.906 0.118 124.411);
--chart-3: oklch(0.826 0.073 232.315);
--chart-4: oklch(0.917 0.104 124.091);
--chart-5: oklch(0.778 0.132 341.257);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.004 338.069);
--muted: oklch(0.223 0.025 124.041);
--muted-foreground: oklch(0.773 0.011 122.439);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.976 0.004 338.069);
--card: oklch(0 0 0);
--card-foreground: oklch(0.976 0.004 338.069);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.779 0.127 341.13);
--primary-foreground: oklch(0.274 0.098 345.702);
--secondary: oklch(0.906 0.118 124.411);
--secondary-foreground: oklch(0.365 0.086 127.402);
--accent: oklch(0.826 0.073 232.315);
--accent-foreground: oklch(0.3 0.056 236.829);
--destructive: oklch(0.565 0.222 29.11);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.779 0.127 341.13);
--chart-1: oklch(0.779 0.127 341.13);
--chart-2: oklch(0.906 0.118 124.411);
--chart-3: oklch(0.826 0.073 232.315);
--chart-4: oklch(0.917 0.104 124.091);
--chart-5: oklch(0.778 0.132 341.257);
}