mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
26
iphone/DatePicker/DatePicker/DatePickerViewTheme.swift
Normal file
26
iphone/DatePicker/DatePicker/DatePickerViewTheme.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
import UIKit
|
||||
|
||||
public struct DatePickerViewTheme {
|
||||
public var monthHeaderBackgroundColor: UIColor = .white
|
||||
|
||||
public var monthHeaderColor: UIColor = .darkText
|
||||
public var monthHeaderFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .semibold)
|
||||
public var weekdaySymbolsColor: UIColor = .darkText
|
||||
public var weekdaySymbolsFont: UIFont = UIFont.systemFont(ofSize: 14, weight: .regular)
|
||||
|
||||
public var dayColor: UIColor = .darkText
|
||||
public var dayFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .regular)
|
||||
|
||||
public var inactiveDayColor: UIColor = .lightGray
|
||||
public var inactiveDayFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .regular)
|
||||
|
||||
public var selectedDayColor: UIColor = .white
|
||||
public var selectedDayFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .semibold)
|
||||
public var selectedDayBackgroundColor: UIColor = .systemBlue
|
||||
|
||||
public var selectedRangeColor: UIColor = .white
|
||||
public var selectedRangeFont: UIFont = UIFont.systemFont(ofSize: 16, weight: .regular)
|
||||
public var selectedRangeBackgroundColor: UIColor = UIColor.systemBlue.withAlphaComponent(0.3)
|
||||
|
||||
public init() {}
|
||||
}
|
||||
Reference in New Issue
Block a user