diff --git a/VDS/Typography/Typography.swift b/VDS/Typography/Typography.swift index 70f0601b..a680ebc0 100644 --- a/VDS/Typography/Typography.swift +++ b/VDS/Typography/Typography.swift @@ -89,7 +89,7 @@ extension TextStyle { let newRaw = rawValue.prefix(1).description.uppercased() + rawValue.dropFirst() styleName = "\(isBold ? "bold" : "")\(newRaw)\(fontSize?.rawValue ?? "")" } else { - styleName = "\(newRaw)\(fontSize?.rawValue ?? "")" + styleName = "\(rawValue)\(fontSize?.rawValue ?? "")" } guard let style = TextStyle(rawValue: styleName) else { return nil