Skip to content

Draw every titled screen's name in the ink colour - #53

Merged
ohmzi merged 1 commit into
developfrom
feature/unified-screen-header
Nov 10, 2026
Merged

ohmzi merged 1 commit into
developfrom
feature/unified-screen-header

Conversation

@ohmzi

@ohmzi ohmzi commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Every titled screen now draws its name in the ink colour, in the hero block and in the bar it docks into. The screen's own colour stays in its disc, the wash behind the glyph and the add button.

Before this the same word was drawn three ways: accent-coloured on the web and in Calendar and Completed on Android and iOS, accent-coloured only when docked on Android lists (their hero was already ink), and ink on Settings, Guide and Sweep.

  • Web: text-foreground on the shared title type class, so the hero h1, the docked copy and the measuring span cannot drift apart. accentColor is gone from pageCollapse, which only used it for the title.
  • Android: dropped the titleColor arguments on Calendar, Completed and the list toolbar; the defaults are onBackground.
  • iOS: TodoTimelineTitleLabel reads colors.onSurface itself, and the Calendar bar's two title copies do the same.
  • Docs: one sentence in the Screen Layout Tokens section of docs/ARCHITECTURE.md.

No user-facing behaviour changes, so no How-To guide topic.

Verified here: web lint, 2094 web tests, web build, and the Android compile plus unit tests. Not verified here: iOS (no Xcode on this host; the macOS CI is the check) and how any of it looks on a device.

Not in this PR: the shared bar rule (back, search, one primary action, overflow menu). Reading the code showed it moves Summarize and Sweep behind an extra tap and drops the web's deliberate one-tap Select all, so it needs its own decision and PR.

The hero title and the title docked into the bar were the screen's accent on web, Calendar and Completed on Android and iOS, and the docked title on Android lists, while Settings, Guide and the Android list hero were already ink. Titles are ink everywhere now; the colour stays in the disc, its wash and the add button.
@ohmzi
ohmzi merged commit 4fe2a95 into develop Nov 10, 2026
6 checks passed
@ohmzi
ohmzi deleted the feature/unified-screen-header branch November 10, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant