Skip to content

[codex] Add editor font preview - #87

Open
bendsp wants to merge 3 commits into
codex/editor-quality-passfrom
codex/feature-font-family-preview
Open

[codex] Add editor font preview#87
bendsp wants to merge 3 commits into
codex/editor-quality-passfrom
codex/feature-font-family-preview

Conversation

@bendsp

@bendsp bendsp commented May 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a live font preview to the Editor settings section.
  • Uses the selected editor font family for preview text so users can compare sans, serif, and mono before closing Settings.

Validation

  • pnpm lint
  • pnpm typecheck

Stacked on #86 / codex/editor-quality-pass.

Copilot AI review requested due to automatic review settings May 9, 2026 14:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an editor-font “Font preview” section in the Settings modal so users can immediately see how the chosen editor font family looks before closing Settings.

Changes:

  • Extends editorFontOptions to include explicit CSS font-family stacks for each option.
  • Computes the active font option from settings.editorFontFamily and renders a preview block styled with that font family.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</div>
<div
className="mt-2 rounded-md border border-border bg-card px-3 py-2 text-sm leading-6 text-card-foreground"
style={{ fontFamily: activeEditorFont.css }}
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