Y7K Blue Hoverfly is a shadcn/ui theme built around a vivid blue primary color (#0062ff) with muted light blue accents (#d0d5dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#0062ff) on a blue-tinted background (#05070c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05070cblack |
| Foreground | #010204black | #f6f7f9whitesmoke |
| Card | #fcfcfcsnow | #020408black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #fcfcfcsnow | #020408black |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #0062ffdodgerblue | #0062ffdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d0d5ddlightgrey | #1b1e23black |
| Secondary foreground | #333b47darkslategray | #aeb5c1silver |
| Muted | #eeeff1whitesmoke | #0e0f11black |
| Muted foreground | #3f444adarkslategray | #b5b9c0silver |
| Accent | #d0d5ddlightgrey | #1b1e23black |
| Accent foreground | #333b47darkslategray | #aeb5c1silver |
| Destructive | #cd150efirebrick | #f0342dcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e5e9gainsboro | #1f2329darkslategray |
| Input | #e2e5e9gainsboro | #1f2329darkslategray |
| Ring | #0062ffdodgerblue | #0062ffdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 5.02:1 | AA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 8.56:1 | AAA |
| Accent | 7.64:1 | AAA |
| Destructive | 5.66:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 5.02:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 9.74:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Y7K Blue Hoverfly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.013 249.572);
--muted: oklch(0.953 0.003 259.937);
--muted-foreground: oklch(0.384 0.013 259.939);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.92 0.007 259.941);
--input: oklch(0.92 0.007 259.941);
--primary: oklch(0.556 0.246 261.356);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.871 0.012 259.945);
--secondary-foreground: oklch(0.35 0.023 259.884);
--accent: oklch(0.871 0.012 259.945);
--accent-foreground: oklch(0.35 0.023 259.884);
--destructive: oklch(0.539 0.212 29.123);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.556 0.246 261.356);
--chart-1: oklch(0.556 0.246 261.356);
--chart-2: oklch(0.871 0.012 259.945);
--chart-3: oklch(0.871 0.012 259.945);
--chart-4: oklch(0.895 0.01 259.944);
--chart-5: oklch(0.557 0.251 261.478);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.012 254.066);
--foreground: oklch(0.975 0.003 259.938);
--muted: oklch(0.168 0.004 259.944);
--muted-foreground: oklch(0.784 0.011 259.945);
--popover: oklch(0.108 0.014 251.288);
--popover-foreground: oklch(0.984 0.002 259.936);
--card: oklch(0.108 0.014 251.288);
--card-foreground: oklch(0.984 0.002 259.936);
--border: oklch(0.253 0.013 259.915);
--input: oklch(0.253 0.013 259.915);
--primary: oklch(0.556 0.246 261.356);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.233 0.011 259.925);
--secondary-foreground: oklch(0.772 0.018 259.945);
--accent: oklch(0.233 0.011 259.925);
--accent-foreground: oklch(0.772 0.018 259.945);
--destructive: oklch(0.623 0.224 28.034);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.556 0.246 261.356);
--chart-1: oklch(0.556 0.246 261.356);
--chart-2: oklch(0.233 0.011 259.925);
--chart-3: oklch(0.233 0.011 259.925);
--chart-4: oklch(0.264 0.013 259.92);
--chart-5: oklch(0.557 0.251 261.478);
}