mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[PR #1359] [CLOSED] Add support for telephone country code flag references #1366
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#1366
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/1359
Author: @sulimanbenhalim
Created: 4/26/2025
Status: ❌ Closed
Base:
main← Head:feature/tel-code-flags📝 Commits (1)
bbe5c6bAdd support for telephone country code flag references📊 Changes
4 files changed (+797 additions, -274 deletions)
View changed files
📝
README.md(+9 -1)📝
country.json(+543 -272)📝
sass/_flag-icons-base.scss(+14 -0)📝
sass/_flag-icons-list.scss(+231 -1)📄 Description
Hi @lipis again, I added telephone country code support for the flags
Main changes:
.fi-tel-xxclassesFor the telephone country codes, I used the data from:
https://github.com/datasets/country-codes/blob/main/data/country-codes.csv
This feature is super useful for apps that deal with international phone numbers - they can now show the right flag without having to convert telephone code to country code.
I made sure there are no duplicates in the SCSS mixins you can double check. The code should be fully backward compatible since it only adds new classes without changing existing ones
Thanks for this great library, and let me know what you think :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.