Copy is a shadcn/ui theme built around a deep red primary color (#380f17) with muted red accents (#c9b5b9). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#380f17) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #030202black |
| Foreground | #0d0204black | #faf9fasnow |
| Card | #fefbfbsnow | #030202black |
| Card foreground | #0d0204black | #faf9fasnow |
| Popover | #fefbfbsnow | #030202black |
| Popover foreground | #0d0204black | #faf9fasnow |
| Primary | #380f17black | #380f17black |
| Primary foreground | #e396a4tan | #e396a4tan |
| Secondary | #d7d0d1lightgrey | #1c1718black |
| Secondary foreground | #3f3638darkslategray | #b9acaedarkgray |
| Muted | #ead6dagainsboro | #291518black |
| Muted foreground | #604d51dimgray | #b29fa2darkgray |
| Accent | #c9b5b9silver | #312528darkslategray |
| Accent foreground | #2c2022black | #cdbcbfsilver |
| Destructive | #99190bdarkred | #db240ffirebrick |
| Destructive foreground | #fcdcd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #380f17black | #380f17black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.92:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Copy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 4.401);
--foreground: oklch(0.116 0.029 5.36);
--muted: oklch(0.895 0.023 4.982);
--muted-foreground: oklch(0.442 0.026 5.852);
--popover: oklch(0.99 0.003 4.401);
--popover-foreground: oklch(0.116 0.029 5.36);
--card: oklch(0.99 0.003 4.401);
--card-foreground: oklch(0.116 0.029 5.36);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.241 0.066 12.527);
--primary-foreground: oklch(0.754 0.094 7.568);
--secondary: oklch(0.864 0.008 4.552);
--secondary-foreground: oklch(0.343 0.014 5.346);
--accent: oklch(0.792 0.024 5.101);
--accent-foreground: oklch(0.26 0.019 6.239);
--destructive: oklch(0.44 0.164 30.519);
--destructive-foreground: oklch(0.921 0.036 25.354);
--ring: oklch(0.241 0.066 12.527);
--chart-1: oklch(0.241 0.066 12.527);
--chart-2: oklch(0.864 0.008 4.552);
--chart-3: oklch(0.792 0.024 5.101);
--chart-4: oklch(0.888 0.006 4.503);
--chart-5: oklch(0.241 0.069 13.061);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.007 4.499);
--foreground: oklch(0.984 0.001 4.345);
--muted: oklch(0.223 0.034 8.283);
--muted-foreground: oklch(0.719 0.023 5.144);
--popover: oklch(0.087 0.007 4.499);
--popover-foreground: oklch(0.984 0.001 4.345);
--card: oklch(0.087 0.007 4.499);
--card-foreground: oklch(0.984 0.001 4.345);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.241 0.066 12.527);
--primary-foreground: oklch(0.754 0.094 7.568);
--secondary: oklch(0.211 0.007 5.238);
--secondary-foreground: oklch(0.756 0.016 4.876);
--accent: oklch(0.281 0.019 6.043);
--accent-foreground: oklch(0.81 0.019 4.929);
--destructive: oklch(0.573 0.218 30.486);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.066 12.527);
--chart-1: oklch(0.241 0.066 12.527);
--chart-2: oklch(0.211 0.007 5.238);
--chart-3: oklch(0.281 0.019 6.043);
--chart-4: oklch(0.243 0.009 5.324);
--chart-5: oklch(0.241 0.069 13.061);
}