Skip to content

Commit 0706a96

Browse files
committed
[BOOK-346] feat: caption1/medium 추가
1 parent 965addd commit 0706a96

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Projects/BKDesign/Sources/Foundation/Typography/BKTextStyle.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@ public enum BKTextStyle {
271271

272272
case .caption1(let weight):
273273
switch weight {
274+
case .medium:
275+
return BKFontAttributes(
276+
fontName: .pretendardMedium,
277+
fontSize: .pt12,
278+
lineHeight: .p133_4,
279+
letterSpacing: .pNegative1
280+
)
274281
case .regular:
275282
return BKFontAttributes(
276283
fontName: .pretendardRegular,
@@ -286,7 +293,6 @@ public enum BKTextStyle {
286293
letterSpacing: .pNegative1
287294
)
288295
}
289-
290296
case .caption2(let weight):
291297
switch weight {
292298
case .regular:

0 commit comments

Comments
 (0)