Frigid is a shadcn/ui theme built around a muted blue primary color (#515b94) with muted yellow accents (#948a51). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#515b94) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #060813black | #fcfcfdwhite |
| Card | #fbfcfewhite | #000000black |
| Card foreground | #060813black | #fcfcfdwhite |
| Popover | #fbfcfewhite | #000000black |
| Popover foreground | #060813black | #fcfcfdwhite |
| Primary | #515b94darkslateblue | #515b94darkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #948a51gray | #948a51gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eae7d6antiquewhite | #292615black |
| Muted foreground | #585756dimgray | #a9a9a7darkgray |
| Accent | #948a51gray | #948a51gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #9e2510firebrick | #e94225orangered |
| Destructive foreground | #fce7e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #515b94darkslateblue | #515b94darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 6.01:1 | AA |
| Muted text | 5.82:1 | AA |
| Accent | 6.01:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 6.01:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 6.01:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Frigid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 278.275);
--foreground: oklch(0.14 0.024 273.826);
--muted: oklch(0.927 0.023 98.655);
--muted-foreground: oklch(0.458 0.002 98.391);
--popover: oklch(0.99 0.003 278.275);
--popover-foreground: oklch(0.14 0.024 273.826);
--card: oklch(0.99 0.003 278.275);
--card-foreground: oklch(0.14 0.024 273.826);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.49 0.091 274.93);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.629 0.077 99.496);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.629 0.077 99.496);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.46 0.16 32.241);
--destructive-foreground: oklch(0.944 0.024 29.574);
--ring: oklch(0.49 0.091 274.93);
--chart-1: oklch(0.49 0.091 274.93);
--chart-2: oklch(0.629 0.077 99.496);
--chart-3: oklch(0.629 0.077 99.496);
--chart-4: oklch(0.659 0.082 99.497);
--chart-5: oklch(0.484 0.101 274.454);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 278.309);
--muted: oklch(0.265 0.03 99.458);
--muted-foreground: oklch(0.734 0.002 98.358);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 278.309);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 278.309);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.49 0.091 274.93);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.629 0.077 99.496);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.629 0.077 99.496);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.623 0.208 32.353);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.49 0.091 274.93);
--chart-1: oklch(0.49 0.091 274.93);
--chart-2: oklch(0.629 0.077 99.496);
--chart-3: oklch(0.629 0.077 99.496);
--chart-4: oklch(0.659 0.082 99.497);
--chart-5: oklch(0.484 0.101 274.454);
}