Likely is a shadcn/ui theme built around a deep purple primary color (#180716) with deep green accents (#071809). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#180716) on a purple-tinted background (#0b050a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b050ablack |
| Foreground | #000000black | #fbf9fbsnow |
| Card | #ffffffwhite | #0b050ablack |
| Card foreground | #000000black | #fbf9fbsnow |
| Popover | #ffffffwhite | #0b050ablack |
| Popover foreground | #000000black | #fbf9fbsnow |
| Primary | #180716black | #180716black |
| Primary foreground | #d879cdorchid | #d879cdorchid |
| Secondary | #071809black | #071809black |
| Secondary foreground | #35b644limegreen | #35b644limegreen |
| Muted | #e0f0e2gainsboro | #0f1f11black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #071809black | #071809black |
| Accent foreground | #35b644limegreen | #35b644limegreen |
| Destructive | #a93004firebrick | #f95215orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #180716black | #180716black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.64:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 6.80:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 3.36:1 | AA Large |
Paste this into your globals.css to use Likely in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.94 0.025 148.811);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.164 0.041 331.673);
--primary-foreground: oklch(0.708 0.158 331.508);
--secondary: oklch(0.188 0.038 146.705);
--secondary-foreground: oklch(0.683 0.19 144.814);
--accent: oklch(0.188 0.038 146.705);
--accent-foreground: oklch(0.683 0.19 144.814);
--destructive: oklch(0.491 0.164 36.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.164 0.041 331.673);
--chart-1: oklch(0.164 0.041 331.673);
--chart-2: oklch(0.188 0.038 146.705);
--chart-3: oklch(0.188 0.038 146.705);
--chart-4: oklch(0.232 0.052 145.926);
--chart-5: oklch(0.163 0.043 331.786);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.019 330.041);
--foreground: oklch(0.984 0.003 329.171);
--muted: oklch(0.22 0.035 147.017);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.126 0.019 330.041);
--popover-foreground: oklch(0.984 0.003 329.171);
--card: oklch(0.126 0.019 330.041);
--card-foreground: oklch(0.984 0.003 329.171);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.164 0.041 331.673);
--primary-foreground: oklch(0.708 0.158 331.508);
--secondary: oklch(0.188 0.038 146.705);
--secondary-foreground: oklch(0.683 0.19 144.814);
--accent: oklch(0.188 0.038 146.705);
--accent-foreground: oklch(0.683 0.19 144.814);
--destructive: oklch(0.664 0.213 37.199);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.164 0.041 331.673);
--chart-1: oklch(0.164 0.041 331.673);
--chart-2: oklch(0.188 0.038 146.705);
--chart-3: oklch(0.188 0.038 146.705);
--chart-4: oklch(0.232 0.052 145.926);
--chart-5: oklch(0.163 0.043 331.786);
}