@scavengerbot/cryptofont
v1.6.0
Published
Cryptocurrency icon font with over 400+ icons
Downloads
15
Maintainers
Readme
Cryptocurrency Icon Font
A cryptocurrency font with over 400+ icons and actively being added to. Check out the demo.
Usage
Install locally
npm install @scavengerbot/cryptofont
Or use with CDN
https://cdn.jsdelivr.net/npm/@scavengerbot/cryptofont/style.css
https://cdn.jsdelivr.net/npm/@scavengerbot/cryptofont/style.min.css
Icon Example
<span class="sbi sbi-btc"></span>
Contributing
Designing Icons
- Find the original SVG icon and add it to the
icons/original
folder - Open the
icons/starter.svg
file in Adobe Illustrator - Scale the original icon down to the correct pixel dimensions
(32x32)
- Icon fonts can't be multicolored so choose the color best suited for the icon and apply it to the circle (ellipsis)
- Center the original icon on top of the ellipsis (
Horizontal Align Center
andVertical Align Center
) - Use the Pathfinder tool to cut out the shape from the circle (
Minus Front
) - Select all the paths you want to merge and exclude any internal paths you do not
- Open your Pathfinder and click
Unite
to merge the objects - Go to top menu and click
Object
tab, in drop down choosecompound path
and clickmake
or you pressctrl+8
- When finished
Save As
to theicons/color
folder and name the icon correctly (this name will be the name used in the css class)
Contributing Icons
- Fork the repo
- Clone the repo
- Navigate to the project on your local machine
- Pull the latest changes
- Create a new feature branch
- Add original svg icons (multicolor) to the
icons/original
folder - Add new svg icons (1 color) to the
icons/color
folder - Go to icomoon and import the
selection.json
file and click YES to settings - Drag and Drop new icons from
icons/color
folder into icomoon and be sure they are selected - Drag and Drop selected icons to bottom
- Click "Generate Font" at bottom right and then "Download"
- Replace everything in the local folder with the newly downloaded folder
- Update the
package.json
version number i.e. (1.3.0 to 1.4.0) - Commit your changes and list which icons were added
- Push your changes to your fork
- Create the Pull Request
For project maintainers
- When new PR's come in, test everything before merging
- Make sure the
package.json
version is bumped up - Merge the PR and remove the feature branch
- Publish package to NPM
npm publish
- Update codepen demo
- Purge npm cryptofont stylesheet to receive new version
Special Thanks 👏
To those involved at SPOTHQ for the start. To those involved at CryptoFonts