File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
compose/src/main/java/com/yourssu/design/system/compose Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import androidx.compose.runtime.Composable
5
5
import androidx.compose.runtime.CompositionLocalProvider
6
6
import androidx.compose.runtime.ReadOnlyComposable
7
7
import com.yourssu.design.system.compose.base.ProvideTextStyle
8
- import com.yourssu.design.system.compose.foundation.LocalYdsContentColor
9
8
import com.yourssu.design.system.compose.foundation.LocalYdsColorScheme
9
+ import com.yourssu.design.system.compose.foundation.LocalYdsContentColor
10
10
import com.yourssu.design.system.compose.foundation.LocalYdsTypography
11
11
import com.yourssu.design.system.compose.foundation.YdsColorScheme
12
12
import com.yourssu.design.system.compose.foundation.YdsTypography
@@ -15,10 +15,11 @@ import com.yourssu.design.system.compose.foundation.lightColorScheme
15
15
16
16
@Composable
17
17
fun YdsTheme (
18
+ isDarkMode : Boolean = isSystemInDarkTheme(),
18
19
typography : YdsTypography = YdsTheme .typography,
19
- content : @Composable () -> Unit
20
+ content : @Composable () -> Unit ,
20
21
) {
21
- val colors = if (isSystemInDarkTheme() ) {
22
+ val colors = if (isDarkMode ) {
22
23
darkColorScheme
23
24
} else {
24
25
lightColorScheme
@@ -44,4 +45,4 @@ object YdsTheme {
44
45
@Composable
45
46
@ReadOnlyComposable
46
47
get() = LocalYdsTypography .current
47
- }
48
+ }
Original file line number Diff line number Diff line change 1
- versionName =2.5.9
1
+ versionName =2.5.10
2
2
# 자동 배포를 위해서 버전은 여기 한 군데에서 관리하면 된다
You can’t perform that action at this time.
0 commit comments