style(icon): regenerate F-Droid icon.png to match launcher exactly
Re-render both locale catalog icons (512x512) from the same logo as the Android adaptive launcher icon, baking in the foreground group transform (scale 0.5, pivot 114,108, translate 2,8) over the slate background so the F-Droid render is pixel-faithful to the on-device icon. Add design/icon/calendula_launcher.svg as the composed full-bleed source of truth for store/F-Droid renders. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
34
design/icon/calendula_launcher.svg
Normal file
34
design/icon/calendula_launcher.svg
Normal file
@@ -0,0 +1,34 @@
|
||||
<svg width="232" height="232" viewBox="0 0 232 232" xmlns="http://www.w3.org/2000/svg">
|
||||
<!--
|
||||
Composed Calendula launcher icon (full-bleed), generated to exactly match the
|
||||
Android adaptive icon defined by:
|
||||
- drawable/ic_launcher_background.xml (solid @color/ic_launcher_background = #5C6B7A)
|
||||
- drawable/ic_launcher_foreground.xml (off-white #FAF6F0 mark from calendula_mark.svg)
|
||||
|
||||
The adaptive foreground group transform (scaleX/Y=0.50, pivot 114,108,
|
||||
translate 2,8) is reproduced here as the SVG transform "translate(59,62) scale(0.5)"
|
||||
because Android applies it as: p' = scale*p + pivot*(1-scale) + translate
|
||||
x' = 0.5*x + 114*0.5 + 2 = 0.5*x + 59
|
||||
y' = 0.5*y + 108*0.5 + 8 = 0.5*y + 62
|
||||
|
||||
This is the single source of truth for the F-Droid / store icon.png renders.
|
||||
-->
|
||||
<rect x="0" y="0" width="232" height="232" fill="#5C6B7A"/>
|
||||
<g transform="translate(59,62) scale(0.5)" fill="none" stroke="#FAF6F0">
|
||||
<!-- Calendar body (rounded square with horizontal header divider) -->
|
||||
<path d="M43 69H185M185 115V63C185 48.64 173.359 37 159 37H69C54.64 37 43 48.64 43 63V153C43 167.359 54.64 179 69 179H124" stroke-width="12" stroke-miterlimit="12" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<!-- Numeral "1" inside the calendar body -->
|
||||
<path d="M103 110L113.999 99V142.428" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<!-- Calendula bloom: 8 petals around a filled center -->
|
||||
<path d="M163.072 136.714C163.072 142.886 168.214 153.429 170.786 157.929C173.357 153.429 178.5 142.886 178.5 136.714C178.5 130.543 173.357 129 170.786 129C168.214 129 163.072 130.543 163.072 136.714Z" stroke-width="8"/>
|
||||
<path d="M178.5 186.857C178.5 180.686 173.357 170.143 170.786 165.643C168.214 170.143 163.072 180.686 163.072 186.857C163.072 193.029 168.214 194.572 170.786 194.572C173.357 194.572 178.5 193.029 178.5 186.857Z" stroke-width="8"/>
|
||||
<path d="M195.857 154.072C189.686 154.072 179.143 159.214 174.643 161.786C179.143 164.357 189.686 169.5 195.857 169.5C202.029 169.5 203.572 164.357 203.572 161.786C203.572 159.214 202.029 154.072 195.857 154.072Z" stroke-width="8"/>
|
||||
<path d="M145.714 170.008C151.886 170.008 162.429 164.865 166.929 162.294C162.429 159.722 151.886 154.58 145.714 154.58C139.543 154.58 138 159.722 138 162.294C138 164.865 139.543 170.008 145.714 170.008Z" stroke-width="8"/>
|
||||
<path d="M194.768 174.858C190.404 170.494 179.312 166.676 174.312 165.312C175.676 170.312 179.494 181.404 183.858 185.768C188.222 190.132 192.949 187.586 194.768 185.768C196.586 183.949 199.132 179.222 194.768 174.858Z" stroke-width="8"/>
|
||||
<path d="M146.804 149.222C151.168 153.586 162.259 157.404 167.26 158.768C165.896 153.767 162.077 142.676 157.714 138.312C153.35 133.948 148.622 136.494 146.804 138.312C144.986 140.13 142.44 144.858 146.804 149.222Z" stroke-width="8"/>
|
||||
<path d="M183.858 138.312C179.494 142.676 175.676 153.767 174.312 158.768C179.312 157.404 190.404 153.586 194.768 149.222C199.132 144.858 196.586 140.13 194.768 138.312C192.949 136.494 188.222 133.948 183.858 138.312Z" stroke-width="8"/>
|
||||
<path d="M157.714 185.768C162.077 181.404 165.896 170.312 167.26 165.312C162.259 166.676 151.168 170.494 146.804 174.858C142.44 179.222 144.986 183.949 146.804 185.768C148.622 187.586 153.35 190.132 157.714 185.768Z" stroke-width="8"/>
|
||||
<!-- Calendula center disc (filled, matches foreground <fillColor> slot) -->
|
||||
<path d="M170.786 169C174.77 169 178 165.77 178 161.786C178 157.802 174.77 154.572 170.786 154.572C166.802 154.572 163.572 157.802 163.572 161.786C163.572 165.77 166.802 169 170.786 169Z" fill="#FAF6F0" stroke="none"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
Reference in New Issue
Block a user