Skip to content

colour change while using cdn #6895

Closed Locked Answered by sachinraja
ilyasbabu asked this question in Help with SVGs
Discussion options

You must be logged in to vote

I've made a Cloudflare worker to change the attributes of an svg from a url. This way you can use whatever version of the icon you want and it's not limited to only Simple Icons. Repo link

You can also use the Iconify API. Example request: https://api.iconify.design/simple-icons/cloudflare.svg?color=orange&height=100. I don't believe there's a way to specify a version though and the icon may be removed across breaking changes without warning.

cc @Andre601

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@sachinraja
Comment options

@ilyasbabu
Comment options

@Andre601
Comment options

@sachinraja
Comment options

Comment options

You must be logged in to vote
4 replies
@Andre601
Comment options

@sachinraja
Comment options

@LitoMore
Comment options

@LitoMore
Comment options

Answer selected by sachinraja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants