Skip to content

Replace Fredoka font with Londrina Solid#6

Merged
becktothefuture merged 1 commit into
mainfrom
claude/investigate-canvas-fonts-jbZSz
Apr 22, 2026
Merged

Replace Fredoka font with Londrina Solid#6
becktothefuture merged 1 commit into
mainfrom
claude/investigate-canvas-fonts-jbZSz

Conversation

@becktothefuture
Copy link
Copy Markdown
Owner

Summary

This PR updates the font used for magnet text throughout the application from Fredoka to Londrina Solid, providing a different visual style for the magnet component.

Changes

  • Updated Google Fonts import in index.html to load Londrina Solid (weights 400, 900) instead of Fredoka (weights 500, 600, 700)
  • Updated MAGNET_FONT_FAMILY constant in src/components/magnetUtils.js to use Londrina Solid as the primary font
  • Updated --font-magnet CSS variable in src/styles.css to use Londrina Solid as the primary font
  • Removed 'Nunito' from the fallback font stack in magnetUtils.js

Implementation Details

The font change is applied consistently across all three configuration points (HTML imports, JavaScript constants, and CSS variables) to ensure the new font is used throughout the magnet rendering system. Fallback fonts remain in place for graceful degradation.

https://claude.ai/code/session_01SoStFWURtVYVRKBbynXjZE

Replaces Fredoka with Londrina Solid (Google Font) across the canvas
renderer, CSS variable, and Google Fonts import. Weight 900 (Black) is
available in Londrina Solid so no weight adjustments are needed.

https://claude.ai/code/session_01SoStFWURtVYVRKBbynXjZE
@becktothefuture becktothefuture merged commit d3a5ea8 into main Apr 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants