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.
37 lines
1.0 KiB
37 lines
1.0 KiB
// 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 = [
|
|
.foregroundColor: Colors.black,
|
|
]
|
|
}
|
|
|
|
struct Colors {
|
|
static let darkBlue = UIColor(hex: "1E76CE")
|
|
static let blue = UIColor(hex: "2e91db")
|
|
static let red = UIColor(hex: "f7506c")
|
|
static let veryLightRed = UIColor(hex: "FFF4F4")
|
|
static let veryLightOrange = UIColor(hex: "FFECC9")
|
|
static let green = UIColor(hex: "2fbb4f")
|
|
static let lightGray = UIColor.lightGray
|
|
static let veryLightGray = UIColor(hex: "F6F6F6")
|
|
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
|
|
}
|
|
|