Skip to content

How to add custom icons to the parallel sprite to use along the default icons? #8

Answered by Th3S4mur41
delektowski asked this question in Q&A
Discussion options

You must be logged in to vote

The @atos-parallel/icons package contains an cli script named parallel-icons

The parallel-icons script provides a way to generate a custom sprite and also to include additional icons

NOTE
See cli section in the README for more details

Let's say you'd want to generate a single sprite containing regular icons and custom icons from your src/assets folder. You could do it like this:

parallel-icons -t regular -i src/assets

This will generate a parallel-sprite.svg file in the public folder (default).
If you'd prefer to create it somewhere else, like let's say the dist folder, you can specify that too

parallel-icons -t regular -i src/assets -o dist

If you want to include this as a step in your…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by delektowski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants