Commit be24ca9f by Daniel Dahan

development: updates to shadow

parent 32afdfa8
......@@ -121,9 +121,9 @@ public class MaterialButton : UIButton {
//
internal func prepareShadow() {
layer.shadowColor = MaterialTheme.black.color.CGColor
layer.shadowOffset = CGSizeMake(0.5, 0.5)
layer.shadowOpacity = 0.5
layer.shadowRadius = 5
layer.shadowOffset = CGSizeMake(0.1, 0.1)
layer.shadowOpacity = 0.4
layer.shadowRadius = 2
}
//
......
......@@ -120,9 +120,9 @@ public class MaterialCardView : UIView {
//
internal func prepareShadow() {
layer.shadowColor = MaterialTheme.black.color.CGColor
layer.shadowOffset = CGSizeMake(0.05, 0.05)
layer.shadowOffset = CGSizeMake(0, 0.1)
layer.shadowOpacity = 0.1
layer.shadowRadius = 3
layer.shadowRadius = 1
}
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment