Commit graph

157 commits

Author SHA1 Message Date
HatScripts
1d9d61c055
Update flag gallery to show Antartica flag 2021-04-24 19:26:31 +10:00
HatScripts
bf00e1ee06
Add aq.svg (Antarctica) 2021-04-24 19:23:08 +10:00
HatScripts
4132810857
Add coat of arms to Spanish flag
* Add the coat of arms to the flag of Spain: `es.svg`
* Rename the previous version of `es.svg` to `es-variant.svg`

More info: https://en.wikipedia.org/wiki/Flag_of_Spain
2021-03-30 23:04:50 +11:00
HatScripts
1e42587a69
Fix ISO codes for BQ subdivisions 2021-03-02 16:42:32 +11:00
HatScripts
2225d1005a
Merge pull request #18 from climech/masked
Fix color-bleeding issues (all flags)
2021-02-06 19:51:37 +11:00
HatScripts
6b1dd27951
Update example flags to better reflect real world
Source: https://en.wikipedia.org/wiki/List_of_countries_by_number_of_Internet_users
See also: https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population
2021-02-03 06:07:05 +11:00
climech
a419c7faaf Fix color-bleeding issues (all flags)
The commit updates all 276 icons to remove (hopefully) all color-bleeding
artifacts, both at the outer edges and inside. This was achieved by squaring
all the icons, overlapping the shapes where needed, and finally applying a
circular mask to all files using a custom script.
2021-02-02 18:29:07 +01:00
HatScripts
203de0ee4f
Fix duplicate in example code 2021-02-03 01:50:14 +11:00
HatScripts
2a06f4ff39
Change the gallery link to the HTML version
Because the markdown one shows each flag on a separate line, while the HTML gallery displays as a grid
2021-02-03 00:05:20 +11:00
HatScripts
3abc34cdcf
Merge pull request #15 from jussikinnula/master
Add package.json & instructions how to install with NPM
2021-01-07 22:15:46 +11:00
HatScripts
effd2318dd
Merge pull request #16 from ramongilmoreno/master
Correct proportions and colours for the Spanish flag
2021-01-07 20:48:36 +11:00
Ramón Gil Moreno
415b11fa92 Adhere to pallete of the circle-flags project.
Discussion on this topic can be found here: https://github.com/HatScripts/circle-flags/pull/16#pullrequestreview-560680254
2021-01-03 13:36:21 +01:00
HatScripts
e6a728620d
Merge pull request #17 from HatScripts/fix/gf_flag
Fixing French Guiana Flag by running svgo
2021-01-03 20:29:44 +11:00
Tomás Novau
bd396e62d2 Fixing French Guiana Flag by running svgo 2021-01-02 20:54:59 +01:00
Ramón Gil Moreno
491be30df8 es.svg after svgo run 2021-01-02 19:34:41 +01:00
Ramón Gil Moreno
754749e48d Convert svg from rects and circle clip to a circle red background + inner circular band of the proper dimensions. No ids in svg. Similar to other flags in the circle-flags project. 2021-01-02 13:30:46 +01:00
Ramón Gil Moreno
217f72b99b Correct proportions for the Spanish flag, as defined here:
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
2021-01-02 12:36:22 +01:00
Jussi Kinnula
16c7990567 Add package.json & instructions how to install with NPM 2020-12-17 18:40:05 +02:00
HatScripts
1f79264c80
Fix #14 - Correct French Guiana from GE to GF 2020-11-28 05:51:16 +11:00
HatScripts
6458d06a7d
Rename gf to gf.svg 2020-11-28 05:32:21 +11:00
HatScripts
7656b6e9a3
Create French Guiana (GF) 2020-11-28 05:31:33 +11:00
HatScripts
a63b0928f5
Merge pull request #10 from waldyrious/patch-1
README: move React section to the Usage section
2020-08-05 04:31:51 +10:00
Waldir Pimenta
5312a2ce55
README: move React section to the Usage section 2020-07-31 10:55:35 +01:00
HatScripts
52478c53bf
Merge pull request #9 from tnovau/patch-1
Adding react-circle-flags
2020-07-31 17:59:31 +10:00
Tomás Novau
d40ba8fa31
Adding link to react package in README.md 2020-07-25 16:16:46 +02:00
HatScripts
55819c65be
Merge pull request #4 from waldyrious/re-optimize-flags
Update svgo.yml and disable problematic arcto optimization
2020-06-13 08:38:48 +10:00
HatScripts
ada4cb939d
Merge pull request #6 from waldyrious/fix-flag-names
Fix flag filenames
2020-06-13 08:32:04 +10:00
Waldir Pimenta
db43555767 Fix filename of Ceuta flag: ea.svges-ce.svg
`EA` covers both Ceuta and Melilla; the Ceuta-specific code is `ES-CE`.
This is also consistent with other flags for subdivisions of Spain,
in particular Melilla, which already uses `ES-MA`.
2020-06-12 19:47:51 +01:00
Waldir Pimenta
d9907d2aff Fix typo in name of Northern Cyprus flag 2020-06-12 19:45:12 +01:00
Waldir Pimenta
69e1f8df1f Improve svgo.yml
- Remove plugins that are already the default in svgo, and link to docs
- Move the `removeDimensions` plugin to be next to `removeViewBox`
- Add configuration to the `convertPathData` and `mergePaths` plugins
  to avoid an issue with over-aggressive optimization for arcto commands
  introduced in svgo v1.3.0.

Also:

- Add missing `--config` option to the svgo command in README
- Remove over-aggressive optimization from the cv.svg flag
2020-06-12 19:37:53 +01:00
HatScripts
38065fab68
Merge pull request #5 from waldyrious/gallery-page
Add a gallery page to visualize all available flags
2020-06-11 04:14:26 +10:00
Waldir Pimenta
87b607061c Add a gallery page to visualize all available flags 2020-06-10 16:01:38 +01:00
HatScripts
a559976579
Merge pull request #3 from waldyrious/contributing-instructions
Add contribution instructions
2020-06-10 05:07:44 +10:00
Waldir Pimenta
b8ae8518fe Add contribution instructions 2020-06-09 17:50:47 +01:00
HatScripts
85e3604963
Merge pull request #2 from waldyrious/scale-cv-flag
Fix proportions of the CV flag
2020-06-09 02:52:26 +10:00
Waldir Pimenta
e9415b08c3 Fix proportions of CV flag
The bottom blue stripe should take 1/4 of the height of the flag.
The middle white and red stripes, as well as the stars, were scaled up
to implement these proportions.

As a side effect of this change, the flag now works better at small sizes.
2020-06-08 17:17:13 +01:00
HatScripts
63a0284141
Merge pull request #1 from waldyrious/fix-cv-flag
Fix CV flag
2020-06-07 01:57:34 +10:00
Waldir Pimenta
4937535efc Fix CV flag
The flag of Cape Verde had the stripes and stars positioned too low.
The top blue part is supposed to occupy half of the height of the flag.
I've edited the geometry so that the white and red stripes start at 50%
of height of the circle. I moved the stars upwards accordingly.

See https://en.wikipedia.org/wiki/Flag_of_Cape_Verde for details.
2020-06-05 00:53:51 +01:00
HatScripts
2b716b5592 Fix non-"0 0 512 512" viewBoxes 2018-12-07 11:47:42 +11:00
HatScripts
084a827285 Compress all flags by ~30% with new SVGO settings 2018-12-07 11:08:42 +11:00
HatScripts
764dd1e35c Distinguish td.svg from ro.svg 2018-12-06 13:29:13 +11:00
HatScripts
191f0229f2 Outline stars in nz.svg 2018-12-06 12:05:48 +11:00
HatScripts
d8d4270fe9 Create several language-based flags 2018-12-06 09:41:07 +11:00
HatScripts
e23937ac5b green -> dark_green 2018-12-06 05:46:31 +11:00
HatScripts
d9bbfcac99 Convert #000 fills to #333 2018-12-06 05:45:17 +11:00
HatScripts
a097799939 Run SVGO again 2018-12-06 04:18:01 +11:00
HatScripts
bab12b60cd Normalize colors 2018-12-06 04:13:55 +11:00
Nick Holmes
1e75341c9b
Add xx.svg (Placeholder) 2018-12-06 01:47:17 +11:00
Nick Holmes
d4591fb967
Provide more examples 2018-12-06 01:10:12 +11:00
Nick Holmes
eccb890604
Remove template, add usage example 2018-12-06 00:54:57 +11:00