We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a0398 commit 90fa200Copy full SHA for 90fa200
Sources/YMatterType/Typography/Typography+Enums.swift
@@ -42,7 +42,7 @@ extension Typography {
42
/// This will be useful for converting Figma tokens to `Typography` objects.
43
/// Common synonyms will be accepted, e.g. both "SemiBold" and "DemiBold" map to `.semibold`.
44
/// - Parameter weightName: the case-insensitive weight name, e.g. "Bold"
45
- init?(_ weightName: String) {
+ public init?(_ weightName: String) {
46
switch weightName.lowercased(with: Locale(identifier: "en_US")) {
47
case "ultralight", "extralight":
48
self = .ultralight
0 commit comments