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

provide alternative css to include only one set of the flags (1x1 or 4x3) #1204

Open
thisconnect opened this issue Dec 31, 2023 · 0 comments

Comments

@thisconnect
Copy link

Currently by importing import "flag-icons"; into a project all 540 icons are included.

As often projects only use one set of icons it would be nice to import only the set that is used.

This could be done by providing additional CSS files that only include those sets.

that way one could do: import "flag-icons/css/flag-icons-4x3.css" (or similar), for those that only need 4x3 icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants