feat(component): 캡슐 탭 선택 색상을 변경한다
This commit is contained in:
@@ -42,16 +42,16 @@ private struct CapsuleTabBarItem: View {
|
||||
} label: {
|
||||
Text(title)
|
||||
.appFont(.body5)
|
||||
.foregroundColor(Color.white)
|
||||
.foregroundColor(isSelected ? Color.black : Color.white)
|
||||
.lineLimit(1)
|
||||
.padding(.horizontal, SodaSpacing.s12)
|
||||
.padding(.vertical, SodaSpacing.s8)
|
||||
.frame(height: 34)
|
||||
.background(isSelected ? Color.soda400 : Color.black)
|
||||
.background(isSelected ? Color.white : Color.black)
|
||||
.clipShape(Capsule())
|
||||
.overlay(
|
||||
Capsule()
|
||||
.stroke(isSelected ? Color.soda400 : Color.gray700, lineWidth: 1)
|
||||
.stroke(isSelected ? Color.white : Color.gray700, lineWidth: 1)
|
||||
)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
|
||||
Reference in New Issue
Block a user