인기 콘텐츠 카테고리 뱃지 - stroke 색상 변경
This commit is contained in:
@@ -20,18 +20,18 @@ struct ContentMainRankingSortView: View {
|
||||
let sort = sorts[index]
|
||||
Text(sort)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.foregroundColor(Color(hex: selectedSort == sort ? "9970ff" : "777777"))
|
||||
.foregroundColor(selectedSort == sort ? Color.button : Color.gray77)
|
||||
.padding(.horizontal, 13.3)
|
||||
.padding(.vertical, 9.3)
|
||||
.border(
|
||||
Color(hex: selectedSort == sort ? "9970ff" : "eeeeee"),
|
||||
selectedSort == sort ? Color.button : Color.grayee,
|
||||
width: 0.5
|
||||
)
|
||||
.cornerRadius(16.7)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: CGFloat(16.7))
|
||||
.stroke(lineWidth: 0.5)
|
||||
.foregroundColor(Color(hex: selectedSort == sort ? "9970ff" : "eeeeee"))
|
||||
.foregroundColor(selectedSort == sort ? Color.button : Color.grayee)
|
||||
)
|
||||
.onTapGesture {
|
||||
if selectedSort != sort {
|
||||
|
Reference in New Issue
Block a user