-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added font-weight support #54
base: main
Are you sure you want to change the base?
Conversation
case "normal": return .regular | ||
case "bold": return .bold | ||
case "bolder": return .black |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with these spacings? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ocd? hahah I'm just a fan of lined-up code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean any SwiftFormat/SwiftLint or similar tool would start freaking out here 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alr I'll use conventions then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@msrutek-paylocity I fixed the spacing using swift conventions 🖖
Added font-weight support #51 with a note for
lighter
andbolder
which are context related and must be fixed in a future patch (that's why we use a member function rather than an extension onFont.Weight
).Fixed the exhaustive switch warning in
MBezierPath
as well.