Frigid is a shadcn/ui theme built around a violet primary color (#7134da) with green accents (#34da71). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#7134da) on a violet-tinted background (#09060f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #09060fblack |
| Foreground | #000000black | #f7f6f9whitesmoke |
| Card | #fcfcfcsnow | #0b0712black |
| Card foreground | #000000black | #faf9fbghostwhite |
| Popover | #ffffffwhite | #09060fblack |
| Popover foreground | #000000black | #f7f6f9whitesmoke |
| Primary | #7134dablueviolet | #7134dablueviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #da7134chocolate | #da7134chocolate |
| Secondary foreground | #000000black | #000000black |
| Muted | #f7f1edlinen | #120b08black |
| Muted foreground | #4a403adarkslategray | #c5bbb5silver |
| Accent | #34da71mediumseagreen | #34da71mediumseagreen |
| Accent foreground | #0a381bdarkgreen | #0a381bdarkgreen |
| Destructive | #aa3109firebrick | #e4420corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7134dablueviolet | #7134dablueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 8.99:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.69:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 10.33:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Frigid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.962 0.009 52.459);
--muted-foreground: oklch(0.381 0.017 52.004);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.508 0.231 292.87);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.15 47.846);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.783 0.197 150.467);
--accent-foreground: oklch(0.302 0.071 151.388);
--destructive: oklch(0.493 0.163 36.105);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.508 0.231 292.87);
--chart-1: oklch(0.508 0.231 292.87);
--chart-2: oklch(0.66 0.15 47.846);
--chart-3: oklch(0.783 0.197 150.467);
--chart-4: oklch(0.679 0.141 48.728);
--chart-5: oklch(0.506 0.239 292.207);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.021 302.353);
--foreground: oklch(0.974 0.005 302.856);
--muted: oklch(0.159 0.014 52.713);
--muted-foreground: oklch(0.797 0.014 52.345);
--popover: oklch(0.132 0.021 302.353);
--popover-foreground: oklch(0.974 0.005 302.856);
--card: oklch(0.142 0.025 300.859);
--card-foreground: oklch(0.983 0.003 302.881);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.508 0.231 292.87);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.15 47.846);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.783 0.197 150.467);
--accent-foreground: oklch(0.302 0.071 151.388);
--destructive: oklch(0.611 0.206 35.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.508 0.231 292.87);
--chart-1: oklch(0.508 0.231 292.87);
--chart-2: oklch(0.66 0.15 47.846);
--chart-3: oklch(0.783 0.197 150.467);
--chart-4: oklch(0.679 0.141 48.728);
--chart-5: oklch(0.506 0.239 292.207);
}