feat: add font size setting for webview UI#443
feat: add font size setting for webview UI#443Ashwinhegde19 wants to merge 1 commit intoKilo-Org:devfrom
Conversation
- Add fontSize config option (range: 10-24, default: 13) - Add slider in Settings > Display tab - Apply font size via CSS variables - Persist setting in global config Closes #441
9872c85 to
1667ea7
Compare
|
Hi! Thank you for taking the time to contribute to this project—we really appreciate it. 🙏 We are currently working on re-platforming the core of our VS Code and JetBrains extensions to be based on our new Kilo CLI, with a complete rebuild based on OpenCode as our new foundation, and the moment has come to promote this repository to become the main repository. To do that, we moved the code from this repository to the kilocode repository. This unfortunately means we cannot merge this branch here anymore. Please add https://github.com/Kilo-Org/kilocode.git as a remote, and push your branch there and create a new PR in https://github.com/Kilo-Org/kilocode . We unfortunately cannot do this for you as then the PR would not be in your name anymore. If you need any help, feel free to ask on our Discord in #kilo-dev-contributors Sorry for the inconvenience and thank you for contributing to Kilo! |
|
Requesting credits for this ready-to-merge PR. |
|
Hi @Ashwinhegde19 , without a review, the PR is not ready to merge. I'm sorry for causing the extra work, but you should be able to recreate these PRs on the kilocode repository without extra programming; just add the kilocode repository as a remote, push your branch, and create the PR again. Since that repository has the same git history as this one no rebasing/merging or whatever will even be necessary. So locally in your branch: |
Summary
Adds a font size setting allowing users to customize the webview UI font size (10-24px range, default 13px).
Closes Kilo-Org/kilocode#6308
Changes
packages/opencode/src/config/config.tsfontSizeschema with min/max validationpackages/kilo-vscode/src/services/cli-backend/types.tsfontSizeto Config typepackages/kilo-vscode/webview-ui/src/types/messages.tsfontSizeto Config interfacepackages/kilo-vscode/webview-ui/src/App.tsxpackages/kilo-vscode/webview-ui/src/components/settings/DisplayTab.tsxpackages/kilo-vscode/webview-ui/src/i18n/en.tsHow to Test