[PR #216] [CLOSED] Possibility to create alias, like UK to GB #703

Closed
opened 2026-03-03 14:40:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/216
Author: @recallfx
Created: 4/1/2016
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • 8c2dd5c Modified LESS and SASS to support aliasing: flag-icon(country,flag), where flag is optional; Added UK alias to GB with flag-icon(uk, gb);
  • af2e0d9 Update flag-icon-base.scss
  • f2db047 Added alias EN to GB

📊 Changes

8 files changed (+44 additions, -6 deletions)

View changed files

📝 css/flag-icon.css (+12 -0)
📝 css/flag-icon.min.css (+1 -1)
📝 index.html (+1 -0)
📝 less/flag-icon-base.less (+9 -0)
📝 less/flag-icon-more.less (+2 -0)
📝 package.json (+6 -1)
📝 sass/flag-icon-base.scss (+11 -4)
📝 sass/flag-icon-more.scss (+2 -0)

📄 Description

When using flag-icon-css in auto generated manner, it would be nice to get same flag for uk or gb keywords. So I modified LESS and SASS to support aliasing: flag-icon(country,flag), where flag is optional. And added UK alias to GB with flag-icon(uk, gb);


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lipis/flag-icons/pull/216 **Author:** [@recallfx](https://github.com/recallfx) **Created:** 4/1/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`8c2dd5c`](https://github.com/lipis/flag-icons/commit/8c2dd5c58347daa49b542bb6e304f7e3dbe49b71) Modified LESS and SASS to support aliasing: flag-icon(country,flag), where flag is optional; Added UK alias to GB with flag-icon(uk, gb); - [`af2e0d9`](https://github.com/lipis/flag-icons/commit/af2e0d91f609d1774328105fec362c996c3ca982) Update flag-icon-base.scss - [`f2db047`](https://github.com/lipis/flag-icons/commit/f2db04758473abe3ffb2bc2fb5e10e68d3d6631d) Added alias EN to GB ### 📊 Changes **8 files changed** (+44 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `css/flag-icon.css` (+12 -0) 📝 `css/flag-icon.min.css` (+1 -1) 📝 `index.html` (+1 -0) 📝 `less/flag-icon-base.less` (+9 -0) 📝 `less/flag-icon-more.less` (+2 -0) 📝 `package.json` (+6 -1) 📝 `sass/flag-icon-base.scss` (+11 -4) 📝 `sass/flag-icon-more.scss` (+2 -0) </details> ### 📄 Description When using flag-icon-css in auto generated manner, it would be nice to get same flag for uk or gb keywords. So I modified LESS and SASS to support aliasing: flag-icon(country,flag), where flag is optional. And added UK alias to GB with flag-icon(uk, gb); --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:40:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#703
No description provided.