xdripswift/xdrip/Constants/ConstantsUI.swift

24 lines
962 B
Swift
Raw Normal View History

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
/// color to use as background when a row is selected
2021-03-22 22:27:23 +01:00
static let tableRowSelectedBackGroundColor = UIColor.darkGray
/// color to use for disclosure indicator in settings views
2021-03-22 22:27:23 +01:00
static let disclosureIndicatorColor = UIColor.gray
/// 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
}