1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 15:46:35 +09:00
whippy-edition/public/emoji/1f54b_border.svg
leo60228 e0f55f374c
Add emojis:generate_borders Rake task (#13773)
* Add emojis:generate_borders Rake task

* Address review

* Border all dark emoji

* Combine stroke with filter to reduce artifacting

* Cleanup Camera with Flash

* Add stroke-linejoin="round"

The previous filter and tweaks were effectively a poor imitation of it.
There are no artifacts for any dark emoji now!

* Set stroke-width using property

This fixes old versions of Firefox.

* Store emoji in string instead of array

* Use separate arguments for each path segment

* Remove "background: black;"
2020-06-09 00:12:20 +02:00

20 lines
4.2 KiB
XML

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 40 40">
<g>
<path d="M18 0L0 5v29l18 2 18-2V5z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M18 36l18-2V5L18 0z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M22.454 14.507v3.407l4.229.612V15.22zm7 1.181v3.239l3.299.478v-3.161zM18 13.756v3.513l1.683.244V14.04zm18 3.036l-.539-.091v3.096l.539.078z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M0 16.792v3.083l.539-.078v-3.096zm16.317-2.752v3.473L18 17.269v-3.513zm-13.07 2.204v3.161l3.299-.478v-3.239zm6.07-1.024v3.306l4.229-.612v-3.407z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M21.389 15.131v-.042c0-.421-.143-.763-.32-.763-.177 0-.32.342-.32.763v.042c-.208.217-.355.621-.355 1.103 0 .513.162.949.393 1.152.064.195.163.33.282.33s.218-.135.282-.33c.231-.203.393-.639.393-1.152-.001-.482-.147-.886-.355-1.103zm6.999 1.069v-.042c0-.421-.143-.763-.32-.763-.177 0-.32.342-.32.763v.042c-.208.217-.355.621-.355 1.103 0 .513.162.949.393 1.152.064.195.163.33.282.33s.218-.135.282-.33c.231-.203.393-.639.393-1.152 0-.481-.147-.885-.355-1.103zm6.017 1.03v-.039c0-.393-.134-.712-.299-.712-.165 0-.299.319-.299.712v.039c-.194.203-.331.58-.331 1.03 0 .479.151.886.367 1.076.059.182.152.308.263.308s.203-.126.263-.308c.215-.189.367-.597.367-1.076 0-.45-.136-.827-.331-1.03z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M14.611 15.131v-.042c0-.421.143-.763.32-.763s.32.342.32.763v.042c.208.217.355.621.355 1.103 0 .513-.162.949-.393 1.152-.064.195-.163.33-.282.33s-.218-.135-.282-.33c-.231-.203-.393-.639-.393-1.152.001-.482.147-.886.355-1.103zM7.612 16.2v-.042c0-.421.143-.763.32-.763s.32.342.32.763v.042c.208.217.355.621.355 1.103 0 .513-.162.949-.393 1.152-.064.195-.163.33-.282.33s-.218-.135-.282-.33c-.231-.203-.393-.639-.393-1.152 0-.481.147-.885.355-1.103zm-6.017 1.03v-.039c0-.393.134-.712.299-.712s.299.319.299.712v.039c.194.203.331.58.331 1.03 0 .479-.151.886-.367 1.076-.059.182-.152.308-.263.308s-.204-.127-.264-.308c-.215-.189-.367-.597-.367-1.076.001-.45.137-.827.332-1.03zM0 11.146v3.5l18-3.268V7.614z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
<path d="M18 7.614v3.764l18 3.268v-3.5z" stroke="white" stroke-linejoin="round" stroke-width="4px"/>
</g>
<path d="M18 0L0 5v29l18 2 18-2V5z"/>
<path fill="#292F33" d="M18 36l18-2V5L18 0z"/>
<path fill="#FFD983" d="M22.454 14.507v3.407l4.229.612V15.22zm7 1.181v3.239l3.299.478v-3.161zM18 13.756v3.513l1.683.244V14.04zm18 3.036l-.539-.091v3.096l.539.078z"/>
<path fill="#FFAC33" d="M0 16.792v3.083l.539-.078v-3.096zm16.317-2.752v3.473L18 17.269v-3.513zm-13.07 2.204v3.161l3.299-.478v-3.239zm6.07-1.024v3.306l4.229-.612v-3.407z"/>
<path fill="#FFD983" d="M21.389 15.131v-.042c0-.421-.143-.763-.32-.763-.177 0-.32.342-.32.763v.042c-.208.217-.355.621-.355 1.103 0 .513.162.949.393 1.152.064.195.163.33.282.33s.218-.135.282-.33c.231-.203.393-.639.393-1.152-.001-.482-.147-.886-.355-1.103zm6.999 1.069v-.042c0-.421-.143-.763-.32-.763-.177 0-.32.342-.32.763v.042c-.208.217-.355.621-.355 1.103 0 .513.162.949.393 1.152.064.195.163.33.282.33s.218-.135.282-.33c.231-.203.393-.639.393-1.152 0-.481-.147-.885-.355-1.103zm6.017 1.03v-.039c0-.393-.134-.712-.299-.712-.165 0-.299.319-.299.712v.039c-.194.203-.331.58-.331 1.03 0 .479.151.886.367 1.076.059.182.152.308.263.308s.203-.126.263-.308c.215-.189.367-.597.367-1.076 0-.45-.136-.827-.331-1.03z"/>
<path fill="#FFAC33" d="M14.611 15.131v-.042c0-.421.143-.763.32-.763s.32.342.32.763v.042c.208.217.355.621.355 1.103 0 .513-.162.949-.393 1.152-.064.195-.163.33-.282.33s-.218-.135-.282-.33c-.231-.203-.393-.639-.393-1.152.001-.482.147-.886.355-1.103zM7.612 16.2v-.042c0-.421.143-.763.32-.763s.32.342.32.763v.042c.208.217.355.621.355 1.103 0 .513-.162.949-.393 1.152-.064.195-.163.33-.282.33s-.218-.135-.282-.33c-.231-.203-.393-.639-.393-1.152 0-.481.147-.885.355-1.103zm-6.017 1.03v-.039c0-.393.134-.712.299-.712s.299.319.299.712v.039c.194.203.331.58.331 1.03 0 .479-.151.886-.367 1.076-.059.182-.152.308-.263.308s-.204-.127-.264-.308c-.215-.189-.367-.597-.367-1.076.001-.45.137-.827.332-1.03zM0 11.146v3.5l18-3.268V7.614z"/>
<path fill="#FFD983" d="M18 7.614v3.764l18 3.268v-3.5z"/>
</svg>