diff --git a/Gongbaek_iOS/Gongbaek_iOS.xcodeproj/project.pbxproj b/Gongbaek_iOS/Gongbaek_iOS.xcodeproj/project.pbxproj index 9b5baee2..7176956c 100644 --- a/Gongbaek_iOS/Gongbaek_iOS.xcodeproj/project.pbxproj +++ b/Gongbaek_iOS/Gongbaek_iOS.xcodeproj/project.pbxproj @@ -20,8 +20,6 @@ isa = PBXFileSystemSynchronizedBuildFileExceptionSet; membershipExceptions = ( Global/Component/BottomSheet/.gitkeep, - Global/Component/Box/.gitkeep, - Global/Component/Modal/.gitkeep, Global/Component/Others/.gitkeep, Network/Service/DTO/Filling/.gitkeep, Presentation/Home/View/.gitkeep, diff --git a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/LocationBox.swift b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/LocationBox.swift index e5d8a804..73f56df7 100644 --- a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/LocationBox.swift +++ b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/LocationBox.swift @@ -17,7 +17,7 @@ struct LocationBox: View { Image(.icPlace16) .resizable() .frame(width: 16, height: 16) - .foregroundColor(iconColor) + .foregroundColor(.gray05) Text(text) .font(font) @@ -25,15 +25,6 @@ struct LocationBox: View { } } - private var iconColor: Color { - switch state { - case .gray: - return .gray05 - case .white: - return .grayWhite - } - } - private var textColor: Color { switch state { case .gray: diff --git a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/PersonBox.swift b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/PersonBox.swift index 13e5ceb2..13b9fba3 100644 --- a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/PersonBox.swift +++ b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/PersonBox.swift @@ -18,23 +18,14 @@ struct PersonBox: View { Image(.icPeople18) .resizable() .frame(width: 16, height: 16) - .foregroundColor(iconColor) - + .foregroundColor(.gray05) + Text(text) .font(font) .foregroundColor(textColor) } } - private var iconColor: Color { - switch state { - case .gray: - return .gray05 - case .white: - return .grayWhite - } - } - private var textColor: Color { switch state { case .gray: diff --git a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/TimeBox.swift b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/TimeBox.swift index f75ec8ff..a5b3e395 100644 --- a/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/TimeBox.swift +++ b/Gongbaek_iOS/Gongbaek_iOS/Global/Component/Box/TimeBox.swift @@ -22,23 +22,14 @@ struct TimeBox: View { Image(.icTime16) .resizable() .frame(width: 16, height: 16) - .foregroundColor(iconColor) - + .foregroundColor(.gray05) + Text(text) .font(font) .foregroundColor(textColor) } } - - private var iconColor: Color { - switch state { - case .gray: - return .gray05 - case .white: - return .grayWhite - } - } - + private var textColor: Color { switch state { case .gray: