Frizzy is a shadcn/ui theme built around a light purple primary color (#f2c0eb) with light cyan accents (#c0ebf2). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the light purple primary (#f2c0eb) on a purple-tinted background (#0e060d).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #0e060dblack |
| Foreground | #080207black | #ffffffwhite |
| Card | #fcf8fbsnow | #120811black |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fcf8fbsnow | #120811black |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #f2c0ebthistle | #f2c0ebthistle |
| Primary foreground | #69165epurple | #69165epurple |
| Secondary | #ebf2c0palegoldenrod | #ebf2c0palegoldenrod |
| Secondary foreground | #131504black | #131504black |
| Muted | #e2e3d8gainsboro | #25271cblack |
| Muted foreground | #505242darkolivegreen | #bbbdadsilver |
| Accent | #c0ebf2paleturquoise | #c0ebf2paleturquoise |
| Accent foreground | #041315black | #041315black |
| Destructive | #5d0909maroon | #e81717crimson |
| Destructive foreground | #f6a2a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2c0ebthistle | #f2c0ebthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 15.78:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 14.78:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 15.78:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 14.78:1 | AAA |
| Destructive | 4.59:1 | AA |
Paste this into your globals.css to use Frizzy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 329.724);
--foreground: oklch(0.108 0.025 330.876);
--muted: oklch(0.913 0.015 112.854);
--muted-foreground: oklch(0.432 0.026 113.662);
--popover: oklch(0.983 0.006 329.765);
--popover-foreground: oklch(0.085 0.02 330.876);
--card: oklch(0.983 0.006 329.765);
--card-foreground: oklch(0.085 0.02 330.876);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.864 0.08 330.765);
--primary-foreground: oklch(0.372 0.142 334.145);
--secondary: oklch(0.943 0.065 113.827);
--secondary-foreground: oklch(0.188 0.032 115.378);
--accent: oklch(0.912 0.045 207.843);
--accent-foreground: oklch(0.174 0.022 207.613);
--destructive: oklch(0.308 0.115 27.418);
--destructive-foreground: oklch(0.795 0.1 19.514);
--ring: oklch(0.864 0.08 330.765);
--chart-1: oklch(0.864 0.08 330.765);
--chart-2: oklch(0.943 0.065 113.827);
--chart-3: oklch(0.912 0.045 207.843);
--chart-4: oklch(0.954 0.052 113.562);
--chart-5: oklch(0.864 0.083 330.814);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.023 331.18);
--foreground: oklch(1 0 180);
--muted: oklch(0.267 0.02 113.95);
--muted-foreground: oklch(0.793 0.023 113.075);
--popover: oklch(0.152 0.026 331.532);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.026 331.532);
--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.864 0.08 330.765);
--primary-foreground: oklch(0.372 0.142 334.145);
--secondary: oklch(0.943 0.065 113.827);
--secondary-foreground: oklch(0.188 0.032 115.378);
--accent: oklch(0.912 0.045 207.843);
--accent-foreground: oklch(0.174 0.022 207.613);
--destructive: oklch(0.591 0.233 28.416);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.08 330.765);
--chart-1: oklch(0.864 0.08 330.765);
--chart-2: oklch(0.943 0.065 113.827);
--chart-3: oklch(0.912 0.045 207.843);
--chart-4: oklch(0.954 0.052 113.562);
--chart-5: oklch(0.864 0.083 330.814);
}