mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #1204] provide alternative css to include only one set of the flags (1x1 or 4x3) #560
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#560
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thisconnect on GitHub (Dec 31, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1204
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.@lipis commented on GitHub (Jan 17, 2025):
I would leave that to the end user..