Closed BenShutt closed 1 year ago
Make a ScaledTextStyle ViewModifier that observes the
ScaledTextStyle
ViewModifier
@Environment(\.sizeCategory) var sizeCategory
so that its font changes size when the user updates their dynamic text size.
Update TextStyle to take into account font scaling (including updating line spacing)
TextStyle
Make a
ScaledTextStyle
ViewModifier
that observes theso that its font changes size when the user updates their dynamic text size.
Update
TextStyle
to take into account font scaling (including updating line spacing)