Skip to content

Commit 5d1c44c

Browse files
committed
[FIX] #37 add textfield tintcolor
1 parent 1bc9741 commit 5d1c44c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Pinit/Pinit/Views/PinDetail/SubViews/NewPinReviewPanel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class NewPinReviewPanel: UIView {
4040
textField.layer.borderColor = UIColor(red: 169/255, green: 169/255, blue: 169/255, alpha: 1).cgColor // #A9A9A9 (다크 라이트 그레이)
4141
textField.layer.borderWidth = 2
4242
textField.textColor = .black
43+
textField.tintColor = DesignSystemColor.Purple.value
4344
textField.layer.cornerRadius = 20
4445
textField.font = DesignSystemFont.Pretendard_Medium16
4546
.value

Pinit/Pinit/Views/PinEdit/PinEditViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ extension PinEditViewController: UIImagePickerControllerDelegate, UINavigationCo
370370
extension PinEditViewController: UITextFieldDelegate, UITextViewDelegate{
371371

372372
func textFieldDidBeginEditing(_ textField: UITextField) {
373-
textField.text = ""
373+
if textField.text == "제목을 작성해주세요." {
374+
textField.text = ""
375+
}
374376
textField.layer.borderColor = DesignSystemColor.Purple.value.cgColor
375377
textField.layer.borderWidth = 2.0
376378
}

Pinit/Pinit/Views/Setting/SettingViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ final class SettingViewController: UIViewController {
4343

4444
//버튼 레이아웃 설정
4545
resetButton.setTitle("전체 기록 삭제", for: .normal)
46-
resetButton.titleLabel?.font = DesignSystemFont.Pretendard_Medium18.value
46+
resetButton.titleLabel?.font = DesignSystemFont.Pretendard_Bold14.value
4747
resetButton.addTarget(self, action: #selector(resetAlert), for: .touchUpInside)
4848

4949
resetButton.setTitleColor(.white, for: .normal)
5050

51-
resetButton.backgroundColor = .red
51+
resetButton.backgroundColor = DesignSystemColor.Purple.value
5252
resetButton.layer.cornerRadius = 10
5353

5454
resetButton.layer.masksToBounds = false

0 commit comments

Comments
 (0)