Copy is a shadcn/ui theme built around a near-black primary color (#201d1f) with muted light pink accents (#d9c4cf). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the near-black primary (#201d1f) on a pink-tinted background (#0b0408).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #0b0408black |
| Foreground | #10050ablack | #fdfcfcsnow |
| Card | #fdf7fasnow | #0b0408black |
| Card foreground | #10050ablack | #fdfcfcsnow |
| Popover | #fdf7fasnow | #0b0408black |
| Popover foreground | #10050ablack | #fdfcfcsnow |
| Primary | #201d1fblack | #201d1fblack |
| Primary foreground | #bbb4b8silver | #bbb4b8silver |
| Secondary | #e7dfe3gainsboro | #151414black |
| Secondary foreground | #54404adarkslategray | #afacaddarkgray |
| Muted | #e3dde0gainsboro | #221c1fblack |
| Muted foreground | #5d5b5cdimgray | #a4a2a3darkgray |
| Accent | #d9c4cfthistle | #2e2429darkslategray |
| Accent foreground | #412a36darkslategray | #c9bac2silver |
| Destructive | #a0140dfirebrick | #ee342bcrimson |
| Destructive foreground | #fde4e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #201d1fblack | #201d1fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 5.05:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Copy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 345.35);
--foreground: oklch(0.136 0.025 346.941);
--muted: oklch(0.904 0.008 345.368);
--muted-foreground: oklch(0.473 0.003 345.296);
--popover: oklch(0.981 0.008 345.35);
--popover-foreground: oklch(0.136 0.025 346.941);
--card: oklch(0.981 0.008 345.35);
--card-foreground: oklch(0.136 0.025 346.941);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.235 0.005 345.743);
--primary-foreground: oklch(0.777 0.009 345.46);
--secondary: oklch(0.911 0.01 345.429);
--secondary-foreground: oklch(0.396 0.033 347.197);
--accent: oklch(0.841 0.028 345.988);
--accent-foreground: oklch(0.317 0.04 348.187);
--destructive: oklch(0.453 0.174 29.271);
--destructive-foreground: oklch(0.939 0.027 21.274);
--ring: oklch(0.235 0.005 345.743);
--chart-1: oklch(0.235 0.005 345.743);
--chart-2: oklch(0.911 0.01 345.429);
--chart-3: oklch(0.841 0.028 345.988);
--chart-4: oklch(0.935 0.007 345.345);
--chart-5: oklch(0.234 0.009 346.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.017 345.088);
--foreground: oklch(0.992 0.001 345.181);
--muted: oklch(0.233 0.011 346.341);
--muted-foreground: oklch(0.715 0.002 345.234);
--popover: oklch(0.124 0.017 345.088);
--popover-foreground: oklch(0.992 0.001 345.181);
--card: oklch(0.124 0.017 345.088);
--card-foreground: oklch(0.992 0.001 345.181);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.235 0.005 345.743);
--primary-foreground: oklch(0.777 0.009 345.46);
--secondary: oklch(0.192 0.002 345.351);
--secondary-foreground: oklch(0.747 0.004 345.296);
--accent: oklch(0.273 0.017 346.702);
--accent-foreground: oklch(0.805 0.019 345.761);
--destructive: oklch(0.619 0.222 28.623);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.235 0.005 345.743);
--chart-1: oklch(0.235 0.005 345.743);
--chart-2: oklch(0.192 0.002 345.351);
--chart-3: oklch(0.273 0.017 346.702);
--chart-4: oklch(0.226 0.002 345.377);
--chart-5: oklch(0.234 0.009 346.102);
}