tholman / github-corners

A fresher "Fork me on GitHub" callout.
http://tholman.com/github-corners
MIT License
4.92k stars 195 forks source link

Could you please publish this to npm? #31

Open mightyiam opened 7 years ago

akash-joshi commented 5 years ago

This isn't a JS plugin though.

styfle commented 5 years ago

It could be though.

Take a look at this project which is also just SVGs: https://www.npmjs.com/package/simple-icons

Then you can use a CDN for free: https://cdn.jsdelivr.net/npm/simple-icons@1.9.10/icons/twitter.svg

dreamyguy commented 5 years ago

@mightyiam & @styfle I've made a React component and published it to npm:

https://whatthefoo.github.io/fork-me-on-github/

mightyiam commented 5 years ago

Thank you for letting us know, @dreamyguy .

ahuglajbclajep commented 4 years ago

If you just want to use SVG, you can get it by npm install tholman/github-corners. https://docs.npmjs.com/cli/install

CSS should be available as well, but it is currently combined with the preview page's CSS, so the PR is needed to separate it. https://github.com/tholman/github-corners/blob/02b58a1937f4d4876e9717a2109527a45a6ca467/css/styles.css#L75-L113