diff --git a/VDS/Typography/VDSFontStyles.swift b/VDS/Typography/VDSFontStyles.swift index f4f1daef..0851b97a 100644 --- a/VDS/Typography/VDSFontStyles.swift +++ b/VDS/Typography/VDSFontStyles.swift @@ -21,7 +21,7 @@ public enum VDSFontWeight: String, Codable { } } -public enum VDSTextPosition: String, Codable { +public enum VDSTextPosition: String, Codable, CaseIterable { case left, right, center var textAlignment: NSTextAlignment { @@ -36,7 +36,7 @@ public enum VDSTextPosition: String, Codable { } } -public enum VDSFontCategory: String, Codable { +public enum VDSFontCategory: String, Codable, CaseIterable { case feature case title case body @@ -52,7 +52,7 @@ public enum VDSFontCategory: String, Codable { } } -public enum VDSFontSize: String, Codable { +public enum VDSFontSize: String, Codable, CaseIterable { case xxlarge case xlarge case large @@ -72,7 +72,7 @@ public enum VDSFontSize: String, Codable { } } -public enum VDSFontStyle: String, Codable { +public enum VDSFontStyle: String, Codable, CaseIterable { public enum Error: Swift.Error { case fontNotFound }