커뮤니티 댓글, 콘텐츠 댓글, 팬토크

- 글자 크기, 색상 수정
This commit is contained in:
Yu Sung 2024-02-24 23:49:50 +09:00
parent 0584b17b76
commit bc11519120
3 changed files with 21 additions and 21 deletions

View File

@ -33,8 +33,8 @@ struct AudioContentCommentItemView: View {
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
Text(commentItem.nickname) Text(commentItem.nickname)
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "eeeeee")) .foregroundColor(Color.gray90)
Text(commentItem.date) Text(commentItem.date)
.font(.custom(Font.medium.rawValue, size: 10.3)) .font(.custom(Font.medium.rawValue, size: 10.3))
@ -107,13 +107,13 @@ struct AudioContentCommentItemView: View {
.overlay( .overlay(
RoundedRectangle(cornerRadius: 10) RoundedRectangle(cornerRadius: 10)
.strokeBorder(lineWidth: 1) .strokeBorder(lineWidth: 1)
.foregroundColor(Color(hex: "3bb9f1")) .foregroundColor(Color.button)
) )
} else { } else {
VStack(alignment: .leading, spacing: 13.3) { VStack(alignment: .leading, spacing: 13.3) {
Text(commentItem.comment) Text(commentItem.comment)
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "777777")) .foregroundColor(Color.grayee)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
.padding(.top, commentItem.donationCan > 0 ? 0 : 13.3) .padding(.top, commentItem.donationCan > 0 ? 0 : 13.3)
@ -127,7 +127,7 @@ struct AudioContentCommentItemView: View {
) { ) {
Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)" : "답글 쓰기") Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)" : "답글 쓰기")
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color.button)
} }
} }
} }

View File

@ -33,8 +33,8 @@ struct CreatorCommunityCommentItemView: View {
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
Text(commentItem.nickname) Text(commentItem.nickname)
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "eeeeee")) .foregroundColor(Color.gray90)
Text(commentItem.date) Text(commentItem.date)
.font(.custom(Font.medium.rawValue, size: 10.3)) .font(.custom(Font.medium.rawValue, size: 10.3))
@ -86,8 +86,8 @@ struct CreatorCommunityCommentItemView: View {
} else { } else {
VStack(alignment: .leading, spacing: 13.3) { VStack(alignment: .leading, spacing: 13.3) {
Text(commentItem.comment) Text(commentItem.comment)
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "777777")) .foregroundColor(Color.grayee)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
.padding(.top, 13.3) .padding(.top, 13.3)
@ -101,7 +101,7 @@ struct CreatorCommunityCommentItemView: View {
) { ) {
Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)" : "답글 쓰기") Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)" : "답글 쓰기")
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color.button)
} }
} }
} }

View File

@ -37,12 +37,12 @@ struct UserProfileFanTalkCheersItemView: View {
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
Text("\(cheersItem.nickname)") Text("\(cheersItem.nickname)")
.font(.custom(Font.medium.rawValue, size: 13.3)) .font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "eeeeee")) .foregroundColor(Color.gray90)
Text("\(cheersItem.date)") Text("\(cheersItem.date)")
.font(.custom(Font.medium.rawValue, size: 10.7)) .font(.custom(Font.medium.rawValue, size: 10.7))
.foregroundColor(Color(hex: "525252")) .foregroundColor(Color.gray55)
.padding(.top, 8.3) .padding(.top, 8.3)
if isModeModify { if isModeModify {
@ -60,14 +60,14 @@ struct UserProfileFanTalkCheersItemView: View {
.overlay( .overlay(
RoundedRectangle(cornerRadius: 10) RoundedRectangle(cornerRadius: 10)
.strokeBorder(lineWidth: 1) .strokeBorder(lineWidth: 1)
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color.button)
) )
Text("수정") Text("수정")
.font(.custom(Font.bold.rawValue, size: 13.3)) .font(.custom(Font.bold.rawValue, size: 13.3))
.foregroundColor(Color(hex: "ffffff")) .foregroundColor(Color(hex: "ffffff"))
.padding(13.3) .padding(13.3)
.background(Color(hex: "9970ff")) .background(Color.button)
.cornerRadius(6.7) .cornerRadius(6.7)
.onTapGesture { .onTapGesture {
modifyCheer(cheersItem.cheersId, cheers) modifyCheer(cheersItem.cheersId, cheers)
@ -76,7 +76,7 @@ struct UserProfileFanTalkCheersItemView: View {
Text("취소") Text("취소")
.font(.custom(Font.bold.rawValue, size: 13.3)) .font(.custom(Font.bold.rawValue, size: 13.3))
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color.button)
.padding(13.3) .padding(13.3)
.background(Color(hex: "222222")) .background(Color(hex: "222222"))
.cornerRadius(6.7) .cornerRadius(6.7)
@ -87,8 +87,8 @@ struct UserProfileFanTalkCheersItemView: View {
.padding(.top, 13.3) .padding(.top, 13.3)
} else { } else {
Text("\(cheersItem.content)") Text("\(cheersItem.content)")
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "777777")) .foregroundColor(Color.grayee)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
.padding(.top, 13.3) .padding(.top, 13.3)
} }
@ -131,7 +131,7 @@ struct UserProfileFanTalkCheersItemView: View {
if userId == UserDefaults.int(forKey: .userId) { if userId == UserDefaults.int(forKey: .userId) {
Text("답글쓰기") Text("답글쓰기")
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "9970ff")) .foregroundColor(Color.button)
.padding(.top, 18.3) .padding(.top, 18.3)
.onTapGesture { .onTapGesture {
isShowInputReply = true isShowInputReply = true
@ -146,7 +146,7 @@ struct UserProfileFanTalkCheersItemView: View {
.frame(minWidth: 100) .frame(minWidth: 100)
.padding(.horizontal, 6.7) .padding(.horizontal, 6.7)
.padding(.vertical, 6.7) .padding(.vertical, 6.7)
.background(Color(hex: "9970ff").opacity(0.3)) .background(Color.button.opacity(0.3))
.cornerRadius(16.7) .cornerRadius(16.7)
.padding(.top, 18.3) .padding(.top, 18.3)