Frequent is a shadcn/ui theme built around a red primary color (#c5637a) with orange accents (#c57d63). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the red primary (#c5637a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #000000black |
| Foreground | #000000black | #faf5f6whitesmoke |
| Card | #fdf7f8snow | #000000black |
| Card foreground | #000000black | #faf5f6whitesmoke |
| Popover | #fdf7f8snow | #000000black |
| Popover foreground | #000000black | #faf5f6whitesmoke |
| Primary | #c5637aindianred | #c5637aindianred |
| Primary foreground | #000000black | #000000black |
| Secondary | #c563abpalevioletred | #c563abpalevioletred |
| Secondary foreground | #000000black | #000000black |
| Muted | #ebd1e4gainsboro | #2e1427black |
| Muted foreground | #443b42darkslategray | #c4bbc1silver |
| Accent | #c57d63indianred | #c57d63indianred |
| Accent foreground | #000000black | #000000black |
| Destructive | #8e210bdarkred | #e23512orangered |
| Destructive foreground | #fbd7d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5637aindianred | #c5637aindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 5.42:1 | AA |
| Secondary button | 5.73:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 5.42:1 | AA |
| Secondary button | 5.73:1 | AA |
| Muted text | 8.99:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 4.40:1 | AA Large |
Paste this into your globals.css to use Frequent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 1.144);
--foreground: oklch(0 0 0);
--muted: oklch(0.887 0.038 335.26);
--muted-foreground: oklch(0.365 0.016 335.294);
--popover: oklch(0.981 0.006 1.144);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 1.144);
--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.621 0.127 6.727);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.153 338.395);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.659 0.098 40.706);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.426 0.147 32.85);
--destructive-foreground: oklch(0.908 0.042 31.202);
--ring: oklch(0.621 0.127 6.727);
--chart-1: oklch(0.621 0.127 6.727);
--chart-2: oklch(0.638 0.153 338.395);
--chart-3: oklch(0.659 0.098 40.706);
--chart-4: oklch(0.662 0.142 337.984);
--chart-5: oklch(0.62 0.135 7.167);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.006 1.136);
--muted: oklch(0.238 0.052 338.035);
--muted-foreground: oklch(0.801 0.013 334.819);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.006 1.136);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.006 1.136);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.621 0.127 6.727);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.153 338.395);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.659 0.098 40.706);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.598 0.213 32.592);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.621 0.127 6.727);
--chart-1: oklch(0.621 0.127 6.727);
--chart-2: oklch(0.638 0.153 338.395);
--chart-3: oklch(0.659 0.098 40.706);
--chart-4: oklch(0.662 0.142 337.984);
--chart-5: oklch(0.62 0.135 7.167);
}