Repository navigation
feat: Added adjustable font size and line height support for desktop and web. - #27684
Closed
ShogunPanda wants to merge 1 commit into
Closed
ShogunPanda wants to merge 1 commit into
ShogunPanda wants to merge 1 commit into
Conversation
simonklee
requested review from
Brendonovich and
Hona
and removed request for
adamdotdevin
May 15, 2026 07:48
Author
|
Hello, any chance to land this? |
Author
|
@Brendonovich @Hona I just rebased this. Any change to land it or get a feedback? |
Author
|
Rebase. I won't lose hope :) |
ShogunPanda
force-pushed
the
font-size
branch
2 times, most recently
from
July 30, 2026 12:31
2478c81 to
32cbfa9
Compare
ShogunPanda
force-pushed
the
font-size
branch
3 times, most recently
from
August 17, 2026 08:28
b8c0dc1 to
0dd2252
Compare
ShogunPanda
force-pushed
the
font-size
branch
3 times, most recently
from
September 9, 2026 12:22
802f66e to
e38e23b
Compare
ShogunPanda
force-pushed
the
font-size
branch
from
September 17, 2026 08:38
e38e23b to
a77f7fd
Compare
BachNewton
added a commit
to BachNewton/opencode
that referenced
this pull request
Sep 23, 2026
- Add Font size number input (10-24, default 14) to Settings > General > Appearance - Wire appearance.fontSize to --font-size-user CSS var on documentElement - Scale all text-12/14/16/20-* utilities and text-sm/base/lg/xl via derived vars - Re-pin markdown code blocks (.shiki) and headings to scaled vars - Wire ghostty terminal fontSize to same setting (runtime setOption + init) - Add i18n keys settings.general.row.fontSize.title/description to en + 61 locales - Fixes anomalyco#44184, anomalyco#49375; supersedes stale anomalyco#27684
BachNewton
added a commit
to BachNewton/opencode
that referenced
this pull request
Sep 23, 2026
- Add Font size number input (10-24, default 14) to Settings > General > Appearance - Wire appearance.fontSize to --font-size-user CSS var on documentElement - Scale all text-12/14/16/20-* utilities and text-sm/base/lg/xl via derived vars - Re-pin markdown code blocks (.shiki) and headings to scaled vars - Wire ghostty terminal fontSize to same setting (runtime setOption + init) - Add i18n keys settings.general.row.fontSize.title/description to en + 61 locales - Fixes anomalyco#44184, anomalyco#49375; supersedes stale anomalyco#27684
BachNewton
added a commit
to BachNewton/opencode
that referenced
this pull request
Sep 23, 2026
- Add Font size number input (10-24, default 14) to Settings > General > Appearance - Wire appearance.fontSize to --font-size-user CSS var on documentElement - Scale all text-12/14/16/20-* utilities and text-sm/base/lg/xl via derived vars - Re-pin markdown code blocks (.shiki) and headings to scaled vars - Wire ghostty terminal fontSize to same setting (runtime setOption + init) - Add i18n keys settings.general.row.fontSize.title/description to en + 61 locales - Fixes anomalyco#44184, anomalyco#49375; supersedes stale anomalyco#27684
ShogunPanda
force-pushed
the
font-size
branch
2 times, most recently
from
October 3, 2026 08:12
693dcb6 to
816fc97
Compare
…and web. Signed-off-by: Paolo Insogna <[email protected]>
ShogunPanda
force-pushed
the
font-size
branch
from
October 10, 2026 05:05
6319124 to
2b6b721
Compare
Member
|
This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2. — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
3 of 6 tasks
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #26269.
Closes #16145.
Closes #10423.
Type of change
What does this PR do?
This PR introduces two new settings in the Desktop and Web application: font size and line height.
Both are numbers. They are applied consistently throughout the application and persisted in opencode.json.
How did you verify your code works?
Tested locally.
Screenshots / recordings
opencode.mov
Checklist
If you do not follow this template your PR will be automatically rejected.