mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[PR #402] [MERGED] Choose flags to include #783
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#783
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?
📋 Pull Request Information
Original PR: https://github.com/lipis/flag-icons/pull/402
Author: @rctneil
Created: 10/22/2017
Status: ✅ Merged
Merged: 10/26/2018
Merged by: @lipis
Base:
master← Head:master📝 Commits (4)
a18bb66Added option to only include a small set of flagsb9c2d2fMove all flag entries into one and more changesdec1a30Update sass/_flag-icon-list.scss9a547a7Update _flag-icon-list.scss📊 Changes
3 files changed (+264 additions, -257 deletions)
View changed files
📝
sass/_flag-icon-list.scss(+264 -249)➖
sass/_flag-icon-more.scss(+0 -7)📝
sass/flag-icon.scss(+0 -1)📄 Description
Give an option to allow users to specify which flags to include in the output CSS.
Specify using a variable list in SCSS like so:
$include: 'as', 'bl', 'si';If this variable is omitted then all flags are imported as normal.
Also moved the "more" flags into the main list as it seems pointless separating them. Maybe this could also be expanded to have an $exclude variable too so it includes them all apart from the ones specified. It then would allow full control in three different ways!
Thanks,
Neil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.