Skip to content

Commit 4db9959

Browse files
committed
fix: #12 - 이미지 비율 및 하이라이트 색상 수정
1 parent 13086f3 commit 4db9959

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Projects/Modules/DSKit/Sources/Component/NDGLBtn.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public final class NDGLBtn: UIButton {
8181
private 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

0 commit comments

Comments
 (0)