Skip to content

[Enhancement] Update Stylesheet with fonts used in the project #131

Description

@thedc89

To help improve clarity and make the codebase cleaner, all fonts defined in various classes should go to the Stylesheet.swift file.

Example:

titleLabel.font = UIFont(name: "Roboto-Bold", size: UIView.getValueScaledByScreenWidthFor(baseValue: 17))

should be defined in the Stylesheet as follows:

enum FontStyles {
    static let headerTitle = UIFont(name: "Roboto-Bold", size: UIView.getValueScaledByScreenWidthFor(baseValue: 17))
  }

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions