diff --git a/app/src/main/kotlin/com/subtracks/ui/components/HeroDetailScaffold.kt b/app/src/main/kotlin/com/subtracks/ui/components/HeroDetailScaffold.kt index b3df0486..7c489f46 100644 --- a/app/src/main/kotlin/com/subtracks/ui/components/HeroDetailScaffold.kt +++ b/app/src/main/kotlin/com/subtracks/ui/components/HeroDetailScaffold.kt @@ -98,7 +98,7 @@ fun HeroDetailScaffold( val effectiveArtwork = artwork ?: baseArtworkColors() CompositionLocalProvider(LocalContentColor provides MaterialTheme.colorScheme.onBackground) { ArtworkTheme(effectiveArtwork) { - BoxWithConstraints(modifier.fillMaxSize().background(Color.Black)) { + BoxWithConstraints(modifier.fillMaxSize().background(MaterialTheme.colorScheme.background)) { val listState = rememberLazyListState() val fill = rememberViewportFill(listState) val density = LocalDensity.current diff --git a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt index 75eb4d7d..dbe87cfe 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt @@ -276,7 +276,7 @@ fun ArtistDetailScreen( CompositionLocalProvider(LocalContentColor provides MaterialTheme.colorScheme.onBackground) { ArtworkTheme(effectiveArtwork) { - BoxWithConstraints(modifier.fillMaxSize().background(Color.Black)) { + BoxWithConstraints(modifier.fillMaxSize().background(MaterialTheme.colorScheme.background)) { val screenHeightPx = with(density) { maxHeight.toPx() } val barHeightPx = with(density) { barHeight.toPx() } val gradientScrollPx = scrollPx - imageHeightPx diff --git a/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt b/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt index 6f7e4f6e..443b3743 100644 --- a/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt @@ -231,7 +231,7 @@ fun NowPlayingScreen( CompositionLocalProvider(LocalContentColor provides MaterialTheme.colorScheme.onBackground) { ArtworkTheme(artwork) { - Box(modifier.fillMaxSize().background(Color.Black)) { + Box(modifier.fillMaxSize().background(MaterialTheme.colorScheme.background)) { HeroGradient( colors = artwork, scrollPx = { 0f },