New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for Multi-Colored SVG Icons #675

Open
ryangwilson opened this Issue Nov 28, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ryangwilson

ryangwilson commented Nov 28, 2018

We have a need for multiple colors to be included/embedded in SVGs in out icon sets. This is easily done in IcoMoon, but is a shortcoming of Fontello.

icon-compare

In IcoMoon we can touch internal paths, e.g.:

.icon-sun-happy .path1:before {
  content: "\e900";
  color: rgb(255, 204, 51);
}
.icon-sun-happy .path2:before {
  content: "\e901";
  margin-left: -1em;
  color: rgb(255, 102, 0);
}
.icon-sun-happy .path3:before {
  content: "\e902";
  margin-left: -1em;
  color: rgb(255, 102, 0);
}
.icon-sun-happy .path4:before {
  content: "\e903";
  margin-left: -1em;
  color: rgb(255, 102, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment