Skip to content

Commit ccc3bcc

Browse files
committed
CHORE: ktlint 적용
1 parent ff1f55a commit ccc3bcc

4 files changed

Lines changed: 24 additions & 25 deletions

File tree

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
package com.threegap.bitnagil.designsystem
1+
package com.threegap.bitnagil.designsystem
22

3-
import androidx.compose.foundation.isSystemInDarkTheme
4-
import androidx.compose.runtime.Composable
5-
import androidx.compose.runtime.CompositionLocalProvider
6-
import androidx.compose.runtime.ReadOnlyComposable
7-
import androidx.compose.runtime.staticCompositionLocalOf
8-
import com.threegap.bitnagil.designsystem.color.BitnagilColors
9-
import com.threegap.bitnagil.designsystem.color.LocalBitnagilColors
10-
import com.threegap.bitnagil.designsystem.color.bitnagilColorsDark
11-
import com.threegap.bitnagil.designsystem.color.bitnagilColorsLight
12-
import com.threegap.bitnagil.designsystem.typography.BitnagilTypography
13-
import com.threegap.bitnagil.designsystem.typography.LocalBitnagilTypography
3+
import androidx.compose.foundation.isSystemInDarkTheme
4+
import androidx.compose.runtime.Composable
5+
import androidx.compose.runtime.CompositionLocalProvider
6+
import androidx.compose.runtime.ReadOnlyComposable
7+
import androidx.compose.runtime.staticCompositionLocalOf
8+
import com.threegap.bitnagil.designsystem.color.BitnagilColors
9+
import com.threegap.bitnagil.designsystem.color.LocalBitnagilColors
10+
import com.threegap.bitnagil.designsystem.color.bitnagilColorsDark
11+
import com.threegap.bitnagil.designsystem.color.bitnagilColorsLight
12+
import com.threegap.bitnagil.designsystem.typography.BitnagilTypography
13+
import com.threegap.bitnagil.designsystem.typography.LocalBitnagilTypography
1414

15-
object BitnagilTheme {
16-
val colors: BitnagilColors
15+
object BitnagilTheme {
16+
val colors: BitnagilColors
1717
@Composable
1818
@ReadOnlyComposable
1919
get() = LocalBitnagilColors.current
2020

21-
val typography: BitnagilTypography
21+
val typography: BitnagilTypography
2222
@Composable
2323
@ReadOnlyComposable
2424
get() = LocalBitnagilTypography.current
25-
}
25+
}
2626

27-
@Composable
28-
fun BitnagilTheme(
27+
@Composable
28+
fun BitnagilTheme(
2929
darkTheme: Boolean = isSystemInDarkTheme(),
3030
content: @Composable () -> Unit,
31-
) {
31+
) {
3232
val colors = when {
3333
darkTheme -> staticCompositionLocalOf { bitnagilColorsLight() }
3434
else -> staticCompositionLocalOf { bitnagilColorsDark() }
@@ -37,6 +37,6 @@
3737
CompositionLocalProvider(
3838
LocalBitnagilTypography provides LocalBitnagilTypography.current,
3939
LocalBitnagilColors provides colors.current,
40-
content = content
40+
content = content,
4141
)
42-
}
42+
}

core/designsystem/src/main/java/com/threegap/bitnagil/designsystem/color/Color.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,3 @@ val Orange300 = Color(0xFFFF9F5E)
6262
val Orange200 = Color(0xFFFFBD91)
6363
val Orange100 = Color(0xFFFFD2B5)
6464
val Orange50 = Color(0xFFFFF1E7)
65-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ val pretendard = FontFamily(
2424
Font(R.font.pretendard_regular, FontWeight.W400, FontStyle.Normal),
2525
Font(R.font.pretendard_light, FontWeight.W300, FontStyle.Normal),
2626
Font(R.font.pretendard_extra_light, FontWeight.W200, FontStyle.Normal),
27-
Font(R.font.pretendard_thin, FontWeight.W100, FontStyle.Normal)
27+
Font(R.font.pretendard_thin, FontWeight.W100, FontStyle.Normal),
2828
)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal data class BitnagilTextStyle(
1717
val fontSize: Int,
1818
val lineHeight: Int,
1919
val letterSpacing: Float = 0f,
20-
val decoration: TextDecoration? = null
20+
val decoration: TextDecoration? = null,
2121
) {
2222
val toDpTextStyle: TextStyle
2323
@Composable get() =
@@ -38,7 +38,7 @@ internal data class BitnagilTextStyle(
3838
fontSize = fontSize.sp,
3939
letterSpacing = letterSpacing.sp,
4040
lineHeight = lineHeight.sp,
41-
textDecoration = decoration
41+
textDecoration = decoration,
4242
)
4343
}
4444

0 commit comments

Comments
 (0)