Hacker News new | past | comments | ask | show | jobs | submit login

I have been using https://simpleicons.org for a while now. It is super light and looks great. License is CC0. Although I prefer inlining the icons over using <img> tags.



You can minify those a lot. I tried some on https://jakearchibald.github.io/svgomg/ and got ~20%-30% without any visual changes.


Cool resource, what do the color codes mean? All the icons seem to be in black when you download them.

I've never seen a CC0 license before, looking it up, but if anyone knows what its about, feel free to share!

Here is a resource of svgs of cryptocurrency icons: https://github.com/allienworks/cryptocoins/tree/master/SVG


CC0 is Creative Commons's license for dedication to the public domain:

https://creativecommons.org/publicdomain/zero/1.0/


The point of CC0 is that in countries (like the US) with the concept of releasing works into the public domain—relinquishing all copyright claims on the work, that's what you are doing with CC0.

In countries where you can't legally release works into the public domain, CC0 is a license that tries to do as much as it can through a license in those countries.


It seems like one of the most permissive licenses, is it taking over MIT?


As I understand it, "code licenses" like MIT and "content licenses" like Creative Commons have slightly different intended areas of application, and you shouldn't mix them. E.g. "linking" means different things for code and images.

So you'd use e.g. CC0 for an icon set together with MIT license for some javascript/whatnot code that goes with your icons.


CC0 can be used for source code. For example, the FSF lists it as a GPL-compatible free software license and states: "If you want to release your work to the public domain, we recommend you use CC0."

https://www.gnu.org/licenses/license-list.en.html#CC0

Creative Commons themselves have published a FAQ entry on the matter:

https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC...


CC0 reverts to "Public Domain" in countries/jurisdictions where this is a thing. When this is not possibly it tries to legally define the closest thing possible.

"Public Domain" in particular means that the author distances themselves entirely from the work and all the rights pertaining to it. You don't need to credit them, I believe you could even claim it as your own (that'd be ethically dishonest IMHO, but legally fine). Second, the author also distances themselves from any responsibilities regarding this work (such as accuracy, fitness for any purpose or safety).

From what I've learned about copyright and IP law (extracurricular course next to my CS education, highly recommend if you get the opportunity) and reading, it's especially these last two points that are sometimes (in some jurisdictions/countries) difficult to get rid of or distance yourself from, as an creator. They don't always allow it. For instance (someone correct me if I remember this wrong), in the Netherlands a creator cannot fully distance themselves from the right to claim "I created this". Meaning that ghost-writing is contractually not possible and relies on the honour of the ghost-writer to keep their mouth shut. It's a bit of a vague thing and we didn't delve too deeply into that example. It's generally a minor thing.

Same goes for whether a creator can ever fully distance themselves from any responsibilities over the work they created. I can imagine some jurisdictions may not allow that either. I'm not sure how that works in NL (was not covered in the course).

Anyway in this sense, CC0 is a lot like the WTFPL without the profanity, I guess :)


You can set the `fill` attribute on the `svg` tag to set the fill color, e.g.

`<svg ... fill="#7C529E">...</svg>`

I'm guessing that site just includes recommended color codes for your reference, but you're able to set the color to whatever you want.


Is there an easy way to generate SVG icons from image files (.png, .jpg, etc.)? Or are each of these SVG icons created by hand?


ImageTracer is a simple raster image tracer and vectorizer that outputs SVG, 100% free, Public Domain.

Available in JavaScript (works both in the browser and with Node.js), "desktop" Java and "Android" Java:

https://github.com/jankovicsandras/imagetracerjs

https://github.com/jankovicsandras/imagetracerjava

https://github.com/jankovicsandras/imagetracerandroid

You can use svgo to optimize the SVG afterwards: https://github.com/svg/svgo


Just last night I was playing with Primitive [0], which tries to reproduce photographic images by building up layers of shapes. I found this via SQIP [1], was discussed on HN last week.

I haven't tried this with line art like icons or logos. I usually just hand-optimize simple ones, then run them through svgo [2].

[0] https://github.com/fogleman/primitive

[1] https://github.com/technopagan/sqip

[2] https://github.com/jakearchibald/svgomg/blob/master/README.m...


inkscape can generate them from bitmap formats.


I use vector magic on a Windows XP VM. I haven't been able to find a Linux/OSS tool that works as well.


What’s with the random (wrong) colors for most - but not all - of the icons?


That's a wonderful resource - thanks for sharing. I'm certainly going to incorporate them into future versions.


Huh, that Viber icon looks odd. Is it my browser or is it just poorly drawn?


Looks pretty close to https://www.viber.com/app/uploads/Icon_1024.png for me

Just a little sheared if anything? Can always attribute to stylizing.


Yes, the concentric arcs are sheared–I'm seeing this on Safari, Chrome, and Firefox, so I think it's the image rather than my browser's style.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: