Skip to content

Commit

Permalink
Merge pull request #3107 from metabrainz/ansh/fix-yim-image-colors
Browse files Browse the repository at this point in the history
fix: Text not visible in YIM 2024 Stats image
  • Loading branch information
MonkeyDo authored Jan 1, 2025
2 parents 19979cf + 014d668 commit 019eb36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/js/src/user/year-in-music/2024/YearInMusic2024.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ export default class YearInMusic extends React.Component<
const linkToUserProfile = `https://listenbrainz.org/user/${user.name}`;
const linkToThisPage = `${linkToUserProfile}/year-in-music/2024`;
const imageShareCustomStyles = `.background {\nfill: ${backgroundColor};\n}\n`;
const statsImageCustomStyles = `.background, text {\nfill: ${backgroundColor};\n}\n.outline {\nstroke: ${selectedSeason.text};\n}\n`;
const buddiesImages = [
`/static/img/year-in-music-24/${selectedSeasonName}/buddies/yim24-buddy-01.png`,
`/static/img/year-in-music-24/${selectedSeasonName}/buddies/yim24-buddy-02.png`,
Expand Down Expand Up @@ -1205,7 +1204,6 @@ export default class YearInMusic extends React.Component<
shareUrl={`${linkToThisPage}#stats`}
shareTitle="My music listening in 2024"
fileName={`${user.name}-stats-2024`}
customStyles={statsImageCustomStyles}
/>
</div>
</div>
Expand Down

0 comments on commit 019eb36

Please sign in to comment.