Skip to content

Commit 90fa200

Browse files
Mark Pospeselmpospese
authored andcommitted
Initializer needs to be public
1 parent 92a0398 commit 90fa200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/YMatterType/Typography/Typography+Enums.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extension Typography {
4242
/// This will be useful for converting Figma tokens to `Typography` objects.
4343
/// Common synonyms will be accepted, e.g. both "SemiBold" and "DemiBold" map to `.semibold`.
4444
/// - Parameter weightName: the case-insensitive weight name, e.g. "Bold"
45-
init?(_ weightName: String) {
45+
public init?(_ weightName: String) {
4646
switch weightName.lowercased(with: Locale(identifier: "en_US")) {
4747
case "ultralight", "extralight":
4848
self = .ultralight

0 commit comments

Comments
 (0)