gitanimals icon indicating copy to clipboard operation
gitanimals copied to clipboard

Lines view background appears gray (transparent) - white background missing

Open ysys143 opened this issue 5 months ago β€’ 0 comments

Problem

The /lines/{username} endpoint SVG previously rendered with a white background, but it now appears with a transparent/no background. This causes the GitHub page background color (#f6f8fa) to show through, making the animation area look gray on GitHub profile READMEs.

Steps to reproduce

Add the following to a GitHub profile README:

<img src="https://render.gitanimals.org/lines/{username}?pet-id=1" width="1200" height="150"/>

The rendered area shows gray instead of white.

Expected behavior

White background (as it used to render before), or a configurable background color parameter for the lines endpoint (similar to how farms has its own background).

Environment

  • Endpoint: /lines/
  • Viewed on: GitHub profile README (light mode)

ysys143 avatar Jun 06 '26 15:06 ysys143