gui: MiMo's icon is mimo.mi.com's logo (magpie-community/plugins#14, mintonight: the Discover card for Xiaomi MiMo still showed the old icon after MiMo plugin 0.1.7 took mimo.mi.com's) — the plugin's own magpie.icon carries the new logo, but the market's card, the Xiaomi MiMo subscription tile and the MiMo Code agent all draw magpie's built-in mimocode icon (registry.json names it), which was a square-in-a-rectangle glyph. icons/mimocode.svg is now mimo.mi.com's mimo-code logo (the "Xiaomi MiMo" wordmark over the MiMo mark) with its black square taken out, so it is drawn as a mask in the text colour as every other monochrome icon, light and dark, and its viewBox cut to the marks so they fill the tile rather than its middle band. Checked by rendering it as a mask in webkit at 32 and 20 px on light and dark tiles. No test covers an icon's picture.

This commit is contained in:
yetone
2026-10-04 11:28:50 +08:00
parent bc8d0f8381
commit 4dc0f4aa2e
+1 -1
View File
@@ -1 +1 @@
<svg fill="currentColor" height="1em" style="flex:none;line-height:1" viewBox="0 0 512 512" width="1em" xmlns="http://www.w3.org/2000/svg"><title>mimocode</title><path d="M320 224V352H192V224H320Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M384 416H128V96H384V416ZM320 160H192V352H320V160Z" fill="currentColor"></path></svg>
<svg fill="currentColor" height="1em" style="flex:none;line-height:1" viewBox="10 28 108 72" width="1em" xmlns="http://www.w3.org/2000/svg"><title>mimocode</title><g><path d="M26.74,43.69l8.75-10.85h-4.72l-6.45,7.96-6.45-7.96h-4.72l8.75,10.85.03.04-9.11,11.24h5.03l6.46-8.26,6.46,8.26h5.03l-9.11-11.24.03-.04ZM39.75,30.35c-1.52,0-2.51,1.12-2.51,2.48s.99,2.48,2.51,2.48,2.51-1.12,2.51-2.48-.99-2.48-2.51-2.48ZM37.75,54.97h3.99v-17.57h-3.99v17.57ZM60.02,44.36v10.61h-3.99v-1.76c-1.16,1.36-2.93,2.19-5.67,2.19-1.26,0-5.49-.72-5.96-4.97-.45-4.06,2.9-6.78,9.17-6.78h2.45c0-2.16-.99-3.48-3.68-3.53-2.19-.04-4.02.82-5.37,2l-1.57-3.01c2.04-1.77,5.29-2.81,8.68-2.39,5.56.68,5.94,5.28,5.94,7.63ZM56.02,46.94h-1.95c-4.21,0-5.8,1.35-5.65,2.89.14,1.5,1.51,2.16,3.18,2.16,2.85,0,4.42-2.79,4.42-4.55v-.49ZM80.1,46.12c0,5.15-3.52,9.38-8.92,9.38s-8.92-4.24-8.92-9.38,3.52-9.38,8.92-9.38,8.92,4.24,8.92,9.38ZM76.11,46.12c0-3.66-2.17-5.81-4.93-5.81s-4.93,2.15-4.93,5.81,2.17,5.81,4.93,5.81,4.93-2.15,4.93-5.81ZM110.58,54.97h3.99v-17.57h-3.99v17.57ZM112.57,30.35c-1.52,0-2.51,1.12-2.51,2.48s.99,2.48,2.51,2.48,2.51-1.12,2.51-2.48-.99-2.48-2.51-2.48ZM101.27,36.63c-2.49,0-4.31,1.03-5.3,3.2-.94-2.32-2.89-3.2-4.78-3.2-1.71,0-3.97.77-4.73,2.82v-2.05h-3.91v17.57h3.99v-10.47c0-1.29.42-4.19,3.17-4.19s3.21,2.89,3.21,4.19v10.47h3.99v-10.47c0-1.29.42-4.19,3.21-4.19s3.17,2.89,3.17,4.19v10.47h3.99v-11.42c0-4.58-2.74-6.92-6.03-6.92Z"/><g><path d="M44.57,75.97v19.37c0,1.07-.87,1.93-1.93,1.93s-1.93-.87-1.93-1.93v-19.37c0-1.07.87-1.93,1.93-1.93s1.93.87,1.93,1.93Z"/><path d="M14.77,82.82h0c-1.07,0-1.93.87-1.93,1.93v10.6c0,1.07.87,1.93,1.93,1.93h0c1.07,0,1.93-.87,1.93-1.93v-10.6c0-1.07-.87-1.93-1.93-1.93Z"/><path d="M36.6,75.77s0-.05-.01-.08c0-.04,0-.07-.02-.11,0-.03-.01-.06-.02-.09,0-.03-.01-.06-.02-.09,0-.03-.02-.06-.03-.09-.01-.03-.02-.06-.03-.09-.01-.03-.03-.05-.04-.08-.01-.03-.03-.06-.04-.09-.01-.03-.03-.05-.04-.08-.02-.03-.03-.06-.05-.09-.02-.03-.04-.05-.06-.08-.02-.02-.03-.05-.05-.07-.04-.05-.08-.1-.13-.14h0s-.09-.09-.14-.13c-.02-.02-.05-.03-.07-.05-.03-.02-.05-.04-.08-.06-.03-.02-.05-.03-.08-.05-.03-.02-.05-.03-.08-.05-.03-.01-.06-.03-.09-.04-.03-.01-.06-.03-.09-.04-.03-.01-.06-.02-.08-.03-.03-.01-.06-.02-.1-.03-.03,0-.06-.01-.08-.02-.03,0-.07-.02-.1-.02-.03,0-.06,0-.09-.01-.03,0-.06-.01-.1-.01-.05,0-.11,0-.16,0,0,0-.02,0-.03,0-.01,0-.02,0-.03,0-.05,0-.11,0-.16,0-.03,0-.07,0-.1.01-.03,0-.06,0-.09.01-.04,0-.07.02-.11.03-.03,0-.05.01-.08.02-.03.01-.07.02-.1.04-.03,0-.05.02-.08.03-.03.01-.06.03-.09.04-.03.01-.05.02-.08.04-.03.02-.06.03-.09.05-.02.01-.05.03-.07.04-.03.02-.06.05-.1.07-.02.01-.04.03-.06.04-.05.04-.1.08-.14.13l-8.59,8.59-8.59-8.59c-.75-.75-1.98-.75-2.73,0h0c-.75.75-.75,1.98,0,2.73l9.96,9.96c.76.76,1.98.76,2.73,0l6.66-6.66v14.73c0,1.07.87,1.93,1.93,1.93s1.93-.87,1.93-1.93v-19.39c0-.06,0-.13,0-.19Z"/><path d="M50.6,82.82c-1.07,0-1.93.87-1.93,1.93v10.6c0,1.07.87,1.93,1.93,1.93s1.93-.87,1.93-1.93v-10.6c0-1.07-.87-1.93-1.93-1.93Z"/><path d="M72.44,75.77s0-.05-.01-.08c0-.04,0-.07-.02-.11,0-.03-.01-.06-.02-.09,0-.03-.01-.06-.02-.09,0-.03-.02-.06-.03-.09-.01-.03-.02-.06-.03-.09-.01-.03-.03-.05-.04-.08-.01-.03-.03-.06-.04-.09-.01-.03-.03-.05-.04-.08-.02-.03-.03-.06-.05-.09-.02-.03-.04-.05-.06-.08-.02-.02-.03-.05-.05-.07-.04-.05-.08-.1-.13-.14h0s-.09-.09-.14-.13c-.02-.02-.05-.03-.07-.05-.03-.02-.05-.04-.08-.06-.03-.02-.05-.03-.08-.05-.03-.02-.05-.03-.08-.05-.03-.01-.06-.03-.09-.04-.03-.01-.06-.03-.09-.04-.03-.01-.06-.02-.08-.03-.03-.01-.06-.02-.1-.03-.03,0-.05-.01-.08-.02-.03,0-.07-.02-.1-.02-.03,0-.06,0-.09-.01-.03,0-.06-.01-.1-.01-.05,0-.11,0-.16,0,0,0-.02,0-.03,0h0s-.02,0-.03,0c-.05,0-.11,0-.16,0-.03,0-.07,0-.1.01-.03,0-.06,0-.09.01-.04,0-.07.02-.11.03-.03,0-.05.01-.08.02-.03.01-.07.02-.1.04-.03,0-.05.02-.08.03-.03.01-.06.03-.09.04-.03.01-.05.02-.08.04-.03.02-.06.03-.09.05-.02.01-.05.03-.07.04-.03.02-.06.05-.1.07-.02.01-.04.03-.06.04-.05.04-.1.08-.14.13l-8.59,8.59-8.59-8.59c-.75-.75-1.98-.75-2.73,0h0c-.75.75-.75,1.98,0,2.73l9.96,9.96c.76.76,1.98.76,2.73,0l6.66-6.66v14.73c0,1.07.87,1.93,1.93,1.93h0c1.07,0,1.93-.87,1.93-1.93v-19.39c0-.06,0-.13,0-.19Z"/><path d="M90.74,92.98c-3.04,1.46-6.8.89-9.27-1.57-2.46-2.46-3.03-6.22-1.57-9.27.4-.83.14-1.82-.6-2.37h0c-.98-.74-2.39-.38-2.92.73-2.13,4.49-1.28,10.02,2.34,13.65s9.16,4.48,13.65,2.34c1.11-.53,1.46-1.94.73-2.92-.55-.73-1.54-.99-2.37-.6Z"/><path d="M95.7,77.18c-3.63-3.63-9.16-4.48-13.65-2.34-1.11.53-1.46,1.94-.73,2.92.55.73,1.54.99,2.37.6,3.04-1.46,6.8-.89,9.27,1.57,2.46,2.46,3.03,6.22,1.57,9.27-.4.83-.14,1.82.6,2.37.98.74,2.39.38,2.92-.73,2.13-4.49,1.28-10.02-2.34-13.65Z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 4.5 KiB