Comments (10)
I've done that in the past.. but unfortunately some of the flags are ruined because of that...
from flag-icons.
Will follow up after I'm back from my vacations.. I'm totally up for SVGO if flags are not breaking.. or at least if we know for sure which ones are breaking.. (like 100% sure)
from flag-icons.
Sounds great thanks! Maybe I find out how to avoid breaking some flags by disabling certain SVGO plugins.
from flag-icons.
or somehow identifying which flags are breaking is also good for me
from flag-icons.
+1
from flag-icons.
Another possible improvement would be to get rid of duplicates.
us
- um
pair for example
from flag-icons.
@petethepig lol.. so lets delete the US flag..
from flag-icons.
@lipis I'm saying that this:
.flag-icon-um {
background-image: url(../flags/4x3/um.svg);
}
could potentially look like this:
.flag-icon-um {
background-image: url(../flags/4x3/us.svg);
}
Thus, if you have both flags (us and um) on one page you would only have to download one image.
from flag-icons.
@petethepig This repo is used not only via CSS and this is a very small optimisation that I don't see any reason to modify..
from flag-icons.
Many flags were optmized.. and from now on it will happen on per flag basis..
from flag-icons.
Related Issues (20)
- fix the documentation
- Add flag for Valencia, Valencian Community (ISO: ES-VL) HOT 1
- Mexico and Spain flags are extremely detailed and large in file size HOT 2
- Add kurdistan flag HOT 2
- Malta flag
- Flag of swizerland: Wrong proportion HOT 1
- Add Comunitat Valenciana flag (ISO: ES-VC) HOT 1
- I want to add missed uk flag, HOT 4
- For 1x1 flags, use a different width/height than 512 HOT 1
- Alternative Syrian flag
- feat: allow custom aspect ratio HOT 1
- Is there a png vesion? HOT 1
- Flag for Nation of Québec
- Showing flags in dev & production HOT 12
- Flag of the Turkish Republic of Northern Cyprus is missing
- World flag is missing
- other icon format(rounded-circle)? HOT 3
- Possible new feature - A way to generate assets (flags svg's) in a specific folder during angular compilation HOT 2
- Missing Flag
- Deprecation Using / for division outside of calc() is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flag-icons.