Skip to content

Commit

Permalink
Fix JetpackDropdownMenu background color
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanLukas committed Dec 12, 2023
1 parent b88b584 commit 97ad720
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ fun JetpackDropdownMenuPreview() {
AppTheme {
Box(
modifier = Modifier
.background(Color.Gray)
.padding(start = 8.dp, top = 8.dp)
.fillMaxWidth()
.fillMaxHeight()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ fun itemContentColor(): Color = if (isLightTheme()) {
fun itemBackgroundColor(): Color = if (isLightTheme()) {
AppColor.White
} else {
AppColor.Black
AppColor.DarkGray90
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ object AppColor {
@Stable
val DarkGray = Color(0xFF121212)

@Stable
val DarkGray90 = Color(0xE6121212)

@Stable
val Gray10 = Color(0xFFC3C4C7)

Expand Down

0 comments on commit 97ad720

Please sign in to comment.