Deed is a shadcn/ui theme built around a violet primary color (#a687cf) with green accents (#87cfa6). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the violet primary (#a687cf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #050109black | #fcfcfdwhite |
| Card | #faf8fcghostwhite | #030303black |
| Card foreground | #020104black | #ffffffwhite |
| Popover | #fcfcfdwhite | #000000black |
| Popover foreground | #050109black | #fcfcfdwhite |
| Primary | #a687cfmediumpurple | #a687cfmediumpurple |
| Primary foreground | #110a1ablack | #110a1ablack |
| Secondary | #cfa687tan | #cfa687tan |
| Secondary foreground | #1a110ablack | #1a110ablack |
| Muted | #ebe2dbgainsboro | #241b14black |
| Muted foreground | #66584ddimgray | #b2a499darkgray |
| Accent | #87cfa6darkseagreen | #87cfa6darkseagreen |
| Accent foreground | #0a1a11black | #0a1a11black |
| Destructive | #801500maroon | #ff2a00orangered |
| Destructive foreground | #ffbfb3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a687cfmediumpurple | #a687cfmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.44:1 | AA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 5.35:1 | AA |
| Accent | 9.84:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.44:1 | AA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 9.84:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Deed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 305.704);
--foreground: oklch(0.095 0.031 307.658);
--muted: oklch(0.918 0.013 60.083);
--muted-foreground: oklch(0.47 0.025 59.521);
--popover: oklch(0.991 0.003 305.704);
--popover-foreground: oklch(0.095 0.031 307.658);
--card: oklch(0.981 0.005 305.668);
--card-foreground: oklch(0.075 0.025 307.658);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.679 0.109 303.531);
--primary-foreground: oklch(0.163 0.033 302.92);
--secondary: oklch(0.755 0.065 58.982);
--secondary-foreground: oklch(0.186 0.019 58.603);
--accent: oklch(0.796 0.094 158.531);
--accent-foreground: oklch(0.199 0.028 157.779);
--destructive: oklch(0.387 0.143 32.879);
--destructive-foreground: oklch(0.86 0.076 31.483);
--ring: oklch(0.679 0.109 303.531);
--chart-1: oklch(0.679 0.109 303.531);
--chart-2: oklch(0.755 0.065 58.982);
--chart-3: oklch(0.796 0.094 158.531);
--chart-4: oklch(0.777 0.059 59.171);
--chart-5: oklch(0.675 0.117 303.352);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.003 305.704);
--muted: oklch(0.231 0.019 59.052);
--muted-foreground: oklch(0.728 0.023 59.854);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.003 305.704);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.679 0.109 303.531);
--primary-foreground: oklch(0.163 0.033 302.92);
--secondary: oklch(0.755 0.065 58.982);
--secondary-foreground: oklch(0.186 0.019 58.603);
--accent: oklch(0.796 0.094 158.531);
--accent-foreground: oklch(0.199 0.028 157.779);
--destructive: oklch(0.641 0.245 31.636);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.679 0.109 303.531);
--chart-1: oklch(0.679 0.109 303.531);
--chart-2: oklch(0.755 0.065 58.982);
--chart-3: oklch(0.796 0.094 158.531);
--chart-4: oklch(0.777 0.059 59.171);
--chart-5: oklch(0.675 0.117 303.352);
}