Ps, remember when using svg without a background in a readme that github has multiple themes including dark ones.
<style>
@media (prefers-color-scheme: dark) {
.line {
stroke: #eed;
}
rect, circle, polygon {
fill: #eed;
stroke: #eed;
}
}
</style>
is valid SVG, and would fix the issue.