mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #936] Scss variable names #446
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#446
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 @StarkRobin on GitHub (Feb 21, 2022).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/936
I suggest the variable used in _flag-icons-list.scss uses the 'flag-icons' prefix as the rest of the variables:
@if variable-exists(flag-icons-included-countries) { @each $country in $flag-icons-included-countries { @include flag-icon($country); } }Also add a variable to disable square icons if they are not wanted
@StarkRobin commented on GitHub (Feb 21, 2022):
Pull request: https://github.com/lipis/flag-icons/pull/937
@EdgarKisman commented on GitHub (Apr 14, 2022):
@Kamelkent I'm using flag-icons as a node module. Is it possible to inject the flag-icons-included-countries into the variables.sass file ?
@EdgarKisman commented on GitHub (Apr 20, 2022):
Ok, i found a solution, i created a injection.scss file and imported it e.g:
$flag-icons-path: '~flag-icons/flags'; $include: 'de', 'nl'; @import '~flag-icons/sass/flag-icons.scss';please add an example to the readme.
@NotTsunami commented on GitHub (May 3, 2022):
The linked pull request is merged now, so the original issue should be resolved now.