mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[GH-ISSUE #1335] Cannot set $flag-icons-included-countries variable with @use #602
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#602
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 @kristofdho on GitHub (Feb 25, 2025).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1335
Proper way to set the
$flag-icons-included-countriesvariable with the@usesass directive instead of the@importdirective is like this:However this fails with following error:
So for now we're stuck using it like this:
which achieves the desired result, but forces us to keep using
@import.In order to resolve the issue,
$flag-icons-included-countriesshould be properly defined as a variable, just like e.g.$flag-icons-use-square.@lipis commented on GitHub (Feb 26, 2025):
We're working on it and there is an issue with @use and @imports (#1324)
@kristofdho commented on GitHub (Feb 26, 2025):
Hi, thank you for the swift reply.
I found these PRs as well, but they do not add a proper variable declaration for
$flag-icons-included-countriesyet, which is why I created this issue.