Add new fonts for the reader on iOS

This commit is contained in:
Jackson Harper
2022-06-13 16:06:49 -07:00
parent ab6a225ccf
commit b59dc45a39
102 changed files with 109 additions and 169 deletions

View File

@ -3,14 +3,17 @@ import Utils
public enum WebFont: String, CaseIterable {
case inter = "Inter"
case merriweather = "Merriweather"
case lyon = "Lyon"
case tisa = "Tisa"
case system = "unset"
case merriweather = "Merriweather"
case lora = "Lora"
case opensans = "Open Sans"
case roboto = "Roboto"
case crimsontext = "Crimson Text"
case sourceserifpro = "Source Serif Pro"
var displayValue: String {
switch self {
case .inter, .merriweather, .lyon, .tisa:
case .inter, .merriweather, .lora, .opensans, .roboto, .crimsontext, .sourceserifpro:
return rawValue
case .system:
return "System Default"

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More