[PR #265] [CLOSED] Allow to exclude squared flags from build #720

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

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/265
Author: @voda
Created: 7/20/2016
Status: Closed

Base: masterHead: no-squared


📝 Commits (1)

  • ef7cbdd Allow to exclude squared flags from build

📊 Changes

5 files changed (+15 additions, -6 deletions)

View changed files

📝 README.md (+3 -0)
📝 less/flag-icon-base.less (+2 -2)
📝 less/variables.less (+1 -0)
📝 sass/_flag-icon-base.scss (+8 -4)
📝 sass/_variables.scss (+1 -0)

📄 Description

In our project we inline some small images using data uri but we dont use the squared variant of the flags and they only increase the resulting css file. This PR adds a variable called flag-icon-include-square-flags to exclude them from being generated to the target file.


🔄 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/265 **Author:** [@voda](https://github.com/voda) **Created:** 7/20/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `no-squared` --- ### 📝 Commits (1) - [`ef7cbdd`](https://github.com/lipis/flag-icons/commit/ef7cbdd5ed6899a2671406a5b07249663e03fd9f) Allow to exclude squared flags from build ### 📊 Changes **5 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -0) 📝 `less/flag-icon-base.less` (+2 -2) 📝 `less/variables.less` (+1 -0) 📝 `sass/_flag-icon-base.scss` (+8 -4) 📝 `sass/_variables.scss` (+1 -0) </details> ### 📄 Description In our project we inline some small images using data uri but we dont use the squared variant of the flags and they only increase the resulting css file. This PR adds a variable called `flag-icon-include-square-flags` to exclude them from being generated to the target file. --- <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:27 +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#720
No description provided.