Files
comaps/iphone/DatePicker/DatePicker/DatePickerViewTheme.swift
Konstantin Pastbin e3e4a1985a 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
2025-05-08 21:10:51 +07:00

27 lines
1.1 KiB
Swift

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() {}
}