HatScripts / circle-flags

A collection of 400+ minimal circular SVG country, state and language flags
https://hatscripts.github.io/circle-flags
MIT License
927 stars 248 forks source link

Turkish Flag Circle Position Change #112

Closed ebuyuran closed 3 months ago

ebuyuran commented 3 months ago

In the circular form, the crescent and moon is always fully centered. I didn't find an official documentation for this but our national team uniforms have always used our flag in this format.

image

Thank you for the library!

HatScripts commented 3 months ago

Hi @ebuyuran, thanks for the PR! Would you mind updating the SVG code to the following SVGO'd version?

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><mask id="a"><circle cx="256" cy="256" r="256" fill="#fff"/></mask><g mask="url(#a)"><path fill="#d80027" d="M0 0h512v512H0z"/><g fill="#eee"><path d="m350 182 33 46 54-18-33 46 33 46-54-18-33 46v-57l-54-17 54-18v-56Z"/><path d="M260 370a114 114 0 1 1 54-215 141 141 0 1 0 0 202c-17 9-35 13-54 13Z"/></g></g></svg>
ebuyuran commented 3 months ago

Hello @HatScripts, I've optimized the file with SVGO.

HatScripts commented 3 months ago

Sorry to be a pain, but could you please copy-and-paste the SVG code I provided?

ebuyuran commented 3 months ago

Sure. I thought that snippet was an example.

HatScripts commented 3 months ago

Merged! 🚀 Thank you for your contribution to the project.

ebuyuran commented 3 months ago

My first ever contribution to another repository, such a nice feeling :) Thank you.