blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
// Copyright © 2018 Stormbird PTE. LTD.
|
|
|
|
import UIKit
|
|
|
|
struct TicketRowViewModel {
|
|
var backgroundColor: UIColor {
|
|
return Colors.appWhite
|
|
}
|
|
|
|
var contentsBackgroundColor: UIColor {
|
|
return Colors.appWhite
|
|
}
|
|
|
|
var titleColor: UIColor {
|
|
return Colors.appText
|
|
}
|
|
|
|
var countColor: UIColor {
|
|
return Colors.appHighlightGreen
|
|
}
|
|
|
|
var subtitleColor: UIColor {
|
|
return UIColor(red: 112, green: 112, blue: 112)
|
|
}
|
|
|
|
var iconsColor: UIColor {
|
|
return Colors.appBackground
|
|
}
|
|
|
|
var ticketCountFont: UIFont {
|
|
return Fonts.bold(size: 21)!
|
|
}
|
|
|
|
var titleFont: UIFont {
|
|
return Fonts.light(size: 21)!
|
|
}
|
|
|
|
var venueFont: UIFont {
|
|
return Fonts.light(size: 16)!
|
|
}
|
|
|
|
var stateBackgroundColor: UIColor {
|
|
return UIColor(red: 151, green: 151, blue: 151)
|
|
}
|
|
|
|
var stateColor: UIColor {
|
|
return .white
|
|
}
|
|
|
|
var subtitleFont: UIFont {
|
|
if ScreenChecker().isNarrowScreen() {
|
|
return Fonts.semibold(size: 12)!
|
|
} else {
|
|
return Fonts.semibold(size: 15)!
|
|
}
|
|
}
|
|
|
|
var detailsFont: UIFont {
|
|
return Fonts.light(size: 16)!
|
|
}
|
|
}
|
|
|