From 916873f9242209fc1330670f7dc6b62765e4df37 Mon Sep 17 00:00:00 2001 From: mmaybei Date: Sat, 6 Jul 2024 02:38:03 +0900 Subject: [PATCH] =?UTF-8?q?setting/#123=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KkuMulKum/Resource/Extension/UIFont+.swift | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/KkuMulKum/Resource/Extension/UIFont+.swift b/KkuMulKum/Resource/Extension/UIFont+.swift index d26f4fd5..c786e76a 100644 --- a/KkuMulKum/Resource/Extension/UIFont+.swift +++ b/KkuMulKum/Resource/Extension/UIFont+.swift @@ -13,27 +13,31 @@ extension UIFont { } enum Pretendard { - case title01, title02 + case title00, title01, title02 case head01, head02 case body01, body02, body03, body04, body05, body06 case caption01, caption02 - case label01, label02 + case label00, label01, label02 var weight: String { switch self { - case .title01, .head01, .body01, .body03, .body05, .caption01, .label01: "Pretendard-SemiBold" - case .title02, .head02, .body02, .body04, .body06, .caption02, .label02: "Pretendard-Regular" + case .title00: + "Pretendard-Bold" + case .title01, .head01, .body01, .body03, .body05, .caption01, .label01: + "Pretendard-SemiBold" + case .title02, .head02, .body02, .body04, .body06, .caption02, .label00, .label02: + "Pretendard-Regular" } } var size: CGFloat { switch self { - case .title01, .title02: 24 + case .title00, .title01, .title02: 24 case .head01, .head02: 22 case .body01, .body02: 18 case .body03, .body04: 16 case .body05, .body06: 14 - case .caption01, .caption02: 12 + case .caption01, .caption02, .label00: 12 case .label01, .label02: 10 } }