1.2 KiB
1.2 KiB
2026-02-25 Session Notes
LanaPixel Font Integration for Oddcore Website
Session focused on planning and initial setup for integrating LanaPixel, the ODDCORP brand pixel font, into the Oddcore website. Previously, the site used Press Start 2P from Google Fonts. The plan was to perform a clean replacement of the --font-pixel CSS variable, requiring no changes to individual components.
Key steps identified:
- Extract LanaPixel.ttf from
ODDCORP/font/lanapixel_everything.zipand convert to woff2 format using fonttools for optimal web performance - Place converted fonts and license file in
public/fonts/ - Register @font-face in
src/styles/global.cssand update--font-pixelCSS variable to use LanaPixel with Press Start 2P as fallback - Add preload hint in
src/components/BaseHead.astroto prevent flash of unstyled text - Conduct visual QA pass across all components using font-pixel at various text sizes
- Verify network loading and fallback behavior
The approach leveraged CSS variable reuse to avoid component-level modifications. Space Grotesk (body) and VT323 (mono) fonts remained unchanged.
Session provided detailed plan but actual implementation work was not visible in conversation transcript.