Likely is a shadcn/ui theme built around a light green primary color (#e7eacd) with near-white accents (#e8e8e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e7eacd) on a neutral background (#070802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070802black |
| Foreground | #0b0c03black | #fdfdfcwhite |
| Card | #ffffffwhite | #070802black |
| Card foreground | #0b0c03black | #fdfdfcwhite |
| Popover | #ffffffwhite | #070802black |
| Popover foreground | #0b0c03black | #fdfdfcwhite |
| Primary | #e7eacdantiquewhite | #e7eacdantiquewhite |
| Primary foreground | #141509black | #141509black |
| Secondary | #e8e8e8lavender | #36372fdarkslategray |
| Secondary foreground | #50504edarkslategray | #cfd0c8lightgrey |
| Muted | #dfe0dcgainsboro | #22231fblack |
| Muted foreground | #62644fdimgray | #aeb09bdarkgray |
| Accent | #e8e8e8lavender | #36372fdarkslategray |
| Accent foreground | #50504edarkslategray | #cfd0c8lightgrey |
| Destructive | #971a07darkred | #e5280borangered |
| Destructive foreground | #fdd9d3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7eacdantiquewhite | #e7eacdantiquewhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 14.89:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 4.56:1 | AA |
| Accent | 6.60:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 14.89:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.53:1 | AA |
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.149 0.02 112.616);
--muted: oklch(0.904 0.004 111.107);
--muted-foreground: oklch(0.495 0.033 112.239);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.02 112.616);
--card: oklch(1 0 180);
--card-foreground: oklch(0.149 0.02 112.616);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.926 0.038 111.773);
--primary-foreground: oklch(0.192 0.023 113.215);
--secondary: oklch(0.932 0.001 111.026);
--secondary-foreground: oklch(0.43 0.003 111.126);
--accent: oklch(0.932 0.001 111.026);
--accent-foreground: oklch(0.43 0.003 111.126);
--destructive: oklch(0.438 0.162 31.46);
--destructive-foreground: oklch(0.913 0.041 28.23);
--ring: oklch(0.926 0.038 111.773);
--chart-1: oklch(0.926 0.038 111.773);
--chart-2: oklch(0.932 0.001 111.026);
--chart-3: oklch(0.932 0.001 111.026);
--chart-4: oklch(0.955 0 111.022);
--chart-5: oklch(0.929 0.041 111.825);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.018 112.362);
--foreground: oklch(0.994 0.002 111.043);
--muted: oklch(0.254 0.006 111.463);
--muted-foreground: oklch(0.751 0.03 111.754);
--popover: oklch(0.13 0.018 112.362);
--popover-foreground: oklch(0.994 0.002 111.043);
--card: oklch(0.13 0.018 112.362);
--card-foreground: oklch(0.994 0.002 111.043);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.926 0.038 111.773);
--primary-foreground: oklch(0.192 0.023 113.215);
--secondary: oklch(0.334 0.014 111.79);
--secondary-foreground: oklch(0.855 0.011 111.258);
--accent: oklch(0.334 0.014 111.79);
--accent-foreground: oklch(0.855 0.011 111.258);
--destructive: oklch(0.593 0.224 31.223);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.926 0.038 111.773);
--chart-1: oklch(0.926 0.038 111.773);
--chart-2: oklch(0.334 0.014 111.79);
--chart-3: oklch(0.334 0.014 111.79);
--chart-4: oklch(0.365 0.016 111.811);
--chart-5: oklch(0.929 0.041 111.825);
}