Yappy Palatinate Blue is a shadcn/ui theme built around a vivid blue primary color (#193ee1) with vivid yellow accents (#e1bc19). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#193ee1) on a blue-tinted background (#05060b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #05060bblack |
| Foreground | #05070fblack | #fcfcfdwhite |
| Card | #f7f8fdghostwhite | #05060bblack |
| Card foreground | #05070fblack | #fcfcfdwhite |
| Popover | #f7f8fdghostwhite | #05060bblack |
| Popover foreground | #05070fblack | #fcfcfdwhite |
| Primary | #193ee1royalblue | #193ee1royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e1bc19goldenrod | #e1bc19goldenrod |
| Secondary foreground | #292305black | #292305black |
| Muted | #e1dfd5gainsboro | #2a281edarkslategray |
| Muted foreground | #585546darkolivegreen | #b9b5a7darkgray |
| Accent | #e1bc19goldenrod | #e1bc19goldenrod |
| Accent foreground | #292305black | #292305black |
| Destructive | #b03a07firebrick | #dc4909orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6e6eblavender | #1e1f25black |
| Input | #e6e6eblavender | #1e1f25black |
| Ring | #193ee1royalblue | #193ee1royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 5.61:1 | AA |
| Accent | 8.54:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 8.54:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Yappy Palatinate Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 276.089);
--foreground: oklch(0.13 0.02 270.889);
--muted: oklch(0.903 0.014 96.35);
--muted-foreground: oklch(0.447 0.023 96.728);
--popover: oklch(0.98 0.006 276.089);
--popover-foreground: oklch(0.13 0.02 270.889);
--card: oklch(0.98 0.006 276.089);
--card-foreground: oklch(0.13 0.02 270.889);
--border: oklch(0.927 0.006 276.086);
--input: oklch(0.927 0.006 276.086);
--primary: oklch(0.469 0.246 265.616);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.161 94.292);
--secondary-foreground: oklch(0.255 0.047 96.538);
--accent: oklch(0.805 0.161 94.292);
--accent-foreground: oklch(0.255 0.047 96.538);
--destructive: oklch(0.515 0.162 38.609);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.469 0.246 265.616);
--chart-1: oklch(0.469 0.246 265.616);
--chart-2: oklch(0.805 0.161 94.292);
--chart-3: oklch(0.805 0.161 94.292);
--chart-4: oklch(0.823 0.162 94.797);
--chart-5: oklch(0.469 0.253 265.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 272.04);
--foreground: oklch(0.991 0.001 276.147);
--muted: oklch(0.274 0.018 96.844);
--muted-foreground: oklch(0.773 0.02 96.476);
--popover: oklch(0.122 0.013 272.04);
--popover-foreground: oklch(0.991 0.001 276.147);
--card: oklch(0.122 0.013 272.04);
--card-foreground: oklch(0.991 0.001 276.147);
--border: oklch(0.24 0.012 275.486);
--input: oklch(0.24 0.012 275.486);
--primary: oklch(0.469 0.246 265.616);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.161 94.292);
--secondary-foreground: oklch(0.255 0.047 96.538);
--accent: oklch(0.805 0.161 94.292);
--accent-foreground: oklch(0.255 0.047 96.538);
--destructive: oklch(0.606 0.194 38.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.469 0.246 265.616);
--chart-1: oklch(0.469 0.246 265.616);
--chart-2: oklch(0.805 0.161 94.292);
--chart-3: oklch(0.805 0.161 94.292);
--chart-4: oklch(0.823 0.162 94.797);
--chart-5: oklch(0.469 0.253 265.323);
}