Yahoo is a shadcn/ui theme built around a vivid light orange primary color (#fdece2) with vivid light yellow accents (#fdfae2). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the vivid light orange primary (#fdece2) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f6snow | #070503black |
| Foreground | #040201black | #f9f7f6whitesmoke |
| Card | #fdf9f6snow | #070503black |
| Card foreground | #040201black | #f9f7f6whitesmoke |
| Popover | #fdf9f6snow | #070503black |
| Popover foreground | #040201black | #f9f7f6whitesmoke |
| Primary | #fdece2linen | #fdece2linen |
| Primary foreground | #441c04maroon | #441c04maroon |
| Secondary | #fde2e5mistyrose | #fde2e5mistyrose |
| Secondary foreground | #a5091bfirebrick | #a5091bfirebrick |
| Muted | #efdcdemistyrose | #231012black |
| Muted foreground | #503f41darkslategray | #c0afb1silver |
| Accent | #fdfae2lightyellow | #fdfae2lightyellow |
| Accent foreground | #443c04darkolivegreen | #443c04darkolivegreen |
| Destructive | #80140amaroon | #ef3a2acrimson |
| Destructive foreground | #fac6c1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdece2linen | #fdece2linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 7.48:1 | AAA |
| Accent | 10.55:1 | AAA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 12.97:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 8.67:1 | AAA |
| Accent | 10.55:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Yahoo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.006 54.422);
--foreground: oklch(0.092 0.014 66.295);
--muted: oklch(0.91 0.022 9.484);
--muted-foreground: oklch(0.386 0.024 10.383);
--popover: oklch(0.985 0.006 54.422);
--popover-foreground: oklch(0.092 0.014 66.295);
--card: oklch(0.985 0.006 54.422);
--card-foreground: oklch(0.092 0.014 66.295);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.955 0.023 54.175);
--primary-foreground: oklch(0.281 0.07 48.691);
--secondary: oklch(0.936 0.031 9.68);
--secondary-foreground: oklch(0.457 0.181 24.966);
--accent: oklch(0.982 0.032 100.808);
--accent-foreground: oklch(0.354 0.071 101.15);
--destructive: oklch(0.388 0.144 30.032);
--destructive-foreground: oklch(0.872 0.06 24.391);
--ring: oklch(0.955 0.023 54.175);
--chart-1: oklch(0.955 0.023 54.175);
--chart-2: oklch(0.936 0.031 9.68);
--chart-3: oklch(0.982 0.032 100.808);
--chart-4: oklch(0.968 0.015 9.276);
--chart-5: oklch(0.955 0.024 54.164);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.008 59.976);
--foreground: oklch(0.977 0.002 54.475);
--muted: oklch(0.201 0.034 13.078);
--muted-foreground: oklch(0.769 0.02 9.52);
--popover: oklch(0.116 0.008 59.976);
--popover-foreground: oklch(0.977 0.002 54.475);
--card: oklch(0.116 0.008 59.976);
--card-foreground: oklch(0.977 0.002 54.475);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.955 0.023 54.175);
--primary-foreground: oklch(0.281 0.07 48.691);
--secondary: oklch(0.936 0.031 9.68);
--secondary-foreground: oklch(0.457 0.181 24.966);
--accent: oklch(0.982 0.032 100.808);
--accent-foreground: oklch(0.354 0.071 101.15);
--destructive: oklch(0.625 0.219 29.751);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.955 0.023 54.175);
--chart-1: oklch(0.955 0.023 54.175);
--chart-2: oklch(0.936 0.031 9.68);
--chart-3: oklch(0.982 0.032 100.808);
--chart-4: oklch(0.968 0.015 9.276);
--chart-5: oklch(0.955 0.024 54.164);
}