File tree Expand file tree Collapse file tree
Projects/Modules/DSKit/Sources/Component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public final class NDGLBtn: UIButton {
8181private extension NDGLBtn {
8282 func setUI( ) {
8383 configuration = UIButton . Configuration. plain ( )
84- configuration? . background. cornerRadius = 8
84+ configuration? . background. cornerRadius = 8 . adjustedH
8585
8686 if let icon = self . iconImage, let alignment = self . iconAlignment {
8787 let resizedIcon = icon. resize ( targetSize: self . size. iconSize)
@@ -102,8 +102,8 @@ private extension NDGLBtn {
102102 backgroundColor = DSKitAsset . Colors. black300. color
103103 foregroundColor = DSKitAsset . Colors. black400. color
104104 case . highlighted:
105- backgroundColor = self . style. backgroundColor. withAlphaComponent ( 0.5 )
106- foregroundColor = self . style. contentsColor. withAlphaComponent ( 0.5 )
105+ backgroundColor = self . style. backgroundColor. withAlphaComponent ( 0.9 )
106+ foregroundColor = self . style. contentsColor. withAlphaComponent ( 0.9 )
107107 default :
108108 backgroundColor = self . style. backgroundColor
109109 foregroundColor = self . style. contentsColor
You can’t perform that action at this time.
0 commit comments