vds_ios/VDS/Components/TitleLockup/TitleLockupTextStyle.swift
Matt Bruce c0236a433c documentation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 10:08:28 -05:00

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 }
}
}