fix: icône bonsai agrandie pour remplir la safe zone adaptive icon (v0.0.6)

Reporte les coordonnées SVG dans un viewport 108×108 avec scale ×1.286,
centré dans la safe zone (18–90). Background blanc pur.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 08:55:59 +02:00
parent 47808b2255
commit 1dcfb0f525
3 changed files with 30 additions and 24 deletions
@@ -1,67 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Viewport: 108x108
Safe zone: 1890 on each axis (72×72 px)
Bonsai scaled ×1.286 (72/56) from original 48×56 SVG, centered horizontally.
Transform: new_x = old_x × 1.286 + 23, new_y = old_y × 1.286 + 18
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="48"
android:viewportHeight="56">
android:viewportWidth="108"
android:viewportHeight="108">
<!-- Pot (trapezoid) -->
<!-- Pot base (trapezoid) -->
<path
android:fillColor="#C05621"
android:pathData="M14,56 L16,49 L32,49 L34,56 Z"/>
android:pathData="M41,90 L44,81 L64,81 L67,90 Z"/>
<!-- Pot rim (rounded rect x=12 y=45 w=24 h=5 rx=2) -->
<!-- Pot rim -->
<path
android:fillColor="#9C4221"
android:pathData="M14,45 L34,45 A2,2 0 0,1 36,47 L36,48 A2,2 0 0,1 34,50 L14,50 A2,2 0 0,1 12,48 L12,47 A2,2 0 0,1 14,45 Z"/>
android:pathData="M40.5,76 L67.5,76 A2.5,2.5 0 0,1 70,78.5 L70,80 A2.5,2.5 0 0,1 67.5,82.5 L40.5,82.5 A2.5,2.5 0 0,1 38,80 L38,78.5 A2.5,2.5 0 0,1 40.5,76 Z"/>
<!-- Trunk -->
<path
android:fillColor="#00000000"
android:strokeColor="#744210"
android:strokeWidth="4"
android:strokeWidth="5"
android:strokeLineCap="round"
android:pathData="M24,45 C24,39 22,33 20,27 C18,22 19,17 22,13"/>
android:pathData="M54,76 C54,68 51,60 49,53 C46,46 47,40 51,35"/>
<!-- Branch right -->
<path
android:fillColor="#00000000"
android:strokeColor="#744210"
android:strokeWidth="2.5"
android:strokeWidth="3.2"
android:strokeLineCap="round"
android:pathData="M21,28 C26,25 31,22 33,18"/>
android:pathData="M50,54 C56,50 63,46 65,41"/>
<!-- Branch left -->
<path
android:fillColor="#00000000"
android:strokeColor="#744210"
android:strokeWidth="2"
android:strokeWidth="2.6"
android:strokeLineCap="round"
android:pathData="M20,35 C15,32 11,28 10,24"/>
android:pathData="M49,63 C42,59 37,54 36,49"/>
<!-- Foliage left (cx=10 cy=21 r=9) -->
<!-- Foliage left (cx=36, cy=45, r=12) -->
<path
android:fillColor="#276749"
android:pathData="M1,21 a9,9 0 1,0 18,0 a9,9 0 1,0 -18,0"/>
android:pathData="M24,45 a12,12 0 1,0 24,0 a12,12 0 1,0 -24,0"/>
<!-- Foliage right (cx=34 cy=16 r=10) -->
<!-- Foliage right (cx=66, cy=39, r=13) -->
<path
android:fillColor="#276749"
android:pathData="M24,16 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"/>
android:pathData="M53,39 a13,13 0 1,0 26,0 a13,13 0 1,0 -26,0"/>
<!-- Foliage top center (cx=22 cy=11 r=11) -->
<!-- Foliage top center (cx=51, cy=32, r=14) -->
<path
android:fillColor="#2F855A"
android:pathData="M11,11 a11,11 0 1,0 22,0 a11,11 0 1,0 -22,0"/>
android:pathData="M37,32 a14,14 0 1,0 28,0 a14,14 0 1,0 -28,0"/>
<!-- Foliage overlap highlight (cx=26 cy=17 r=8) -->
<!-- Foliage overlap highlight (cx=56, cy=40, r=10) -->
<path
android:fillColor="#38A169"
android:pathData="M18,17 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0"/>
android:pathData="M46,40 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"/>
<!-- Foliage small accent (cx=18 cy=16 r=6) -->
<!-- Foliage small top accent (cx=46, cy=39, r=8) -->
<path
android:fillColor="#48BB78"
android:pathData="M12,16 a6,6 0 1,0 12,0 a6,6 0 1,0 -12,0"/>
android:pathData="M38,39 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0"/>
</vector>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#F0FFF4" />
<solid android:color="#FFFFFF" />
</shape>