Open data-sync-user opened 3 months ago
➤ Cyndi Chin commented:
QA, please verify that the fonts for tab related views scale appropriately. See screenshots in the PR. Thank you!
➤ Adina Petridean commented:
Cyndi Chin could you please pinpoint some before-and-after screenshots? Thank you!
➤ Cyndi Chin commented:
Adina Petridean Please verify screenshots in this PR, thank you! https://github.com/mozilla-mobile/firefox-ios/pull/20329 ( https://github.com/mozilla-mobile/firefox-ios/pull/20329|smart-link )
➤ Diana Andreea Barladeanu commented:
Validated on v128 (42870), with iPhone 15 (17.5) and iPad Air 3rd gen (17.5).
This task is part of a series of tasks to standardizing fonts to start using FXFontStyles.
Background Context: Previously, we were using
DefaultDynamicFontHelper
and setting the text style, size and weight for each font, which sometimes did not match our design system. By usingFXFontStyles
, we can standardize our fonts and be more aligned with the design system.Task: Please update how we set fonts in the Firefox iOS Project related:
TabCell
TopTabCell
TabPrintPageRenderer
Acceptance Criteria:
Replace usage of
DefaultDynamicFontHelper
withFXFontStyles
If there are discrepancies in terms of replacing the old fonts with the new standard, we will need to bring design in to approve the PR.
Please provide before and after screenshots of the UI.
Reference:
Usage example:
FXFontStyles.Regular.headline.scaledFont()
See this PR for example of standardizing fonts for Primary Button:
https://github.com/mozilla-mobile/firefox-ios/pull/18711/files
┆Issue is synchronized with this Jira Task