gmarket_sans 폰트 제거
This commit is contained in:
@@ -247,9 +247,6 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>UIAppFonts</key>
|
<key>UIAppFonts</key>
|
||||||
<array>
|
<array>
|
||||||
<string>gmarket_sans_bold.otf</string>
|
|
||||||
<string>gmarket_sans_medium.otf</string>
|
|
||||||
<string>gmarket_sans_light.otf</string>
|
|
||||||
<string>Pretendard-Bold.otf</string>
|
<string>Pretendard-Bold.otf</string>
|
||||||
<string>Pretendard-Medium.otf</string>
|
<string>Pretendard-Medium.otf</string>
|
||||||
<string>Pretendard-Light.otf</string>
|
<string>Pretendard-Light.otf</string>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -247,9 +247,6 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>UIAppFonts</key>
|
<key>UIAppFonts</key>
|
||||||
<array>
|
<array>
|
||||||
<string>gmarket_sans_bold.otf</string>
|
|
||||||
<string>gmarket_sans_medium.otf</string>
|
|
||||||
<string>gmarket_sans_light.otf</string>
|
|
||||||
<string>Pretendard-Bold.otf</string>
|
<string>Pretendard-Bold.otf</string>
|
||||||
<string>Pretendard-Medium.otf</string>
|
<string>Pretendard-Medium.otf</string>
|
||||||
<string>Pretendard-Light.otf</string>
|
<string>Pretendard-Light.otf</string>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ struct TextViewWrapper: UIViewRepresentable {
|
|||||||
view.textColor = text.trimmingCharacters(in: .whitespacesAndNewlines) != "" ? UIColor(hex: textColorHex) : .placeholderText
|
view.textColor = text.trimmingCharacters(in: .whitespacesAndNewlines) != "" ? UIColor(hex: textColorHex) : .placeholderText
|
||||||
}
|
}
|
||||||
|
|
||||||
view.font = UIFont(name: Font.medium.rawValue, size: 13.3)
|
view.font = UIFont(name: Font.preMedium.rawValue, size: 13.3)
|
||||||
view.backgroundColor = backgroundColorHex.isEmpty ? .clear : UIColor(hex: backgroundColorHex)
|
view.backgroundColor = backgroundColorHex.isEmpty ? .clear : UIColor(hex: backgroundColorHex)
|
||||||
view.layer.cornerRadius = 6.7
|
view.layer.cornerRadius = 6.7
|
||||||
view.textContainerInset = UIEdgeInsets(top: 20, left: 13.3, bottom: 20, right: 13.3)
|
view.textContainerInset = UIEdgeInsets(top: 20, left: 13.3, bottom: 20, right: 13.3)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ struct ChatTextFieldView: UIViewRepresentable {
|
|||||||
textField.backgroundColor = UIColor(hex: "222222")
|
textField.backgroundColor = UIColor(hex: "222222")
|
||||||
textField.textColor = UIColor(hex: "BBBBBB")
|
textField.textColor = UIColor(hex: "BBBBBB")
|
||||||
textField.tintColor = UIColor(hex: "3BB9F1")
|
textField.tintColor = UIColor(hex: "3BB9F1")
|
||||||
textField.font = UIFont(name: Font.medium.rawValue, size: 13.3)
|
textField.font = UIFont(name: Font.preMedium.rawValue, size: 13.3)
|
||||||
textField.returnKeyType = .send
|
textField.returnKeyType = .send
|
||||||
textField.setContentHuggingPriority(.defaultLow, for: .horizontal) // 우선순위 낮추기
|
textField.setContentHuggingPriority(.defaultLow, for: .horizontal) // 우선순위 낮추기
|
||||||
textField.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) // 우선순위 낮추기
|
textField.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) // 우선순위 낮추기
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ struct FocusedTextField: UIViewRepresentable {
|
|||||||
func makeUIView(context: Context) -> UITextField {
|
func makeUIView(context: Context) -> UITextField {
|
||||||
let textField = UITextField()
|
let textField = UITextField()
|
||||||
textField.delegate = context.coordinator
|
textField.delegate = context.coordinator
|
||||||
textField.font = UIFont(name: Font.medium.rawValue, size: 13.3)
|
textField.font = UIFont(name: Font.preMedium.rawValue, size: 13.3)
|
||||||
textField.textColor = UIColor(hex: "eeeeee", alpha: 1.0)
|
textField.textColor = UIColor(hex: "eeeeee", alpha: 1.0)
|
||||||
textField.tintColor = UIColor(hex: "3bb9f1", alpha: 1.0)
|
textField.tintColor = UIColor(hex: "3bb9f1", alpha: 1.0)
|
||||||
textField.keyboardType = .default
|
textField.keyboardType = .default
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ struct CreatorCommunityAllItemView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DetectableTextView(text: item.content, textSize: 13.3, font: Font.medium.rawValue)
|
DetectableTextView(text: item.content, textSize: 13.3, font: Font.preMedium.rawValue)
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width - 42,
|
width: screenSize().width - 42,
|
||||||
height: textHeight
|
height: textHeight
|
||||||
|
|||||||
@@ -5,13 +5,7 @@
|
|||||||
// Created by klaus on 2023/08/09.
|
// Created by klaus on 2023/08/09.
|
||||||
//
|
//
|
||||||
|
|
||||||
enum Font: String {
|
enum Font: String {
|
||||||
case bold = "GmarketSansBold"
|
|
||||||
|
|
||||||
case medium = "GmarketSansMedium"
|
|
||||||
|
|
||||||
case light = "GmarketSansLight"
|
|
||||||
|
|
||||||
case preBold = "Pretendard-Bold"
|
case preBold = "Pretendard-Bold"
|
||||||
|
|
||||||
case preMedium = "Pretendard-Medium"
|
case preMedium = "Pretendard-Medium"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import UIKit
|
|||||||
struct DetectableTextView: UIViewRepresentable {
|
struct DetectableTextView: UIViewRepresentable {
|
||||||
var text: String
|
var text: String
|
||||||
var textSize: CGFloat = 11.3
|
var textSize: CGFloat = 11.3
|
||||||
var font: String = Font.light.rawValue
|
var font: String = Font.preLight.rawValue
|
||||||
|
|
||||||
func makeUIView(context: Context) -> UITextView {
|
func makeUIView(context: Context) -> UITextView {
|
||||||
let textView = UITextView()
|
let textView = UITextView()
|
||||||
|
|||||||
Reference in New Issue
Block a user