I
I
Insom842021-06-08 22:19:46
css
Insom84, 2021-06-08 22:19:46

Colored icons in icomoon.io?

With the help of icomoon.io, I placed my svg icons in order to copy the font code for my site to Bitrix. But initially the icons are colored, but they are loaded into icomoon.io in black and white format, and on the site they are displayed in blue (in the style of the site) Has anyone encountered such a problem, knows how to add icons in color?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flying, 2021-06-09
@Flying

It all depends on how exactly you upload icons from icomoon.
60c0867f7284f202052220.png
As you can see, two options are supported: a set of SVG and/or PNG icons or an icon font. Obviously you have chosen a font option and in this case, naturally, you got single-color images. The fact is that although color fonts exist ( caniuse , example ), but in practice they are used extremely rarely, icomoon simply does not support this format, since it uploads the result to standard font formats, and they are all colorless.
In addition, there are a number of arguments against using icon fonts as such ( one , two for example), since in fact this is a crutch for a problem that is no longer relevant on the modern web.
Therefore, you should consider switching to using SVG icons instead of an icon font. You will only benefit from this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question