Effort is a shadcn/ui theme built around a vivid pink primary color (#fe7bd3) with vivid green accents (#7bfea7). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid pink primary (#fe7bd3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #000000black |
| Foreground | #0e020ablack | #faf5f8whitesmoke |
| Card | #fcf8fbsnow | #030303black |
| Card foreground | #090106black | #fcf8fbsnow |
| Popover | #fcf8fbsnow | #030303black |
| Popover foreground | #090106black | #fcf8fbsnow |
| Primary | #fe7bd3violet | #fe7bd3violet |
| Primary foreground | #47002fmaroon | #47002fmaroon |
| Secondary | #7bfea7palegreen | #7bfea7palegreen |
| Secondary foreground | #004718darkgreen | #004718darkgreen |
| Muted | #eef6f1whitesmoke | #09110bblack |
| Muted foreground | #575c58dimgray | #a3a8a5darkgray |
| Accent | #7bfea7palegreen | #7bfea7palegreen |
| Accent foreground | #004718darkgreen | #004718darkgreen |
| Destructive | #a81c10firebrick | #ed4a3btomato |
| Destructive foreground | #fdeeeclinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fe7bd3violet | #fe7bd3violet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.87:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 8.68:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.87:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Effort in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 337.332);
--foreground: oklch(0.119 0.037 338.623);
--muted: oklch(0.966 0.011 157.028);
--muted-foreground: oklch(0.469 0.009 156.878);
--popover: oklch(0.982 0.007 337.4);
--popover-foreground: oklch(0.103 0.032 337.84);
--card: oklch(0.982 0.007 337.4);
--card-foreground: oklch(0.103 0.032 337.84);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.761 0.187 341.878);
--primary-foreground: oklch(0.265 0.111 346.759);
--secondary: oklch(0.902 0.169 152.459);
--secondary-foreground: oklch(0.347 0.1 148.046);
--accent: oklch(0.902 0.169 152.459);
--accent-foreground: oklch(0.347 0.1 148.046);
--destructive: oklch(0.472 0.176 30.043);
--destructive-foreground: oklch(0.96 0.017 23.76);
--ring: oklch(0.761 0.187 341.878);
--chart-1: oklch(0.761 0.187 341.878);
--chart-2: oklch(0.902 0.169 152.459);
--chart-3: oklch(0.902 0.169 152.459);
--chart-4: oklch(0.91 0.151 153.147);
--chart-5: oklch(0.761 0.192 342.012);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.008 337.422);
--muted: oklch(0.166 0.017 155.138);
--muted-foreground: oklch(0.728 0.008 157.043);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.983 0.005 337.368);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.005 337.368);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.761 0.187 341.878);
--primary-foreground: oklch(0.265 0.111 346.759);
--secondary: oklch(0.902 0.169 152.459);
--secondary-foreground: oklch(0.347 0.1 148.046);
--accent: oklch(0.902 0.169 152.459);
--accent-foreground: oklch(0.347 0.1 148.046);
--destructive: oklch(0.638 0.202 29.101);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.187 341.878);
--chart-1: oklch(0.761 0.187 341.878);
--chart-2: oklch(0.902 0.169 152.459);
--chart-3: oklch(0.902 0.169 152.459);
--chart-4: oklch(0.91 0.151 153.147);
--chart-5: oklch(0.761 0.192 342.012);
}