Frosty is a shadcn/ui theme built around a vivid green primary color (#a9f019) with vivid pink accents (#f019a9). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid green primary (#a9f019) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #060703black |
| Foreground | #030401black | #f8f9f6whitesmoke |
| Card | #fbfdf7snow | #080a05black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #fdfefbwhite | #060703black |
| Popover foreground | #030401black | #f8f9f6whitesmoke |
| Primary | #a9f019greenyellow | #a9f019greenyellow |
| Primary foreground | #283a04darkgreen | #283a04darkgreen |
| Secondary | #19a9f0dodgerblue | #19a9f0dodgerblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e0e7eblavender | #141b1fblack |
| Muted foreground | #464f53darkslategray | #acb5b9darkgray |
| Accent | #f019a9deeppink | #f019a9deeppink |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad2000firebrick | #ff5029tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9f019greenyellow | #a9f019greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 8.95:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 3.87:1 | AA Large |
| Destructive | 7.02:1 | AAA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 8.95:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.32:1 | AAA |
| Accent | 3.87:1 | AA Large |
| Destructive | 6.43:1 | AA |
Paste this into your globals.css to use Frosty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 121.551);
--foreground: oklch(0.103 0.018 121.105);
--muted: oklch(0.924 0.009 228.88);
--muted-foreground: oklch(0.42 0.013 229.173);
--popover: oklch(0.995 0.004 121.551);
--popover-foreground: oklch(0.103 0.018 121.105);
--card: oklch(0.99 0.007 121.61);
--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.876 0.226 128.477);
--primary-foreground: oklch(0.319 0.079 127.143);
--secondary: oklch(0.698 0.151 238.741);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.639 0.26 347.447);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.484 0.18 32.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.876 0.226 128.477);
--chart-1: oklch(0.876 0.226 128.477);
--chart-2: oklch(0.698 0.151 238.741);
--chart-3: oklch(0.639 0.26 347.447);
--chart-4: oklch(0.712 0.146 237.153);
--chart-5: oklch(0.885 0.23 128.694);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.011 121.287);
--foreground: oklch(0.98 0.004 121.561);
--muted: oklch(0.218 0.013 229.683);
--muted-foreground: oklch(0.766 0.011 228.94);
--popover: oklch(0.123 0.011 121.287);
--popover-foreground: oklch(0.98 0.004 121.561);
--card: oklch(0.141 0.012 121.287);
--card-foreground: oklch(0.987 0.003 121.538);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.876 0.226 128.477);
--primary-foreground: oklch(0.319 0.079 127.143);
--secondary: oklch(0.698 0.151 238.741);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.639 0.26 347.447);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.672 0.217 33.866);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.876 0.226 128.477);
--chart-1: oklch(0.876 0.226 128.477);
--chart-2: oklch(0.698 0.151 238.741);
--chart-3: oklch(0.639 0.26 347.447);
--chart-4: oklch(0.712 0.146 237.153);
--chart-5: oklch(0.885 0.23 128.694);
}