~fgaz/blobfox

6951ded08a602f41b1303fef257d249d6b507293 — LostQuasar 1 year, 6 months ago dd33072
Add trans flag
A species/blobfox/assets/flag_trans.svg => species/blobfox/assets/flag_trans.svg +8 -0
@@ 0,0 1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="800" viewBox="0 0 128 76.8">
  <g>
    <rect height="76.8" width="128" fill="#5bcefa" />
    <rect height="46.08" y="15.36" width="128" fill="#f5a9b8" />
    <rect height="15.36" y="30.72" width="128" fill="#ffffff" />
  </g>
</svg>

M species/blobfox/species.toml => species/blobfox/species.toml +1 -0
@@ 55,6 55,7 @@ heart_enby = ["body-basic", "eyes-basic", "left-hand", "right-hand", "holding", 
heart_ace = ["body-basic", "eyes-basic", "left-hand", "right-hand", "holding", "big-object"]
heart_demisexual = ["body-basic", "eyes-basic", "left-hand", "right-hand", "holding", "big-object"]
heart_pan = ["body-basic", "eyes-basic", "left-hand", "right-hand", "holding", "big-object"]
heart_trans = ["body-basic", "eyes-basic", "left-hand", "right-hand", "holding", "big-object"]

# Snuggle
snuggle_left = ["body-basic", "eyes-closed", "mouth-w"]

A species/blobfox/variants/heart_trans.mustache => species/blobfox/variants/heart_trans.mustache +25 -0
@@ 0,0 1,25 @@
{{>header}}
    {{>body}}

    {{>eyes}}

    <defs>
        <clipPath id="clip-heart">
            {{#heart}}#heart{{/heart}}
        </clipPath>
    </defs>

    <g blobfox-only-size="true">
        {{#heart}}#heart{{/heart}}
    </g>

    <g clip-path="url(#clip-heart)" blobfox-ignore-size="true">
        <g transform="rotate(9) scale(1.05 1.05) translate(10 45)">
            {{#flag_trans}}{{/flag_trans}}
        </g>
    </g>

    {{#set-fill}} rgba(255,255,255,0.5) | {{#heart}}#heart-reflection{{/heart}} {{/set-fill}}

    {{>hands}}
{{>footer}}