@@ -29,7 +29,6 @@ import { Illustration } from "~/components/illustration";
2929import { LoadableText } from "~/components/loadable_text" ;
3030import { usePickArtistModal } from "~/components/pick-artist" ;
3131import * as Haptics from "~/haptics" ;
32- import { useAccentColor } from "~/hooks/accent-color" ;
3332import { Button } from "~/primitives/button" ;
3433import { Icon } from "~/primitives/icon" ;
3534import { Pressable } from "~/primitives/pressable" ;
@@ -113,7 +112,6 @@ const PlayControls = () => {
113112
114113const ProgressControls = ( ) => {
115114 const currentTrack = useAtomValue ( currentTrackAtom ) ;
116- const accentColor = useAccentColor ( currentTrack ?. track . illustration ) ;
117115 const progress = useAtomValue ( progressAtom ) ;
118116 const duration = useAtomValue ( durationAtom ) ;
119117 const { theme } = useUnistyles ( ) ;
@@ -136,10 +134,8 @@ const ProgressControls = () => {
136134 />
137135 </ View >
138136 < Slider
139- sliderColor = { accentColor ?? theme . colors . text . primary }
140- trackColor = {
141- accentColor ? `${ accentColor } 30` : theme . colors . skeleton
142- }
137+ sliderColor = { theme . colors . text . primary }
138+ trackColor = { theme . colors . skeleton }
143139 />
144140 </ View >
145141 ) ;
@@ -345,6 +341,7 @@ const IllustrationOrVideo = () => {
345341 return (
346342 < Illustration
347343 illustration = { currentTrack ?. track . illustration }
344+ shadowStyle = { styles . illustrationShadow }
348345 quality = "original"
349346 variant = "center"
350347 />
@@ -366,6 +363,12 @@ const styles = StyleSheet.create((theme, _rt) => ({
366363 maxHeight : "60%" ,
367364 maxWidth : breakpoints . sm ,
368365 } ,
366+ illustrationShadow : {
367+ boxShadow :
368+ theme . name === "light"
369+ ? `0px 0px 20px 0px grey`
370+ : `0px 0px 20px 0px #303030` ,
371+ } ,
369372 illustration : {
370373 aspectRatio : 1 ,
371374 width : "100%" ,
0 commit comments