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.
34 lines
881 B
34 lines
881 B
// Copyright SIX DAY LLC. All rights reserved.
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
func applyStyle() {
|
|
|
|
if #available(iOS 11, *) {
|
|
} else {
|
|
UINavigationBar.appearance().isTranslucent = false
|
|
}
|
|
|
|
UINavigationBar.appearance().tintColor = Colors.blue
|
|
|
|
UINavigationBar.appearance().titleTextAttributes = [
|
|
NSForegroundColorAttributeName: Colors.black,
|
|
]
|
|
}
|
|
|
|
struct Colors {
|
|
static let darkBlue = UIColor(hex: "1E76CE")
|
|
static let blue = UIColor(hex: "2e91db")
|
|
static let red = UIColor(hex: "f7506c")
|
|
static let green = UIColor(hex: "2fbb4f")
|
|
static let lightGray = UIColor.lightGray
|
|
static let gray = UIColor.gray
|
|
static let darkGray = UIColor(hex: "606060")
|
|
static let black = UIColor(hex: "313849")
|
|
static let lightBlack = UIColor(hex: "313849")
|
|
}
|
|
|
|
struct StyleLayout {
|
|
static let sideMargin: CGFloat = 15
|
|
}
|
|
|