49 lines
1.2 KiB
Swift
49 lines
1.2 KiB
Swift
//
|
|
// TitleLockupTextStyle.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 1/6/23.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension TitleLockup {
|
|
//--------------------------------------------------
|
|
// MARK: - Enums
|
|
//--------------------------------------------------
|
|
/// Enum that represents the textStyle avaiable for the title label.
|
|
public enum TitleStandardStyle: String, EnumSubset {
|
|
|
|
case featureMedium
|
|
case featureSmall
|
|
case featureXSmall
|
|
|
|
case title2XLarge
|
|
case titleXLarge
|
|
case titleLarge
|
|
case titleMedium
|
|
case titleSmall
|
|
|
|
case bodyLarge
|
|
case bodyMedium
|
|
case bodySmall
|
|
|
|
public var defaultValue: TextStyle.StandardStyle {.featureXSmall }
|
|
|
|
}
|
|
|
|
/// Enum that represents the textStyle avaiable for the eyebrow and subtitle label.
|
|
public enum OtherStandardStyle: String, EnumSubset {
|
|
case bodySmall
|
|
case bodyMedium
|
|
case bodyLarge
|
|
case titleSmall
|
|
case titleMedium
|
|
case titleLarge
|
|
case titleXLarge
|
|
|
|
public var defaultValue: TextStyle.StandardStyle { .bodyLarge }
|
|
|
|
}
|
|
}
|