From c4f8e49d0efb056c44918052b84b44e58827831b Mon Sep 17 00:00:00 2001 From: SSOOYA <bsy24660@naver.com> Date: Wed, 15 Feb 2023 14:35:42 +0900 Subject: [PATCH] =?UTF-8?q?#171:=20Tag=20configuration=20height25=20?= =?UTF-8?q?=EC=BC=80=EC=9D=B4=EC=8A=A4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zatch/Global/Source/Component/Tag/TagStlye.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zatch/Global/Source/Component/Tag/TagStlye.swift b/Zatch/Global/Source/Component/Tag/TagStlye.swift index e2dfc8eb..c91d79b7 100644 --- a/Zatch/Global/Source/Component/Tag/TagStlye.swift +++ b/Zatch/Global/Source/Component/Tag/TagStlye.swift @@ -16,6 +16,7 @@ extension ZatchComponent.Tag{ enum TagType{ case height20 + case height25 } } @@ -77,6 +78,7 @@ extension ZatchComponent.Tag.TagType{ var padding: ZatchComponent.Padding{ switch self{ case .height20: return ZatchComponent.Padding(left: 8, right: 8, top: 0, bottom: 0) + case .height25: return ZatchComponent.Padding(left: 12, right: 12, top: 2, bottom: 2) default: return ZatchComponent.Padding(left: 0, right: 0, top: 0, bottom: 0) } } @@ -84,6 +86,7 @@ extension ZatchComponent.Tag.TagType{ var font: TypoStyle{ switch self{ case .height20: return .medium12 + case .height25: return .medium15_21 default: return .medium12 } } @@ -91,6 +94,7 @@ extension ZatchComponent.Tag.TagType{ var height: CGFloat{ switch self{ case .height20: return 20 + case .height25: return 25 default: return 20 } }