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
Import individual icons #51
Labels
Comments
This would be a fairly straightforward change - I'd be willing to submit a PR for this if you'd consider it, @saeedalipoor. |
I'm thinking about this structure but couldn't make time to do that, and it's great if you have time for that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using SCSS in my project, and I want to be able to pull in individual icons to reduce my final payload size. Right now, the SCSS icon files rely on being pulled into icono.scss so the variables.scss, mixins.scss, and functions.scss files are in-scope. Importing one of them individually won't work.
I'd like to see an inversion of control, where each partial file pulls in everything it needs. This way a developer can pull in everything, or only what they need.
This could/should actually be implemented for all languages: Stylus, LESS, and even the vanilla CSS output (provide a minified master file, and then individual files for each icon type).
The text was updated successfully, but these errors were encountered: