2021-01-24 18:04:44 +01:00
|
|
|
import Foundation
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
enum ConstantsUI {
|
|
|
|
|
|
|
|
/// color for section titles in grouped table views, example in settings view
|
2021-03-22 22:27:23 +01:00
|
|
|
static let tableViewHeaderTextColor = UIColor.lightGray
|
2021-01-24 18:04:44 +01:00
|
|
|
|
2021-03-08 21:13:55 +01:00
|
|
|
/// color to use as background when a row is selected
|
2021-03-22 22:27:23 +01:00
|
|
|
static let tableRowSelectedBackGroundColor = UIColor.darkGray
|
2021-03-08 21:13:55 +01:00
|
|
|
|
2021-03-14 23:26:07 +01:00
|
|
|
/// color to use for disclosure indicator in settings views
|
2021-03-22 22:27:23 +01:00
|
|
|
static let disclosureIndicatorColor = UIColor.gray
|
2021-03-14 23:26:07 +01:00
|
|
|
|
2021-05-06 13:28:04 +02:00
|
|
|
/// define the formatting to be used to style the segmented controls on the home screen
|
|
|
|
static let segmentedControlFont = UIFont.systemFont(ofSize: 10)
|
|
|
|
static let segmentedControlBackgroundColor = UIColor.init(white: 0.05, alpha: 1)
|
|
|
|
static let segmentedControlBorderWidth: CGFloat = 0.0
|
|
|
|
static let segmentedControlNormalTextColor = UIColor.gray
|
|
|
|
static let segmentedControlSelectedTextColor = UIColor.black
|
|
|
|
static let segmentedControlSelectedTintColor = UIColor.lightGray
|
|
|
|
|
2021-01-24 18:04:44 +01:00
|
|
|
}
|