Merge pull request #6103 from eviltofu/RemoveColorAppActionButtonShadow

Removed all direct references and definition of `Colors.appActionButtonShadow`.
pull/6120/head
Jerome Chan 2 years ago committed by GitHub
commit dc9ac79799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      AlphaWallet/Common/Types/AppStyle.swift
  2. 1
      AlphaWallet/Common/Types/Configuration.swift
  3. 2
      AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift

@ -100,7 +100,6 @@ extension UITabBarController {
}
struct Colors {
static let appActionButtonShadow = UIColor.clear
static let appBackground = UIColor.white
static let appGrayLabel = UIColor(red: 155, green: 155, blue: 155)
static let appGreenContrastBackground = UIColor(red: 86, green: 153, blue: 8)

@ -112,6 +112,7 @@ struct Configuration {
}
static let defaultButtonBorder = R.color.alabaster()!
static let actionButtonBackground = UIColor(red: 105, green: 200, blue: 0)
static let actionButtonShadow = UIColor.clear
static let labelTextActive = UIColor { trait in
return colorFrom(trait: trait, lightColor: R.color.mine()!, darkColor: R.color.white()!)

@ -387,7 +387,7 @@ struct ButtonsBarViewModel {
}
var buttonShadowColor: UIColor {
return Colors.appActionButtonShadow
return Configuration.Color.Semantic.actionButtonShadow
}
var buttonShadowOffset: CGSize {

Loading…
Cancel
Save