fix: 메인 홈 - 지금 라이브 중
- 아이템 배경색 변경 - 라이브 제목과 크리에이터 닉네임 순서 변경
This commit is contained in:
@@ -34,11 +34,11 @@ struct HomeLiveItemView: View {
|
||||
}
|
||||
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
Text(item.title)
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text(item.creatorNickname)
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 16))
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
}
|
||||
@@ -46,23 +46,12 @@ struct HomeLiveItemView: View {
|
||||
.padding(.horizontal, 14)
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: 282, alignment: .leading)
|
||||
.background(
|
||||
RadialGradient(
|
||||
gradient: Gradient(colors: [Color(hex: "5ACDE1"), Color(hex: "2A339D")]),
|
||||
center: .center,
|
||||
startRadius: 0,
|
||||
endRadius: 200
|
||||
)
|
||||
)
|
||||
.background(Color(hex: "2A339D"))
|
||||
.cornerRadius(999)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 999)
|
||||
.strokeBorder(
|
||||
LinearGradient(
|
||||
colors: [Color(hex: "9AE2F6"), Color(hex: "FFFFFF")],
|
||||
startPoint: .topLeading,
|
||||
endPoint: .bottomTrailing
|
||||
),
|
||||
Color(hex: "FFFFFF"),
|
||||
lineWidth: 1
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user