Skip to content

Conversation

@devdignesh
Copy link

Description

  • Adds a font selection feature to allow users to choose fonts for code snippets, synced with the URL hash.

Changes

  • Added fontAtom with atomWithHash to manage font state and URL sync.
  • Created FontControl component with a dropdown for font selection.
  • Updated Editor to prioritize theme font, then user-selected font, defaulting to JetBrains Mono.
  • Ensured fonts align with existing CSS classes.

Testing

  • Tested font changes update the editor and URL hash correctly.
  • Verified theme font overrides user selection when defined.
  • Confirmed default font applies when no theme font or user selection.

@vercel
Copy link

vercel bot commented Jun 11, 2025

@devdignesh is attempting to deploy a commit to the Raycast Team on Vercel.

A member of the Team first needs to authorize it.

@devdignesh devdignesh requested a review from saadh393 June 18, 2025 11:00
Copy link

@saadh393 saadh393 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's correct

@devdignesh devdignesh requested a review from saadh393 July 1, 2025 10:56
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