Skip to content

Commit

Permalink
[PC-000] DesignSystem Typography 자간 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Dec 26, 2024
1 parent c36817a commit 684f13f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
Binary file modified .DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,84 +29,61 @@ private val PretendardMedium = FontFamily(
),
)

private val DecimalBook = FontFamily(
Font(
resId = R.font.decimal_book,
weight = FontWeight.Normal,
)
)

@Immutable
data class PieceTypography(
val heading1: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 28.sp,
lineHeight = 40.sp,
letterSpacing = (-0.28).sp, // -1% of 28sp
),
val heading2: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 24.sp,
lineHeight = 32.sp,
letterSpacing = (-0.24).sp, // -1% of 24sp
),
val heading3: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 20.sp,
lineHeight = 24.sp,
letterSpacing = (-0.2).sp, // -1% of 20sp
),
val heading4: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 18.sp,
lineHeight = 22.sp,
letterSpacing = (-0.18).sp, // -1% of 18sp
),
val heading5: TextStyle = TextStyle(
fontFamily = PretendardMedium,
fontSize = 18.sp,
lineHeight = 22.sp,
letterSpacing = (-0.18).sp,
),
val body1: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 16.sp,
lineHeight = 24.sp,
letterSpacing = (-0.16).sp,
),
val body2: TextStyle = TextStyle(
fontFamily = PretendardMedium,
fontSize = 16.sp,
lineHeight = 24.sp,
letterSpacing = (-0.16).sp,
),
val body3: TextStyle = TextStyle(
fontFamily = PretendardMedium,
fontSize = 16.sp,
lineHeight = 24.sp,
letterSpacing = (-0.16).sp,
),
val body4: TextStyle = TextStyle(
fontFamily = PretendardSemiBold,
fontSize = 14.sp,
lineHeight = 18.sp,
letterSpacing = (-0.14).sp,
),
val body5: TextStyle = TextStyle(
fontFamily = PretendardMedium,
fontSize = 14.sp,
lineHeight = 18.sp,
letterSpacing = (-0.14).sp,
),
val caption1: TextStyle = TextStyle(
fontFamily = PretendardMedium,
fontSize = 12.sp,
lineHeight = 16.sp,
letterSpacing = (-0.12).sp,
),
val decimalBook: TextStyle = TextStyle(
fontFamily = DecimalBook,
fontSize = 16.sp,
lineHeight = (19.2).sp,
)
)

0 comments on commit 684f13f

Please sign in to comment.