No description
Real Decreto 441/1981, de 27 de febrero, por el que se especifican técnicamente los colores de la Bandera de España. https://www.boe.es/eli/es/rd/1981/02/27/441 Colors approximated as described in the Wikipedia here: https://es.wikipedia.org/wiki/Bandera_de_España#Colores Explanation on colors approximation here: https://rafamerino.com/11062020/colores-bandera-espana-hexadecimal-rgb |
||
|---|---|---|
| flags | ||
| _config.yml | ||
| all-flags.md | ||
| gallery.css | ||
| LICENSE | ||
| README.md | ||
| svgo.yml | ||
circle-flags
A collection of circular SVG country flags.
Usage
https://hatscripts.github.io/circle-flags/flags/xx.svg
(Where xx is the ISO 3166-1 alpha-2 code of a country).
For example, the following code:
<img src="https://hatscripts.github.io/circle-flags/flags/br.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/ca.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/gb.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/jp.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/mx.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/us.svg" width="48">
<img src="https://hatscripts.github.io/circle-flags/flags/za.svg" width="48">
...produces this:
To view all the available flags, check the gallery.
React
If you're using React, you may want to try the react-circle-flags package.
Contributing
To contribute, you need to have svgo installed (version 1.2.0 or newer).
First, edit the relevant SVG files in the flags/ directory.
Then run svgo to optimize the SVG files:
svgo ./flags --recursive --config=svgo.yml
Then commit the changes, and submit them as a pull request.
License
This project is released under the MIT license.