From 4374f6496498f3234dd177ffa8c112fe282d13c6 Mon Sep 17 00:00:00 2001 From: Yoon Ah Shin Date: Sat, 25 Dec 2021 18:52:38 +0900 Subject: [PATCH] =?UTF-8?q?[Add]=20Catpion2=20=EC=B6=94=EA=B0=80(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CDSKit/Source/Foundation/CDSFont.swift | 1 + CDSKit/Source/Foundation/CDSTypography.swift | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CDSKit/Source/Foundation/CDSFont.swift b/CDSKit/Source/Foundation/CDSFont.swift index 0c98b14..8fefd0e 100644 --- a/CDSKit/Source/Foundation/CDSFont.swift +++ b/CDSKit/Source/Foundation/CDSFont.swift @@ -34,6 +34,7 @@ public enum CDSFont { public static let caption0 = UIFont.regularDINProFont(ofSize: 14) public static let caption1 = UIFont.boldSpoqaFont(ofSize: 12) + public static let caption2 = UIFont.regularSpoqaFont(ofSize: 12) public static let button0 = UIFont.mediumSpoqaFont(ofSize: 16) public static let button1 = UIFont.mediumSpoqaFont(ofSize: 14) diff --git a/CDSKit/Source/Foundation/CDSTypography.swift b/CDSKit/Source/Foundation/CDSTypography.swift index 8ec1f63..56f7f6d 100644 --- a/CDSKit/Source/Foundation/CDSTypography.swift +++ b/CDSKit/Source/Foundation/CDSTypography.swift @@ -26,6 +26,7 @@ extension String { case body7 case caption0 case caption1 + case caption2 case button0 case button1 case catchu0 @@ -65,6 +66,8 @@ extension String { return CDSFont.caption0 case .caption1: return CDSFont.caption1 + case .caption2: + return CDSFont.caption2 case .button0: return CDSFont.button0 case .button1: