Ubuntu becomes the default sans and JetBrains Mono the default mono (via --font-sans / --font-mono, which Tailwind wires to the body and <code> defaults). Roboto and Tourney are opt-in utilities: `font-roboto`, and `font-tourney` for display numerals like jersey numbers. Self-hosted rather than linked from Google's CDN: a CDN <link> sends every visitor's IP to a third party on each page load, which is an avoidable GDPR liability for an EU club platform, and it puts someone else's uptime in our render path. Files come from the @fontsource packages. Two subsets each, with unicode-range: plain `latin` cannot render the Polish, Czech or Turkish letters that turn up in member names, and the range means latin-ext is only fetched by pages that actually contain those glyphs. Tourney is variable on two axes, so font-stretch is declared as a range next to the weight range -- declare only the weight and the browser clamps the width axis to its default, making `font-stretch: 125%` (a wide shirt number) silently do nothing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
42 KiB
42 KiB