Cuff-link is a shadcn/ui theme built around a muted light green primary color (#d5d9ce) with muted light violet accents (#d2ced9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#d5d9ce) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030401black |
| Foreground | #060902black | #f8faf5whitesmoke |
| Card | #ffffffwhite | #030401black |
| Card foreground | #060902black | #f8faf5whitesmoke |
| Popover | #ffffffwhite | #030401black |
| Popover foreground | #060902black | #f8faf5whitesmoke |
| Primary | #d5d9celightgrey | #d5d9celightgrey |
| Primary foreground | #3d4234darkslategray | #3d4234darkslategray |
| Secondary | #d2ced9lightgrey | #d2ced9lightgrey |
| Secondary foreground | #383442darkslategray | #383442darkslategray |
| Muted | #e7e6ealavender | #161519black |
| Muted foreground | #413f46darkslategray | #bcb9c0silver |
| Accent | #d2ced9lightgrey | #d2ced9lightgrey |
| Accent foreground | #383442darkslategray | #383442darkslategray |
| Destructive | #a30800darkred | #fa0c00red |
| Destructive foreground | #ffd8d6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5d9celightgrey | #d5d9celightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 7.83:1 | AAA |
| Destructive | 6.17:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 9.36:1 | AAA |
| Accent | 7.83:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Cuff-link in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.023 121.091);
--muted: oklch(0.928 0.005 301.405);
--muted-foreground: oklch(0.372 0.012 300.994);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.023 121.091);
--card: oklch(1 0 180);
--card-foreground: oklch(0.131 0.023 121.091);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.879 0.015 121.76);
--primary-foreground: oklch(0.369 0.024 122.567);
--secondary: oklch(0.859 0.015 301.218);
--secondary-foreground: oklch(0.334 0.025 300.271);
--accent: oklch(0.859 0.015 301.218);
--accent-foreground: oklch(0.334 0.025 300.271);
--destructive: oklch(0.452 0.182 29.912);
--destructive-foreground: oklch(0.915 0.044 21.541);
--ring: oklch(0.879 0.015 121.76);
--chart-1: oklch(0.879 0.015 121.76);
--chart-2: oklch(0.859 0.015 301.218);
--chart-3: oklch(0.859 0.015 301.218);
--chart-4: oklch(0.884 0.012 301.274);
--chart-5: oklch(0.882 0.018 121.825);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.015 121.158);
--foreground: oklch(0.982 0.007 121.609);
--muted: oklch(0.199 0.007 300.889);
--muted-foreground: oklch(0.791 0.01 301.298);
--popover: oklch(0.102 0.015 121.158);
--popover-foreground: oklch(0.982 0.007 121.609);
--card: oklch(0.102 0.015 121.158);
--card-foreground: oklch(0.982 0.007 121.609);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.879 0.015 121.76);
--primary-foreground: oklch(0.369 0.024 122.567);
--secondary: oklch(0.859 0.015 301.218);
--secondary-foreground: oklch(0.334 0.025 300.271);
--accent: oklch(0.859 0.015 301.218);
--accent-foreground: oklch(0.334 0.025 300.271);
--destructive: oklch(0.621 0.252 29.638);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.879 0.015 121.76);
--chart-1: oklch(0.879 0.015 121.76);
--chart-2: oklch(0.859 0.015 301.218);
--chart-3: oklch(0.859 0.015 301.218);
--chart-4: oklch(0.884 0.012 301.274);
--chart-5: oklch(0.882 0.018 121.825);
}