Skip to content

Commit

Permalink
style: changed album cover shadow to hsla color for better browser co…
Browse files Browse the repository at this point in the history
…mpatibility
  • Loading branch information
ZOASR committed Jan 8, 2024
1 parent 65bb595 commit 5dc1b7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/SolidLastFMViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export const lfmContext = createContext<lfmvHook>({
colors: {
primary: "",
secondary: "",
accent: ""
accent: "",
coverShadowColor: ""
},
pastTracks: [],
duration: 0
Expand Down Expand Up @@ -69,7 +70,7 @@ const SolidLastFMViewer = ({ api_key, user, updateInterval }: Props) => {
<>
<figure
style={{
"box-shadow": `0 0 20px rgb( from ${state.colors?.secondary} r g b / 25%)`
"box-shadow": `0 0 20px ${state.colors?.coverShadowColor}`
}}
>
<Show
Expand Down

0 comments on commit 5dc1b7f

Please sign in to comment.