라이브 정보 수정

- 연령 제한 설정 추가
This commit is contained in:
Yu Sung
2024-09-11 14:58:55 +09:00
parent 8aa69f02fc
commit 3db59e6236
5 changed files with 85 additions and 29 deletions

View File

@@ -42,13 +42,13 @@ struct SodaDialog: View {
VStack(spacing: 0) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "bbbbbb"))
.foregroundColor(Color.graybb)
.padding(.top, 40)
Text(desc)
.font(.custom(Font.medium.rawValue, size: 15))
.foregroundColor(Color(hex: "bbbbbb"))
.multilineTextAlignment(.center)
.foregroundColor(Color.graybb)
.multilineTextAlignment(.leading)
.padding(.top, 12)
.padding(.horizontal, 13.3)
.fixedSize(horizontal: false, vertical: true)
@@ -57,14 +57,14 @@ struct SodaDialog: View {
if cancelButtonTitle.count > 0 {
Text(cancelButtonTitle)
.font(.custom(Font.bold.rawValue, size: 15.3))
.foregroundColor(Color(hex: "3bb9f1"))
.foregroundColor(Color.button)
.padding(.vertical, 16)
.frame(width: (geo.size.width - 66.7) / 3)
.background(Color(hex: "13181b"))
.background(Color.bg)
.cornerRadius(8)
.overlay(
RoundedRectangle(cornerRadius: 8)
.stroke(Color(hex: "3bb9f1"), lineWidth: 1)
.stroke(Color.button, lineWidth: 1)
)
.onTapGesture {
cancelButtonAction()
@@ -73,10 +73,10 @@ struct SodaDialog: View {
Text(confirmButtonTitle)
.font(.custom(Font.bold.rawValue, size: 15.3))
.foregroundColor(Color(hex: "ffffff"))
.foregroundColor(Color.white)
.padding(.vertical, 16)
.frame(width: (geo.size.width - 66.7) * 2 / 3)
.background(Color(hex: "3bb9f1"))
.background(Color.button)
.cornerRadius(8)
.onTapGesture {
confirmButtonAction()
@@ -86,7 +86,7 @@ struct SodaDialog: View {
.padding(.bottom, 16.7)
}
.frame(width: geo.size.width - 26.7, alignment: .center)
.background(Color(hex: "222222"))
.background(Color.gray22)
.cornerRadius(10)
}
}