Typical Fresh Lime is a shadcn/ui theme built around a light green primary color (#d4f2ca) with light purple accents (#e8caf2). The light mode uses a neutral background (#f9fcf7). Dark mode keeps the light green primary (#d4f2ca) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf7mintcream | #000000black |
| Foreground | #081703black | #f6faf5whitesmoke |
| Card | #f5fbf4whitesmoke | #030303black |
| Card foreground | #061202black | #f9fbf8mintcream |
| Popover | #f9fcf7mintcream | #000000black |
| Popover foreground | #081703black | #f6faf5whitesmoke |
| Primary | #d4f2cagainsboro | #d4f2cagainsboro |
| Primary foreground | #0c1d07black | #0c1d07black |
| Secondary | #e8caf2lavender | #e8caf2lavender |
| Secondary foreground | #5a1c6eindigo | #5a1c6eindigo |
| Muted | #ddd7e0gainsboro | #261f28darkslategray |
| Muted foreground | #493c4edarkslategray | #bfb1c3silver |
| Accent | #e8caf2lavender | #e8caf2lavender |
| Accent foreground | #5a1c6eindigo | #5a1c6eindigo |
| Destructive | #b31509firebrick | #f44034tomato |
| Destructive foreground | #fef1f0seashell | #ffffffwhite |
| Border | #ecefebwhitesmoke | #1f241eblack |
| Input | #ecefebwhitesmoke | #1f241eblack |
| Ring | #d4f2cagainsboro | #d4f2cagainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.93:1 | AAA |
| Text on card | 18.28:1 | AAA |
| Primary button | 14.49:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 14.49:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Typical Fresh Lime in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 137.776);
--foreground: oklch(0.183 0.045 136.97);
--muted: oklch(0.887 0.013 317.738);
--muted-foreground: oklch(0.377 0.035 317.609);
--popover: oklch(0.988 0.008 137.776);
--popover-foreground: oklch(0.183 0.045 136.97);
--card: oklch(0.982 0.012 137.783);
--card-foreground: oklch(0.165 0.039 136.309);
--border: oklch(0.949 0.006 137.773);
--input: oklch(0.949 0.006 137.773);
--primary: oklch(0.928 0.061 137.885);
--primary-foreground: oklch(0.208 0.045 138.251);
--secondary: oklch(0.876 0.063 317.645);
--secondary-foreground: oklch(0.363 0.142 316.259);
--accent: oklch(0.876 0.063 317.645);
--accent-foreground: oklch(0.363 0.142 316.259);
--destructive: oklch(0.489 0.191 29.746);
--destructive-foreground: oklch(0.969 0.014 22.379);
--ring: oklch(0.928 0.061 137.885);
--chart-1: oklch(0.928 0.061 137.885);
--chart-2: oklch(0.876 0.063 317.645);
--chart-3: oklch(0.876 0.063 317.645);
--chart-4: oklch(0.905 0.048 317.677);
--chart-5: oklch(0.93 0.065 137.891);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.007 137.775);
--muted: oklch(0.252 0.018 317.643);
--muted-foreground: oklch(0.778 0.029 317.702);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.007 137.775);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.005 137.771);
--border: oklch(0.255 0.014 137.863);
--input: oklch(0.255 0.014 137.863);
--primary: oklch(0.928 0.061 137.885);
--primary-foreground: oklch(0.208 0.045 138.251);
--secondary: oklch(0.876 0.063 317.645);
--secondary-foreground: oklch(0.363 0.142 316.259);
--accent: oklch(0.876 0.063 317.645);
--accent-foreground: oklch(0.363 0.142 316.259);
--destructive: oklch(0.641 0.218 28.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.061 137.885);
--chart-1: oklch(0.928 0.061 137.885);
--chart-2: oklch(0.876 0.063 317.645);
--chart-3: oklch(0.876 0.063 317.645);
--chart-4: oklch(0.905 0.048 317.677);
--chart-5: oklch(0.93 0.065 137.891);
}