frolov is a shadcn/ui theme built around a blue primary color (#295de0) with indigo accents (#5129e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#295de0) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020204black |
| Foreground | #030817black | #ffffffwhite |
| Card | #ffffffwhite | #020204black |
| Card foreground | #030817black | #ffffffwhite |
| Popover | #ffffffwhite | #020204black |
| Popover foreground | #030817black | #ffffffwhite |
| Primary | #295de0royalblue | #295de0royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #29b9e0mediumturquoise | #29b9e0mediumturquoise |
| Secondary foreground | #082c36darkslategray | #082c36darkslategray |
| Muted | #dbe0e1gainsboro | #1e2324black |
| Muted foreground | #606162dimgray | #9d9f9fdarkgray |
| Accent | #5129e0blueviolet | #5129e0blueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a52e03firebrick | #fa5114orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6e7ealavender | #242529darkslategray |
| Input | #e6e7ealavender | #242529darkslategray |
| Ring | #295de0royalblue | #295de0royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 5.62:1 | AA |
| Secondary button | 6.37:1 | AA |
| Muted text | 4.64:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 20.73:1 | AAA |
| Text on card | 20.73:1 | AAA |
| Primary button | 5.62:1 | AA |
| Secondary button | 6.37:1 | AA |
| Muted text | 5.98:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use frolov in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.138 0.035 260.491);
--muted: oklch(0.902 0.005 216.037);
--muted-foreground: oklch(0.493 0.002 216.029);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.138 0.035 260.491);
--card: oklch(1 0 180);
--card-foreground: oklch(0.138 0.035 260.491);
--border: oklch(0.929 0.003 268.767);
--input: oklch(0.929 0.003 268.767);
--primary: oklch(0.527 0.208 264.064);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.73 0.127 222.104);
--secondary-foreground: oklch(0.272 0.043 220.325);
--accent: oklch(0.472 0.25 280.827);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.482 0.161 36.48);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.527 0.208 264.064);
--chart-1: oklch(0.527 0.208 264.064);
--chart-2: oklch(0.73 0.127 222.104);
--chart-3: oklch(0.472 0.25 280.827);
--chart-4: oklch(0.743 0.123 221.035);
--chart-5: oklch(0.526 0.215 263.933);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.008 263.814);
--foreground: oklch(1 0 180);
--muted: oklch(0.251 0.007 216.175);
--muted-foreground: oklch(0.7 0.002 216.023);
--popover: oklch(0.086 0.008 263.814);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.008 263.814);
--card-foreground: oklch(1 0 180);
--border: oklch(0.265 0.007 268.572);
--input: oklch(0.265 0.007 268.572);
--primary: oklch(0.527 0.208 264.064);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.73 0.127 222.104);
--secondary-foreground: oklch(0.272 0.043 220.325);
--accent: oklch(0.472 0.25 280.827);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.665 0.214 37.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.527 0.208 264.064);
--chart-1: oklch(0.527 0.208 264.064);
--chart-2: oklch(0.73 0.127 222.104);
--chart-3: oklch(0.472 0.25 280.827);
--chart-4: oklch(0.743 0.123 221.035);
--chart-5: oklch(0.526 0.215 263.933);
}