Closed espadrine closed 10 years ago
I would argue for using the same URL format, so I'll detail it here.
http://example.com/<SUBJECT>-<STATUS>-<COLOR>.png
Each field can use _
instead of spaces and must use --
instead of -
and __
instead of _
.
So, I have good news, and I have bad news.
I have successfully made a branch in which we only rely on a single color, and it looks like this.
Before:
Single color:
It looks great in Firefox.
Which leads me to this: it does not work on Chrome. The issue is that Chrome does not implement SVG2 colors, and therefore I cannot make a gradient with transparent color stops.
Doesn’t work in Chromium → doesn’t work in Opera. Also, WebKit seems to have the same bug, so no Safari support either :(
Really nice work, @espadrine! I just wish browsers would get with the program already :P FWIW, it worked fine in Opera 12 (pre-Blink).
Update: using stop-opacity
works, too. Merged. First bullet point down.
Commit 08172c504 implements an automated server, much like Buckler. Second bullet point down.
Buckler is a service to download PNG images of badges with any text and color.
We can do the same, with an SVG output.
This bug is here to track progress. A few issues: