Commit graph

54 commits

Author SHA1 Message Date
HatScripts
c50f05a7e2 Fix duplicate width/height attributes 2021-06-29 13:06:23 +10:00
HatScripts
11239c09d6 Add width/height to all SVG files (#7) 2021-06-29 12:47:48 +10:00
HatScripts
31c29024a6 Optimize files with svgo 2.3.1 2021-06-29 12:34:45 +10:00
HatScripts
453237b9e4 Revert "Optimize files with svgo 2.3.0"
This reverts commit 7e311a6818.
2021-06-28 19:58:04 +10:00
HatScripts
7e311a6818 Optimize files with svgo 2.3.0 2021-06-28 19:27:30 +10:00
HatScripts
e28b072516
Convert strokes to paths: es, nc 2021-06-28 19:10:42 +10:00
HatScripts
89b924d8a2
Replace rare beige color with white 2021-06-23 18:13:57 +10:00
HatScripts
6ff9f237a5
Fix color bleeding: sk 2021-06-21 15:53:55 +10:00
HatScripts
bc6632693b
Improve flags: gp, sk 2021-06-21 15:47:41 +10:00
HatScripts
67e8ca3695
Add flags: bq -> bq-bo, sh -> sh-hl (#21) 2021-06-12 22:02:51 +10:00
HatScripts
b9452c0738
Add flags: nc, gp 2021-06-12 18:53:22 +10:00
HatScripts
5fbcde55b8
Add flags: gs, sh-ac, sh-hl, sh-ta 2021-06-12 13:17:53 +10:00
HatScripts
3abc733443
Add Saint Helena flag 2021-06-09 13:43:03 +10:00
HatScripts
07def54a65
Simplify blazon of Mayotte flag 2021-06-09 13:42:32 +10:00
HatScripts
4098ddf455
Fix colors of Saint Pierre and Miquelon 2021-06-08 19:30:37 +10:00
HatScripts
c649c86df0
Thicken sunrays on Réunion flag 2021-06-08 15:02:34 +10:00
HatScripts
37b14f7dd6
Add some missing flags: mf, pm, re 2021-06-08 14:55:25 +10:00
HatScripts
3e38a1af28
Add some missing flags: tf, wf, yt 2021-06-06 20:39:47 +10:00
HatScripts
67a7a07b61
Simplify menorah on Yiddish flag 2021-06-06 14:23:12 +10:00
HatScripts
71c61a0344
Update Mexican flag 2021-06-05 15:51:09 +10:00
HatScripts
c4fa1ba948
Simplify Antarctica flag 2021-06-04 16:37:06 +10:00
HatScripts
4b620754e8
Correct colors for Moroccan flag 2021-05-30 15:24:49 +10:00
HatScripts
235080dfce
Add flags for bv, hm, sj, and um, per #21
* `bv` Bouvet Island → `no` Norway
* `hm` Heard Island and McDonald Islands → `au` Australia
* `sj` Svalbard and Jan Mayen → `no` Norway
* `um` United States Minor Outlying Islands → `us` United States of America
2021-04-24 19:32:03 +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
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
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
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
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
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
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
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
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