Frizzy is a shadcn/ui theme built around a muted light violet primary color (#ded8e4) with muted light green accents (#dee4d8). The light mode uses a neutral background (#faf6fd). Dark mode keeps the muted light violet primary (#ded8e4) on a violet-tinted background (#0a060f).
| Token | Light | Dark |
|---|---|---|
| Background | #faf6fdghostwhite | #0a060fblack |
| Foreground | #030104black | #ffffffwhite |
| Card | #faf6fdghostwhite | #0a060fblack |
| Card foreground | #030104black | #ffffffwhite |
| Popover | #faf6fdghostwhite | #0a060fblack |
| Popover foreground | #030104black | #ffffffwhite |
| Primary | #ded8e4gainsboro | #ded8e4gainsboro |
| Primary foreground | #453851darkslategray | #453851darkslategray |
| Secondary | #dee4d8gainsboro | #dee4d8gainsboro |
| Secondary foreground | #455138darkolivegreen | #455138darkolivegreen |
| Muted | #ebf0e5beige | #141a0fblack |
| Muted foreground | #5e6d50dimgray | #a1af92darkseagreen |
| Accent | #dee4d8gainsboro | #dee4d8gainsboro |
| Accent foreground | #455138darkolivegreen | #455138darkolivegreen |
| Destructive | #9f2009firebrick | #f24121orangered |
| Destructive foreground | #fde2ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ded8e4gainsboro | #ded8e4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 4.79:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 6.37:1 | AA |
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 7.65:1 | AAA |
| Accent | 6.50:1 | AA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Frizzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.01 308.347);
--foreground: oklch(0.079 0.021 310.405);
--muted: oklch(0.948 0.016 128.647);
--muted-foreground: oklch(0.513 0.046 129.528);
--popover: oklch(0.979 0.01 308.347);
--popover-foreground: oklch(0.079 0.021 310.405);
--card: oklch(0.979 0.01 308.347);
--card-foreground: oklch(0.079 0.021 310.405);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.017 308.244);
--primary-foreground: oklch(0.366 0.045 307.094);
--secondary: oklch(0.91 0.017 128.673);
--secondary-foreground: oklch(0.418 0.043 129.679);
--accent: oklch(0.91 0.017 128.673);
--accent-foreground: oklch(0.418 0.043 129.679);
--destructive: oklch(0.458 0.166 32.003);
--destructive-foreground: oklch(0.934 0.031 29.615);
--ring: oklch(0.89 0.017 308.244);
--chart-1: oklch(0.89 0.017 308.244);
--chart-2: oklch(0.91 0.017 128.673);
--chart-3: oklch(0.91 0.017 128.673);
--chart-4: oklch(0.931 0.013 128.619);
--chart-5: oklch(0.888 0.02 308.208);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.022 308.22);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.023 129.763);
--muted-foreground: oklch(0.734 0.043 129.129);
--popover: oklch(0.133 0.022 308.22);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.133 0.022 308.22);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.017 308.244);
--primary-foreground: oklch(0.366 0.045 307.094);
--secondary: oklch(0.91 0.017 128.673);
--secondary-foreground: oklch(0.418 0.043 129.679);
--accent: oklch(0.91 0.017 128.673);
--accent-foreground: oklch(0.418 0.043 129.679);
--destructive: oklch(0.636 0.218 32.293);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.017 308.244);
--chart-1: oklch(0.89 0.017 308.244);
--chart-2: oklch(0.91 0.017 128.673);
--chart-3: oklch(0.91 0.017 128.673);
--chart-4: oklch(0.931 0.013 128.619);
--chart-5: oklch(0.888 0.02 308.208);
}