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-26 19:01:35 +02:00
|
|
|
/// segmentedControl font size
|
2021-05-06 17:51:40 +02:00
|
|
|
static let segmentedControlFont = UIFont.systemFont(ofSize: 11)
|
2021-05-26 19:01:35 +02:00
|
|
|
/// segmentedControl background color
|
2021-05-06 13:28:04 +02:00
|
|
|
static let segmentedControlBackgroundColor = UIColor.init(white: 0.05, alpha: 1)
|
2021-05-26 19:01:35 +02:00
|
|
|
/// segmentedControl border width
|
2021-05-06 13:28:04 +02:00
|
|
|
static let segmentedControlBorderWidth: CGFloat = 0.0
|
2021-05-26 19:01:35 +02:00
|
|
|
/// segmentedControl font color
|
2021-05-06 13:28:04 +02:00
|
|
|
static let segmentedControlNormalTextColor = UIColor.gray
|
2021-05-26 19:01:35 +02:00
|
|
|
/// segmentedControl font color when selected
|
2021-05-06 13:28:04 +02:00
|
|
|
static let segmentedControlSelectedTextColor = UIColor.black
|
2021-05-26 19:01:35 +02:00
|
|
|
/// segmentedControl background color when selected
|
2021-05-06 13:28:04 +02:00
|
|
|
static let segmentedControlSelectedTintColor = UIColor.lightGray
|
|
|
|
|
2021-05-24 14:16:20 +02:00
|
|
|
/// colors for lock screen button in toolbar
|
|
|
|
static let screenLockIconColor = UIColor.gray
|
|
|
|
|
2021-05-26 19:01:35 +02:00
|
|
|
/// value label font size when the screen is in normal operation mode
|
2021-05-24 14:16:20 +02:00
|
|
|
static let valueLabelFontSizeNormal = UIFont.systemFont(ofSize: 90)
|
2021-05-26 19:01:35 +02:00
|
|
|
/// value label font bigger size when the screen is in screen lock mode
|
2021-05-24 14:16:20 +02:00
|
|
|
static let valueLabelFontSizeScreenLock = UIFont.systemFont(ofSize: 120)
|
|
|
|
|
2021-05-26 19:01:35 +02:00
|
|
|
/// clock label font color. It shouldn't be too white or it could be distracting at night.
|
2021-05-24 14:16:20 +02:00
|
|
|
static let clockLabelColor = UIColor.lightGray
|
2021-05-26 19:01:35 +02:00
|
|
|
/// clock label font size (ideally should be set to the same as the bigger valueLabel font size
|
2021-05-24 14:16:20 +02:00
|
|
|
static let clockLabelFontSize = UIFont.systemFont(ofSize: 120)
|
|
|
|
|
2021-01-24 18:04:44 +01:00
|
|
|
}
|