add border and soft-light SVGs in colrv1/flags-border

pull/377/head
Cosimo Lupo 2022-01-14 16:14:42 +00:00
parent 1f8201c939
commit 5101367204
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# flags-border
This folder contains two special color glyphs that contain the border and
soft-light effect for the COLRv1 region flags. See the `colrv1_add_border_to_flags.py` script.

View File

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1000 1000">
<defs/>
<path fill="#1A1A1A" opacity="0.2" d="M8,194.75 C181.84,110.1 354.93,141.8 530.24,168.13 C682.26,190.95 836.78,210.72 992,133.25 L992,805.25 C667.42,967.25 342.06,704.13 8,866.75 L8,194.75 M38.75,213.71 L38.75,820.15 C200.89,753.6 362.47,782.05 525.97,806.7 C669.36,828.32 814.8,847.76 961.25,786.59 L961.25,180.15 C656.82,307.29 351.99,85.18 38.75,213.71"/>
</svg>

After

Width:  |  Height:  |  Size: 457 B

View File

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1000 1000">
<defs>
<linearGradient id="g1" x1="7.91" y1="133.34" x2="710.62" y2="1076.39" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="white" stop-opacity="0.5"/>
<stop offset="50%" stop-color="gray" stop-opacity="0.5"/>
<stop offset="100%" stop-color="black" stop-opacity="0.5"/>
</linearGradient>
</defs>
<path fill="url(#g1)" d="M8,194.75 C181.84,110.1 354.93,141.8 530.24,168.13 C682.26,190.95 836.78,210.72 992,133.25 L992,805.25 C667.42,967.25 342.06,704.13 8,866.75 L8,194.75"/>
</svg>

After

Width:  |  Height:  |  Size: 609 B