Commit graph

23 commits

Author SHA1 Message Date
HatScripts
43ede44381 Fix missing masks 2025-12-14 11:33:59 +11:00
HatScripts
92ce8ef684 Remove groups from 23 flag icons, minify
Removed all groups (`<g>`) in preference for path unions.
2025-12-13 23:01:34 +11:00
HatScripts
07324c28b7 Revert border-radius to mask 2022-09-23 17:42:37 +10:00
HatScripts
148ed57f5a Run svgo v2.8.0 2022-08-02 17:18:37 +10:00
HatScripts
6a004d85fc Remove clipPath from Spanish flag 2022-06-10 23:08:07 +10:00
HatScripts
db685c546c Use border-radius instead of mask 2022-05-14 15:18:53 +10:00
HatScripts
d04db103e5 Fix Spanish flag 2022-05-04 18:26:44 +10:00
HatScripts
ea36680e60 Fix color bleeding 2022-05-04 16:56:14 +10:00
HatScripts
6f56104039 Specify width/height before viewBox
In keeping with svgo's `sortAttrs`
2021-07-01 14:24:47 +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
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
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
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
084a827285 Compress all flags by ~30% with new SVGO settings 2018-12-07 11:08:42 +11:00
HatScripts
a097799939 Run SVGO again 2018-12-06 04:18:01 +11:00
Nick Holmes
06c43ea71c
Add 100 files, ad - gn 2018-12-05 23:36:57 +11:00