fix: 메인 홈 - 라이브, 추천 채널
- 배경색 변경
This commit is contained in:
@@ -41,24 +41,18 @@ struct HomeLiveItemView: View {
|
||||
.truncationMode(.tail)
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 16))
|
||||
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
.lineLimit(2)
|
||||
.lineLimit(1)
|
||||
.truncationMode(.tail)
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, 14)
|
||||
.padding(.leading, 14)
|
||||
.padding(.trailing, 16)
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: 282, alignment: .leading)
|
||||
.background(Color(hex: "2A339D"))
|
||||
.background(Color(hex: "263238"))
|
||||
.cornerRadius(999)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 999)
|
||||
.strokeBorder(
|
||||
Color(hex: "FFFFFF"),
|
||||
lineWidth: 1
|
||||
)
|
||||
)
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture { onClickItem(item.roomId) }
|
||||
}
|
||||
|
||||
@@ -55,13 +55,7 @@ struct RecommendChannelItemView: View {
|
||||
}
|
||||
.padding(20)
|
||||
.frame(width: 280, alignment: .leading)
|
||||
.background(
|
||||
LinearGradient(
|
||||
gradient: Gradient(colors: [Color(hex: "5ACDE1"), Color(hex: "2A339D")]),
|
||||
startPoint: .topLeading,
|
||||
endPoint: .bottomTrailing
|
||||
)
|
||||
)
|
||||
.background(Color(hex: "263238"))
|
||||
.cornerRadius(16)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user