fix: 메인 홈 - 라이브, 추천 채널

- 배경색 변경
This commit is contained in:
Yu Sung
2025-07-21 23:17:38 +09:00
parent 7318d7fcda
commit f3898ac415
2 changed files with 6 additions and 18 deletions

View File

@@ -41,24 +41,18 @@ struct HomeLiveItemView: View {
.truncationMode(.tail) .truncationMode(.tail)
Text(item.title) Text(item.title)
.font(.custom(Font.preRegular.rawValue, size: 16)) .font(.custom(Font.preRegular.rawValue, size: 14))
.foregroundColor(Color(hex: "B0BEC5")) .foregroundColor(Color(hex: "B0BEC5"))
.lineLimit(2) .lineLimit(1)
.truncationMode(.tail) .truncationMode(.tail)
} }
} }
.padding(.horizontal, 14) .padding(.leading, 14)
.padding(.trailing, 16)
.padding(.vertical, 10) .padding(.vertical, 10)
.frame(width: 282, alignment: .leading) .frame(width: 282, alignment: .leading)
.background(Color(hex: "2A339D")) .background(Color(hex: "263238"))
.cornerRadius(999) .cornerRadius(999)
.overlay(
RoundedRectangle(cornerRadius: 999)
.strokeBorder(
Color(hex: "FFFFFF"),
lineWidth: 1
)
)
.contentShape(Rectangle()) .contentShape(Rectangle())
.onTapGesture { onClickItem(item.roomId) } .onTapGesture { onClickItem(item.roomId) }
} }

View File

@@ -55,13 +55,7 @@ struct RecommendChannelItemView: View {
} }
.padding(20) .padding(20)
.frame(width: 280, alignment: .leading) .frame(width: 280, alignment: .leading)
.background( .background(Color(hex: "263238"))
LinearGradient(
gradient: Gradient(colors: [Color(hex: "5ACDE1"), Color(hex: "2A339D")]),
startPoint: .topLeading,
endPoint: .bottomTrailing
)
)
.cornerRadius(16) .cornerRadius(16)
} }
} }