Skip to content
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

[FEAT] Consider using fonts instead of raw/embedded SVGs #431

Open
sadespresso opened this issue Apr 20, 2024 · 1 comment
Open

[FEAT] Consider using fonts instead of raw/embedded SVGs #431

sadespresso opened this issue Apr 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sadespresso
Copy link

sadespresso commented Apr 20, 2024

Is your feature request related to a problem? Please describe.
It would be really nice to have Iconoir fonts rather than CSS with embedded SVGs, or multiple Dart classes.

Generally, fonts have smaller file size, and is the norm for quite many popular fonts (i.e., Material Symbols, FontAwesome)

Describe the solution you'd like
Generate a font, and generate CSS, and Dart classes (one like Icons) with codepoints.

You can generate fonts from SVG files with tools like fantasticon.

It's just another way to do the thing, and this issue is a suggestion 😅

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@sadespresso sadespresso added the enhancement New feature or request label Apr 20, 2024
@sadespresso
Copy link
Author

So I have generated fonts using fantasticon. Had to run it thru svg-fixer to convert strokes to fills.

If this aligns with the direction of the project, I can make PR and write generators for all the packages.

See latest code at: https://github.com/sadespresso/iconoir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant