VSCode extension: add font size setting for chat panel
Feature Request
Add a setting to control the font size in the Claude Code chat panel (VSCode extension).
Problem
Currently there is no way to adjust the font size specifically for the Claude Code panel. The chat panel uses a font size that is smaller than the editor font, and there is no dedicated setting to change it.
The only workaround is to zoom the entire VSCode window (Ctrl+/-), which affects the whole IDE, not just the Claude panel.
Proposed Solution
Add a VSCode extension setting, for example:
"claude.fontSize": 14
This would allow users to set a comfortable font size for the chat panel independently of the editor font size.
Expected Behavior
Users can configure the font size of the Claude Code panel via VSCode settings without affecting the rest of the IDE.
🤖 Generated with Claude Code
Showing cached comments. Read the full discussion on GitHub ↗
11 Comments
Additionally, would be nice to set the font family and be able to configure monospace fonts for inline code, avoiding things like this:
<img width="148" height="31" alt="Image" src="https://github.com/user-attachments/assets/23bbad8a-0b38-4e7a-9a55-89b92790025a" />
Accessibility help please!
Font customization and appearance settings are a must. Please!
+1
+1, with a concrete implementation note that might lower the cost of building this.
The webview CSS already reads from VSCode's chat-font CSS variable:
Which means today, users can already get an independent baseline by setting
"chat.fontSize": 16insettings.json— it flows through after a panel reload. (Caveat: monospace blocks inside the panel read--vscode-editor-font-size, so code rides with the editor font, not the chat font. Prose is independently sized; code is not.)Two requests on top of the original ask:
editor.mouseWheelZoom—Cmd+scrollto live-resize. Since the CSS variable plumbing exists, this is mostly a matter of binding a wheel listener in the webview and updating an inlinefont-sizeoverride.--app-monospace-font-sizefollow the chat-font scale rather than--vscode-editor-font-size. Otherwise the panel renders prose at one size and code at another, which is jarring.Use case: I read long-form Claude responses in the panel for hours at a stretch and the 13px default is genuinely fatiguing. Whole-window zoom isn't a fix because it shrinks editor real estate I need.
Edit: corrected setting name —
chat.fontSize, notchat.editor.fontSize(the latter governs the chat input editor, not the panel body).Also required for the plan pane in plan mode. it's so small now
TL;DR VS Code Extension: Claude Code UI Patch
Until official support lands, a minimal UI patch with
configurable font sizes(plural):Every Knob, One Panel
| Before (native sizes) | After (patched) |
| :---: | :---: |
| <img src="https://raw.githubusercontent.com/zeyutang/claude-code-ui-patch/420a26c2a53933dcc7ead77572a15f80a93c9bf7/docs/img/before-ui-patch.png" width="360"> | <img src="https://raw.githubusercontent.com/zeyutang/claude-code-ui-patch/420a26c2a53933dcc7ead77572a15f80a93c9bf7/docs/img/after-ui-patch.png" width="360"> |
What UI Patch Can Configure
1. Chat panel or tab
| Setting | Native | Target |
| ------------------------------------------- | ------------------------- | ------------------------------------------------------------ |
|
chat.fontSize|~14px| chat panel/tab text, input, IN/OUT blocks ||
claudeCodeUiPatch.chatCodeblockFontSize|~11px| chat panel/tab fenced code blocks ||
claudeCodeUiPatch.chatDiffCardFontSize|12px| diff card (Edit/MultiEdit tool cards and their expand modal) ||
claudeCodeUiPatch.chatDiffCardLineNumbers|off| diff-card line numbers, with real+/-gutter signs ||
claudeCodeUiPatch.chatDiffCardThemeSync|off(forces dark theme) | diff card follows the VS Code light/dark theme |2. Plan-mode Markdown preview
| Setting | Native | Target |
| --------------------------------------------------- | ------ | ---------------------------------------------- |
|
claudeCodeUiPatch.planPreviewFontSize|14px| Markdown preview text (headings scale with it) ||
claudeCodeUiPatch.planPreviewCodeblockFontSize|13px| code blocks and inline code ||
claudeCodeUiPatch.planPreviewCommentQuoteFontSize|12px| selected-text quote ||
claudeCodeUiPatch.planPreviewCommentInputFontSize|13px| select-and-comment input ||
claudeCodeUiPatch.planPreviewCommentBadgeFontSize|10px| comment badge (fixed 14px circle, keep <= 12) |I couldn't get this to work, but I really wanted to. Please support the docs.
Thanks for the interest! Replied in the
Claude Code UI Patchrepo issue thread #1I'm really losing my eyesight, without really understanding the reasons behind it..
+1