YMatterType
YMatterType copied to clipboard
An opinionated take on Design System Typography for iOS and tvOS.
The text is aligned downward instead of center in the Typography label. We are using the Typography as below(Note this is not font specific). The screenshots are attached below. We...
## Introduction ## Add support for CocoaPods; a dependency manager for Swift and Objc ## Purpose ## Our aim is to provide support for CocoaPods as it is useful for...
Implement a SwiftUI version of `TypographyTextField`. It should be named `TextStyleTextField` and it should wrap `TypographyTextField` using a `TypographyTextFieldRepresentable`. See `TextStyleLabel` and `TypographyLabelRepresentable` for how to structure code and how...
Implement a SwiftUI version of `TypographyButton`. It should be named `TextStyleButton` and it should wrap `TypographyButton` using a `TypographyButtonRepresentable`. See `TextStyleLabel` and `TypographyLabelRepresentable` for how to structure code and how...
## Intro The `Typography.FontWeight` enum maps from a font weight to a number (1-999) using the styles found [here](https://learn.microsoft.com/en-us/dotnet/api/system.windows.fontweights) We have the values for `thin` and `ultralight` swapped. We're also...
Add a Helvetica font family, patterned off of the `HelveticaNeueFontFamily`, only it loads the Helvetica font and not the Helvetica Neue font. It should handle regular and italics and cover...
The height of the typography button (ignoring images) for a single line text label should be: ``` typography.lineHeight + contentEdgeInsets.top + contentEdgeInsets.bottom ``` But when `contentEdgeInsets == .zero` (which is...
`TypographyTextField` does not utilize paragraph styles to achieve its line height. This is because applying a paragraph style to UITextField can result in weird bugs (such as text wrapping to...
I asked @mpospese at 360|idev about future support for Swift UI. Here was his response: > SwiftUI is where we will turn our attention next, but we have not yet...