Skip to content

Appearance: light/dark override and text sizes for Home, Session Chat and code #1044

Done

Description

@ivanfenenko

From user feedback (opencode-mobile/backend#34): "make the text and UI more compact, as well as a night mode."

Settings › Appearance gains a light/dark override and three app-level text sizes. The UI prototype has been reviewed and approved.

Behaviour

Mode (top of Appearance, segmented control): System / Light / Dark. Note under it: System → "Follows the phone's light or dark setting."; Light/Dark → "Always light/dark, whatever the phone is set to." Light and Dark ignore the phone setting. Applies app-wide right away, including sheets and dialogs.

Text size: three sections, each a card with a "Size" title, the current step name on the right, and a 5-step slider (small "A" on the left, large "A" on the right, ticks at each step, Default is the middle tick):

Section Steps Applies to
Home list text Extra small 0.85 · Small 0.92 · Default 1.0 · Large 1.12 · Extra large 1.26 Home session rows (title, subtitle, time, status pill, letter avatar, project headers), and the lists that reuse those rows: archived sessions, session search
Session Chat text same Session Chat timeline: user and assistant messages, inline code, code blocks inside messages, tool lines, composer
Code text same Terminal, Changes (diff), file viewer, tool output and shell output sheets
  • Sizes multiply the phone's own text size (Dynamic Type / font scale); they do not replace it.
  • Under each slider card is a live sample drawn flat on the page, the same as the real screen: no wrapping card or border. Home: a project header and two real session rows. Session Chat: a user bubble, an assistant paragraph with inline code, and a tool line. Code: a short diff hunk with line numbers and added/removed lines. Samples use the real components, not lookalikes.
  • Note under the Code sample: "Terminal, Changes, the file viewer and tool output." Note at the end: "Code blocks inside messages and the composer follow the Session Chat size."

Reset lives in an overflow (⋯) menu in the Appearance top bar, not on the page:

  • "Reset text sizes": all three sizes back to Default. Disabled when they already are.
  • "Reset all appearance" (destructive colour): text sizes plus Mode back to System. Disabled when nothing differs.

Existing Theme and Code highlight rows stay, between Mode and the text-size sections.

All four settings persist locally (not per Connection Profile).

Acceptance

  • iOS and Android: Mode override, three sliders with flat live samples, and the top-bar reset menu as above.
  • Each size reaches every surface in its row of the table; nothing else changes size.
  • Settings persist across relaunch; Mode applies without restart.
  • Unit tests for the preference stores and the reset rules.
  • Screenshot evidence for both platforms.

Remaining

  • iOS
  • Android

Activity

  1. added 4 commits that reference this issue on Nov 15, 2026
  2. ivanfenenko commented on Nov 29, 2026

    @ivanfenenko
    CollaboratorAuthor

    Done: iOS in #1048, Android in #1046, plus the Smallest step in #1077.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions