diff --git a/VDS/Typography/Typography.swift b/VDS/Typography/Typography.swift index a680ebc0..0df38e84 100644 --- a/VDS/Typography/Typography.swift +++ b/VDS/Typography/Typography.swift @@ -329,3 +329,9 @@ extension TextStyle { } } + +extension TextStyle: CustomDebugStringConvertible { + public var debugDescription: String { + "Name: \(self.rawValue) FontFace: \(font.fontName) FontWeight: \(self.rawValue.hasPrefix("bold") ? "bold" : "normal") PointSize: \(font.pointSize) LetterSpacing: \(letterSpacing) LineHeight: \(lineHeight)" + } +}