diff --git a/iOS/Inspector/Inspector.storyboard b/iOS/Inspector/Inspector.storyboard index e87fb1179..c5dfeee7e 100644 --- a/iOS/Inspector/Inspector.storyboard +++ b/iOS/Inspector/Inspector.storyboard @@ -1,8 +1,9 @@ - + - + + @@ -118,6 +119,14 @@ + + + + + + + + @@ -166,4 +175,9 @@ + + + + + diff --git a/iOS/Resources/Assets.xcassets/deleteBackgroundColor.colorset/Contents.json b/iOS/Resources/Assets.xcassets/deleteBackgroundColor.colorset/Contents.json new file mode 100644 index 000000000..1af5a3916 --- /dev/null +++ b/iOS/Resources/Assets.xcassets/deleteBackgroundColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + }, + "colors" : [ + { + "idiom" : "universal", + "color" : { + "color-space" : "srgb", + "components" : { + "red" : "0xD1", + "alpha" : "1.000", + "blue" : "0xD6", + "green" : "0xD1" + } + } + }, + { + "idiom" : "universal", + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "red" : "0x3A", + "alpha" : "1.000", + "blue" : "0x3C", + "green" : "0x3A" + } + } + } + ] +} \ No newline at end of file diff --git a/iOS/UIKit Extensions/VibrantButton.swift b/iOS/UIKit Extensions/VibrantButton.swift index dc311d549..51a4a7021 100644 --- a/iOS/UIKit Extensions/VibrantButton.swift +++ b/iOS/UIKit Extensions/VibrantButton.swift @@ -9,6 +9,8 @@ import UIKit class VibrantButton: UIButton { + + @IBInspectable var backgroundHighlightColor: UIColor = AppAssets.secondaryAccentColor override init(frame: CGRect) { super.init(frame: frame) @@ -25,7 +27,7 @@ class VibrantButton: UIButton { override var isHighlighted: Bool { didSet { - backgroundColor = isHighlighted ? AppAssets.secondaryAccentColor : nil + backgroundColor = isHighlighted ? backgroundHighlightColor : nil titleLabel?.alpha = 1 } }