Update Fonts related to SurveySurfaceViewController to use FXFontStyles #20307
Labels
Contributor Fix
A contributor has fixed this issue. It might still be opened as we're waiting for final QA approval
Contributor OK
This is a good issue for contributors interested in helping the project
Fonts
Relates to standardizing Fonts in the application
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:
SurveySurfaceViewController
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
The text was updated successfully, but these errors were encountered: