Fav1 is a shadcn/ui theme built around a vivid teal primary color (#80f4e5) with vivid yellow accents (#f4e580). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#80f4e5) on a neutral background (#030807).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030807black |
| Foreground | #04100eblack | #f7f8f8whitesmoke |
| Card | #fcfcfcsnow | #040b0ablack |
| Card foreground | #030c0bblack | #f9fafaghostwhite |
| Popover | #fcfcfcsnow | #040b0ablack |
| Popover foreground | #030c0bblack | #f9fafaghostwhite |
| Primary | #80f4e5aquamarine | #80f4e5aquamarine |
| Primary foreground | #053d36darkslategray | #053d36darkslategray |
| Secondary | #e580f4violet | #e580f4violet |
| Secondary foreground | #36053dmidnightblue | #36053dmidnightblue |
| Muted | #ebd9edlavender | #241226black |
| Muted foreground | #4b434cdarkslategray | #bbb3bcsilver |
| Accent | #f4e580khaki | #f4e580khaki |
| Accent foreground | #3d3605darkolivegreen | #3d3605darkolivegreen |
| Destructive | #5f2407maroon | #ef611achocolate |
| Destructive foreground | #f8bda0lightpink | #000000black |
| Border | #e3e8e7gainsboro | #171c1bblack |
| Input | #e3e8e7gainsboro | #171c1bblack |
| Ring | #80f4e5aquamarine | #80f4e5aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 9.25:1 | AAA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 9.44:1 | AAA |
| Destructive | 7.30:1 | AAA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 9.25:1 | AAA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 9.44:1 | AAA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Fav1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.16 0.018 185.52);
--muted: oklch(0.905 0.034 321.696);
--muted-foreground: oklch(0.394 0.017 321.713);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.143 0.016 186.667);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.143 0.016 186.667);
--border: oklch(0.927 0.006 187.602);
--input: oklch(0.927 0.006 187.602);
--primary: oklch(0.895 0.108 184.211);
--primary-foreground: oklch(0.324 0.055 181.191);
--secondary: oklch(0.751 0.189 322.123);
--secondary-foreground: oklch(0.244 0.105 321.86);
--accent: oklch(0.912 0.123 100.686);
--accent-foreground: oklch(0.329 0.064 99.996);
--destructive: oklch(0.344 0.095 43.051);
--destructive-foreground: oklch(0.845 0.079 47.76);
--ring: oklch(0.895 0.108 184.211);
--chart-1: oklch(0.895 0.108 184.211);
--chart-2: oklch(0.751 0.189 322.123);
--chart-3: oklch(0.912 0.123 100.686);
--chart-4: oklch(0.776 0.169 322.085);
--chart-5: oklch(0.899 0.111 184.099);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 187.267);
--foreground: oklch(0.978 0.002 187.703);
--muted: oklch(0.216 0.047 322.084);
--muted-foreground: oklch(0.776 0.015 321.644);
--popover: oklch(0.142 0.014 186.866);
--popover-foreground: oklch(0.986 0.001 187.719);
--card: oklch(0.142 0.014 186.866);
--card-foreground: oklch(0.986 0.001 187.719);
--border: oklch(0.221 0.008 186.871);
--input: oklch(0.221 0.008 186.871);
--primary: oklch(0.895 0.108 184.211);
--primary-foreground: oklch(0.324 0.055 181.191);
--secondary: oklch(0.751 0.189 322.123);
--secondary-foreground: oklch(0.244 0.105 321.86);
--accent: oklch(0.912 0.123 100.686);
--accent-foreground: oklch(0.329 0.064 99.996);
--destructive: oklch(0.666 0.19 42.119);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.895 0.108 184.211);
--chart-1: oklch(0.895 0.108 184.211);
--chart-2: oklch(0.751 0.189 322.123);
--chart-3: oklch(0.912 0.123 100.686);
--chart-4: oklch(0.776 0.169 322.085);
--chart-5: oklch(0.899 0.111 184.099);
}