jxnblk / microicon

SVG icon microservice
https://icon.now.sh
359 stars 25 forks source link

Icon size max #4

Open shackep opened 7 years ago

shackep commented 7 years ago

Anything with more than two digits (above 99) is interpreted as a hex color: https://icon.now.sh/bathasu/160 https://icon.now.sh/plus/fed100/160 https://icon.now.sh/plus/ccc/160

I like that it is simple to reason about and that the order of parameters does not matter. It may be worth documenting. ¯_(ツ)_/¯

kjbrum commented 7 years ago

I ran into this as well. Is there any reason to not interpret only 6 character parameters for the color?

hendrasan commented 7 years ago

I just create a pull request #10 to hopefully fix this.