You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop: appearance.fontSize is persisted but not applied to UI or terminal font size #24131
In OpenCode Desktop, changing settings.v3.appearance.fontSize in the desktop app data store is persisted correctly, but it does not change the visible UI font size or the embedded terminal font size.
This makes the desktop font size setting ineffective. It looks like the setting exists in persisted settings and has a setter, but the desktop frontend does not apply it to the CSS font-size variables, and the terminal is initialized with a hard-coded font size.
The desktop UI font size should reflect appearance.fontSize, or the setting should not be persisted/exposed if it is not supported.
The embedded terminal should also use the configured size if the setting is intended to control app-wide text size.
Actual behavior
The value is persisted, but the visible font size remains unchanged after relaunch.
Notes from local inspection
Inspecting the bundled desktop binaries shows that the setting schema/default includes appearance:{fontSize:14,mono:"",sans:"",terminal:""} and a setter for appearance.fontSize.
However, the desktop settings init effect appears to only apply --font-family-mono and --font-family-sans. I did not find a corresponding application of appearance.fontSize to variables such as --font-size-base, --font-size-small, or --font-size-large.
Also, the terminal initialization appears to pass a hard-coded fontSize: 14.
So the persisted appearance.fontSize value seems disconnected from both the CSS variables used by the UI and the terminal renderer option.
This issue might be a duplicate of existing issues. Please check:
Font size setting not applied to UI or terminal #14823: Font size setting not applied to UI or terminal — describes the same root cause: appearance.fontSize is defined but never applied to CSS variables or the terminal (which hardcodes fontSize: 14).
Activity
github-actions commentedon Apr 24, 2026
This issue might be a duplicate of existing issues. Please check:
appearance.fontSizeis defined but never applied to CSS variables or the terminal (which hardcodesfontSize: 14).github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.