Skip to content

feat: add font selector to sidebar#154

Draft
zenabot27 wants to merge 1 commit intomainfrom
feat/font-selector
Draft

feat: add font selector to sidebar#154
zenabot27 wants to merge 1 commit intomainfrom
feat/font-selector

Conversation

@zenabot27
Copy link
Collaborator

Summary

  • Adds a font picker in the sidebar footer (between theme toggle and collapse controls)
  • Supports 3 font families: Mono (Inconsolata, default), Sans (Geist Sans), and Pixel (5 variants: Square, Grid, Circle, Triangle, Line)
  • Selection persists in localStorage across sessions
  • Code/pre elements keep their existing font unchanged
  • Works in both expanded sidebar, collapsed sidebar (cycle on click), and mobile drawer

Test plan

  • Open sidebar, click font selector dropdown
  • Switch between Mono, Sans, and each Pixel variant — verify UI text changes
  • Refresh page — verify selected font persists
  • Check code blocks (e.g. in Playground) — font should remain monospace
  • Test collapsed sidebar — Type icon should cycle fonts on click
  • Test mobile drawer — font picker should appear in footer

🤖 Generated with Claude Code

…ariants

Adds a configurable font picker in the sidebar footer that lets users switch
between Mono (Inconsolata), Sans (Geist Sans), and 5 Pixel variants (Square,
Grid, Circle, Triangle, Line). Selection persists in localStorage. Code/pre
font remains unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant