Skip to content

fix: add visible focus rings to home buttons, add mobile install screenshot#9

Merged
phatpham9 merged 2 commits into
mainfrom
feature/focus-styles-manifest-screenshots
Jun 23, 2026
Merged

fix: add visible focus rings to home buttons, add mobile install screenshot#9
phatpham9 merged 2 commits into
mainfrom
feature/focus-styles-manifest-screenshots

Conversation

@phatpham9

Copy link
Copy Markdown
Member

Filter/icon/pill buttons on the home page relied on Chromium's default :focus-visible outline, whose auto-picked color derives from each element's text color. Since these buttons use --muted (a dim gray) for their default text color, the ring was nearly invisible against the dark background, unlike dialog buttons/radios which use --text or accent-color and got a clearly visible ring. Added an explicit accent-colored :focus-visible outline to match.

Chrome's install dialog only shows screenshots whose form_factor matches the install context (wide on desktop, narrow on mobile), and same-form_factor screenshots must share an identical aspect ratio or they're silently dropped. With only one "wide" screenshot, desktop Chrome's install dialog showed just the single desktop screenshot. Added a second "wide" screenshot (the mobile UI composited onto a 1440x1120 canvas matching the existing wide screenshot's dimensions) so the desktop install dialog now has two scrollable screenshots.

…enshot

Filter/icon/pill buttons on the home page relied on Chromium's
default :focus-visible outline, whose auto-picked color derives from
each element's text color. Since these buttons use --muted (a dim
gray) for their default text color, the ring was nearly invisible
against the dark background, unlike dialog buttons/radios which use
--text or accent-color and got a clearly visible ring. Added an
explicit accent-colored :focus-visible outline to match.

Chrome's install dialog only shows screenshots whose form_factor
matches the install context (wide on desktop, narrow on mobile), and
same-form_factor screenshots must share an identical aspect ratio or
they're silently dropped. With only one "wide" screenshot, desktop
Chrome's install dialog showed just the single desktop screenshot.
Added a second "wide" screenshot (the mobile UI composited onto a
1440x1120 canvas matching the existing wide screenshot's dimensions)
so the desktop install dialog now has two scrollable screenshots.
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

🔎 Cloudflare preview: https://48831e21-feedreader.phatpham9.workers.dev

Uploaded from d35c342d72f67a79c4f160b1c798f7ce7cf0441d. This is a Worker version preview — it shares the production D1 database, so it reads/writes real data; it does not receive cron-triggered refreshes.

Dialog buttons (Cancel/Save/Don't show again) and the theme/density/
source option rows had no :hover rule at all, while home page filter
and icon buttons already had one (just a subtle border tint, easy to
miss on small circular buttons). Unified both: strengthened the home
button hover with an added background tint, and added matching hover
styling to .dialog-button, .dialog-button-primary, .config-option,
and .config-option--choice (including its checked state).
@phatpham9 phatpham9 merged commit 85623d6 into main Jun 23, 2026
2 checks passed
@phatpham9 phatpham9 deleted the feature/focus-styles-manifest-screenshots branch June 23, 2026 14:10
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