Frosty is a shadcn/ui theme built around a vivid pink primary color (#f65ab5) with muted light pink accents (#e5d1dd). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the vivid pink primary (#f65ab5) on a pink-tinted background (#0b0408).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #0b0408black |
| Foreground | #0e0209black | #f9f6f8whitesmoke |
| Card | #fdf7fasnow | #0b0408black |
| Card foreground | #0e0209black | #f9f6f8whitesmoke |
| Popover | #fdf7fasnow | #0b0408black |
| Popover foreground | #0e0209black | #f9f6f8whitesmoke |
| Primary | #f65ab5hotpink | #f65ab5hotpink |
| Primary foreground | #1d0212black | #1d0212black |
| Secondary | #efe7eblinen | #1c171ablack |
| Secondary foreground | #624154dimgray | #bbaab4darkgray |
| Muted | #e6dbe1gainsboro | #24191fblack |
| Muted foreground | #423d40darkslategray | #c2bdc0silver |
| Accent | #e5d1ddgainsboro | #2e1f28darkslategray |
| Accent foreground | #553045darkslategray | #ccb3c1silver |
| Destructive | #b63802firebrick | #e84702orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f65ab5hotpink | #f65ab5hotpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 7.90:1 | AAA |
| Accent | 7.67:1 | AAA |
| Destructive | 5.92:1 | AA |
| Text on background | 18.89:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 9.16:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Frosty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.009 341.222);
--foreground: oklch(0.118 0.037 341.925);
--muted: oklch(0.902 0.014 341.37);
--muted-foreground: oklch(0.367 0.009 341.549);
--popover: oklch(0.981 0.009 341.222);
--popover-foreground: oklch(0.118 0.037 341.925);
--card: oklch(0.981 0.009 341.222);
--card-foreground: oklch(0.118 0.037 341.925);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.7 0.211 347.891);
--primary-foreground: oklch(0.158 0.059 346.972);
--secondary: oklch(0.934 0.011 341.282);
--secondary-foreground: oklch(0.42 0.053 343.775);
--accent: oklch(0.881 0.027 341.713);
--accent-foreground: oklch(0.362 0.063 344.739);
--destructive: oklch(0.522 0.17 37.868);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.211 347.891);
--chart-1: oklch(0.7 0.211 347.891);
--chart-2: oklch(0.934 0.011 341.282);
--chart-3: oklch(0.881 0.027 341.713);
--chart-4: oklch(0.959 0.007 341.176);
--chart-5: oklch(0.701 0.216 348.123);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.02 341.247);
--foreground: oklch(0.976 0.004 341.104);
--muted: oklch(0.231 0.02 342.907);
--muted-foreground: oklch(0.802 0.007 341.216);
--popover: oklch(0.124 0.02 341.247);
--popover-foreground: oklch(0.976 0.004 341.104);
--card: oklch(0.124 0.02 341.247);
--card-foreground: oklch(0.976 0.004 341.104);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.7 0.211 347.891);
--primary-foreground: oklch(0.158 0.059 346.972);
--secondary: oklch(0.211 0.011 342.17);
--secondary-foreground: oklch(0.756 0.024 341.727);
--accent: oklch(0.26 0.028 343.386);
--accent-foreground: oklch(0.791 0.035 342.026);
--destructive: oklch(0.624 0.207 37.306);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.211 347.891);
--chart-1: oklch(0.7 0.211 347.891);
--chart-2: oklch(0.211 0.011 342.17);
--chart-3: oklch(0.26 0.028 343.386);
--chart-4: oklch(0.243 0.014 342.273);
--chart-5: oklch(0.701 0.216 348.123);
}