Skip to content

Commit

Permalink
Rename navigation item background color
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Aug 12, 2024
1 parent c39fe8c commit 834eea7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ private fun Navigation(
}
},
navigationSuiteColors = NavigationSuiteDefaults.colors(
navigationBarContainerColor = SwissTransferTheme.colors.navBarBackground,
navigationRailContainerColor = SwissTransferTheme.colors.navBarBackground,
navigationDrawerContainerColor = SwissTransferTheme.colors.navBarBackground,
navigationBarContainerColor = SwissTransferTheme.colors.navigationItemBackground,
navigationRailContainerColor = SwissTransferTheme.colors.navigationItemBackground,
navigationDrawerContainerColor = SwissTransferTheme.colors.navigationItemBackground,
),
layoutType = navType,
content = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ val dark_onSurfaceContainerHighest = Color(dark2)
val DarkColors = CustomColors(
primaryTextColor = Color(rabbit),
secondaryTextColor = Color(shark),
navBarBackground = Color(dark2),
navigationItemBackground = Color(dark2),
divider = Color(dark3),
)
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ val light_onSurfaceContainerHighest = Color(polar_bear)
val LightColors = CustomColors(
primaryTextColor = Color(orca),
secondaryTextColor = Color(elephant),
navBarBackground = light_background,
navigationItemBackground = light_background,
divider = Color(mouse),
)

@Immutable
data class CustomColors(
val primaryTextColor: Color,
val secondaryTextColor: Color,
val navBarBackground: Color,
val navigationItemBackground: Color,
val divider: Color,
)

0 comments on commit 834eea7

Please sign in to comment.