Skip to content

Commit

Permalink
[DESIGN/#8] 바텀 바 배경색, indicatorColor 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Jul 5, 2024
1 parent c6696c0 commit 5bf385a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions feature/src/main/java/com/terning/feature/main/MainScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.navigation.compose.NavHost
import com.terning.core.designsystem.theme.Grey300
import com.terning.core.designsystem.theme.TerningMain
import com.terning.core.designsystem.theme.White
import com.terning.feature.calendar.navigation.calendarNavGraph
import com.terning.feature.home.navigation.homeNavGraph
import com.terning.feature.mypage.navigation.myPageNavGraph
Expand Down Expand Up @@ -71,7 +73,7 @@ private fun MainBottomBar(
AnimatedVisibility(
visible = isVisible,
) {
NavigationBar {
NavigationBar(containerColor = White) {
tabs.forEach { itemType ->
NavigationBarItem(
interactionSource = NoRippleInteractionSource,
Expand All @@ -95,9 +97,9 @@ private fun MainBottomBar(
.colors(
selectedIconColor = TerningMain,
selectedTextColor = TerningMain,
indicatorColor = MaterialTheme.colorScheme.surfaceColorAtElevation(
LocalAbsoluteTonalElevation.current
)
unselectedIconColor = Grey300,
unselectedTextColor = Grey300,
indicatorColor = White
)

)
Expand Down

0 comments on commit 5bf385a

Please sign in to comment.