Skip to content

Commit f08d4e3

Browse files
committed
Add: Cafe24SsurroundAir 폰트 추가
1 parent 983cb02 commit f08d4e3

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

core/designsystem/src/main/java/com/threegap/bitnagil/designsystem/font/Font.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ val pretendard = FontFamily(
1717
Font(R.font.pretendard_extra_light, FontWeight.ExtraLight, FontStyle.Normal),
1818
Font(R.font.pretendard_thin, FontWeight.Thin, FontStyle.Normal),
1919
)
20+
21+
val cafe24SsurroundAir = FontFamily(
22+
Font(R.font.cafe_24_ssurround_air_v1_1, FontWeight.Light, FontStyle.Normal),
23+
)

core/designsystem/src/main/java/com/threegap/bitnagil/designsystem/typography/Type.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import androidx.compose.runtime.staticCompositionLocalOf
66
import androidx.compose.ui.text.TextStyle
77
import androidx.compose.ui.text.font.FontWeight
88
import androidx.compose.ui.text.style.TextDecoration
9+
import com.threegap.bitnagil.designsystem.font.cafe24SsurroundAir
910
import com.threegap.bitnagil.designsystem.font.pretendard
1011

1112
@Immutable
@@ -93,6 +94,13 @@ class BitnagilTypography internal constructor(
9394
fontSize = 14,
9495
lineHeight = 20,
9596
),
97+
private val _cafe24SsurroundAir: BitnagilTextStyle = BitnagilTextStyle(
98+
fontFamily = cafe24SsurroundAir,
99+
fontWeight = FontWeight.Light,
100+
fontSize = 24,
101+
lineHeight = 36,
102+
letterSpacing = (-0.5f),
103+
),
96104
) {
97105
private val _headline1Bold = _headline1.copy(fontWeight = FontWeight.Bold)
98106
private val _headline1Medium = _headline1.copy(fontWeight = FontWeight.Medium)
@@ -154,6 +162,7 @@ class BitnagilTypography internal constructor(
154162
val caption2Regular: TextStyle @Composable get() = _caption2.toDpTextStyle
155163
val button1: TextStyle @Composable get() = _button1.toDpTextStyle
156164
val button2: TextStyle @Composable get() = _button2.toDpTextStyle
165+
val cafe24SsurroundAir: TextStyle @Composable get() = _cafe24SsurroundAir.toDpTextStyle
157166
}
158167

159168
internal val LocalBitnagilTypography = staticCompositionLocalOf { BitnagilTypography() }
Binary file not shown.

0 commit comments

Comments
 (0)