fav 1 is a shadcn/ui theme built around a muted red primary color (#96545a) with muted teal accents (#549691). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the muted red primary (#96545a) on a red-tinted background (#0b0405).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #0b0405black |
| Foreground | #000000black | #f8f7f7whitesmoke |
| Card | #fdf7f8snow | #0b0405black |
| Card foreground | #000000black | #f8f7f7whitesmoke |
| Popover | #fdf7f8snow | #0b0405black |
| Popover foreground | #000000black | #f8f7f7whitesmoke |
| Primary | #96545asienna | #96545asienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #549691cadetblue | #549691cadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e3f2f1lavender | #0d1c1bblack |
| Muted foreground | #3d4c4bdarkslategray | #b3c2c0silver |
| Accent | #549691cadetblue | #549691cadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #801f05maroon | #f74818orangered |
| Destructive foreground | #fdc8bapeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #96545asienna | #96545asienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 5.63:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 7.83:1 | AAA |
| Accent | 6.15:1 | AA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 5.63:1 | AA |
| Secondary button | 6.15:1 | AA |
| Muted text | 9.49:1 | AAA |
| Accent | 6.15:1 | AA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use fav 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 11.377);
--foreground: oklch(0 0 0);
--muted: oklch(0.95 0.016 190.87);
--muted-foreground: oklch(0.405 0.019 190.19);
--popover: oklch(0.981 0.006 11.377);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 11.377);
--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.526 0.087 15.184);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.628 0.068 188.666);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.628 0.068 188.666);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.398 0.136 34.807);
--destructive-foreground: oklch(0.876 0.063 35.978);
--ring: oklch(0.526 0.087 15.184);
--chart-1: oklch(0.526 0.087 15.184);
--chart-2: oklch(0.628 0.068 188.666);
--chart-3: oklch(0.628 0.068 188.666);
--chart-4: oklch(0.658 0.072 188.652);
--chart-5: oklch(0.524 0.097 15.709);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.015 12.465);
--foreground: oklch(0.976 0.002 11.287);
--muted: oklch(0.213 0.021 188.885);
--muted-foreground: oklch(0.801 0.017 190.791);
--popover: oklch(0.123 0.015 12.465);
--popover-foreground: oklch(0.976 0.002 11.287);
--card: oklch(0.123 0.015 12.465);
--card-foreground: oklch(0.976 0.002 11.287);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.526 0.087 15.184);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.628 0.068 188.666);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.628 0.068 188.666);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.65 0.218 34.819);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.526 0.087 15.184);
--chart-1: oklch(0.526 0.087 15.184);
--chart-2: oklch(0.628 0.068 188.666);
--chart-3: oklch(0.628 0.068 188.666);
--chart-4: oklch(0.658 0.072 188.652);
--chart-5: oklch(0.524 0.097 15.709);
}