Skip to content

Add configurable code font size override#301

Merged
BunsDev merged 2 commits intomainfrom
okcode/enable-font-size-update
Apr 6, 2026
Merged

Add configurable code font size override#301
BunsDev merged 2 commits intomainfrom
okcode/enable-font-size-update

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 6, 2026

Summary

  • Adds a persisted code font size override backed by localStorage and applied to the app root CSS variable.
  • Updates CodeMirror and the terminal drawer to respect the shared code font size setting.
  • Surfaces font size as a customizable setting and clears it alongside other theme overrides.

Testing

  • Not run (bun fmt)
  • Not run (bun lint)
  • Not run (bun typecheck)
  • Manual check not run in browser

- Persist a code font size override in custom theme state
- Apply it to CodeMirror and the terminal
- Surface the setting in the theme summary and reset flow
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 6, 2026 0:33am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 6, 2026 0:33am

- Wire code block styling to a configurable font-size token
- Add a settings slider to adjust and reset code editor and terminal font size
@BunsDev BunsDev merged commit b06d6d6 into main Apr 6, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/enable-font-size-update branch April 6, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant