dedalusj / cloudgram

Generate diagrams for your cloud architecture using code
https://cloudgram.dedalusone.com
Apache License 2.0
94 stars 5 forks source link

Add devicon icons #69

Open ejoubaud opened 2 years ago

ejoubaud commented 2 years ago

Adds all icons from https://devicon.dev/ to cloudgram, into a new devicon namespace.

This adds a lot of language and framework icons, especially useful to show a Ruby or Go microservice, or a Rails/Express app component in an architecture diagram.

Devicon has a bunch of variants for each item: {item}-regular.svg (the most common, with the default logo), {item}-plain.svg (a flat design version), {item}-regular-wordmark.svg (regular with the name of the item appearing on the logo), {item}-plain-wordmark.svg...

The regular variant is present in most (237/277) so I'm removing the -regular suffix for it, to make it a short and friendly version (e.g. devicon.ruby instead of devicon.rubyRegular), but the other variants are kept available with the suffix (e.g. devicon.rubyPlain). This is especially important for items that don't have a -regular version (e.g. rails)

PS: You can try it out here: https://cloudgram-devicon.netlify.app/