toolbar/buttons/usb: Add connected icon.

Fixes https://github.com/pybricks/support/issues/2371
This commit is contained in:
Laurens Valk
2026-01-23 14:13:18 +01:00
parent 8ef3e85c45
commit c8d7f6090b
2 changed files with 16 additions and 2 deletions
+7 -1
View File
@@ -1 +1,7 @@
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1.2631 0 0 1 -3.2708 -.26595)"><g fill="#fff"><circle cx="13.046" cy="22.827" r="2.341"/><circle cx="9.2957" cy="9.9073" r="1.5278"/><rect x="15.21" y="6.5057" width="3.1483" height="3.0696" rx=".060605" ry=".060605"/><rect x="12.345" y="4.68" width="1.4073" height="18.44" rx=".027091" ry=".36408"/><path transform="matrix(.96747 0 0 .96747 .78192 .83494)" d="m14.724 4.5411h-4.0658l2.0329-3.5211z"/></g><path d="m16.745 8.9797v2.8863l-3.6079 3.6079-0.03436-0.05727" fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="1.3229"/><path d="m9.2838 10.691v4.2837l3.6079 3.6079 0.03436-0.05727" fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="1.3229"/></g></svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1.184 0 0 1.184 -3.3132 -4.835)" fill="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="18.956">
<path transform="matrix(.41761 0 0 .41761 3.5309 5.5477)" d="m11.537 18.957v13.256c0 4.7179 3.7978 8.5156 8.5156 8.5156h1.4746v3.5234h1.6172v5.75h3.7109v-5.75h1.6172v-3.5234h1.4746c4.7179 0 8.5156-3.7978 8.5156-8.5156v-13.256h-26.926zm17.178 2.6758h3.0625v4.7695h3.7305l-5.2637 9.1152-5.2637-9.1152h3.7344zm-8.959 0.0039 5.2637 9.1152h-3.7344v4.7676h-3.0625v-4.7676h-3.7305z" stroke-width="31.472"/>
</g>
<path d="m9.2031 2.6458c-0.69882 0-1.2608 0.56326-1.2608 1.2621v6.5723h10.573v-6.5723c0-0.69882-0.56194-1.2621-1.2608-1.2621h-8.0515zm0.66856 2.4636h1.374c0.25035 0 0.45273 0.20238 0.45273 0.45273v1.374c0 0.25035-0.20238 0.4514-0.45273 0.4514h-1.374c-0.25035 0-0.4514-0.20106-0.4514-0.4514v-1.374c0-0.25035 0.20106-0.45273 0.4514-0.45273zm5.3405 0h1.374c0.25035 0 0.4514 0.20238 0.4514 0.45273v1.374c0 0.25035-0.20106 0.4514-0.4514 0.4514h-1.374c-0.25035 0-0.45272-0.20106-0.45272-0.4514v-1.374c0-0.25035 0.20238-0.45273 0.45272-0.45273z" fill="#fff" stop-color="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="24.019"/>
</svg>

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 1.3 KiB

+9 -1
View File
@@ -1 +1,9 @@
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1.2631 0 0 1 -3.2708 -.26595)"><g fill="#fff"><circle cx="13.046" cy="22.827" r="2.341"/><circle cx="9.2957" cy="9.9073" r="1.5278"/><rect x="15.21" y="6.5057" width="3.1483" height="3.0696" rx=".060605" ry=".060605"/><rect x="12.345" y="4.68" width="1.4073" height="18.44" rx=".027091" ry=".36408"/><path transform="matrix(.96747 0 0 .96747 .78192 .83494)" d="m14.724 4.5411h-4.0658l2.0329-3.5211z"/></g><path d="m16.745 8.9797v2.8863l-3.6079 3.6079-0.03436-0.05727" fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="1.3229"/><path d="m9.2838 10.691v4.2837l3.6079 3.6079 0.03436-0.05727" fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="1.3229"/></g></svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(.93446 0 0 .93446 .8674 1.7338)" fill="#fff" stroke-linecap="round" stroke-linejoin="round">
<g transform="matrix(1.2671,0,0,1.2671,-4.4741,-7.0296)" stroke-width="18.956">
<path transform="matrix(.41761 0 0 .41761 3.5309 5.5477)" d="m11.537 18.957v13.256c0 4.7179 3.7978 8.5156 8.5156 8.5156h1.4746v3.5234h1.6172v5.75h3.7109v-5.75h1.6172v-3.5234h1.4746c4.7179 0 8.5156-3.7978 8.5156-8.5156v-13.256h-26.926z" stroke-width="31.472"/>
</g>
<path d="m8.9209 0.97595c-0.74784 0-1.3492 0.60277-1.3492 1.3506v7.0334h11.315v-7.0334c0-0.74784-0.60136-1.3506-1.3492-1.3506h-8.6163zm0.71546 2.6364h1.4704c0.26791 0 0.48449 0.21658 0.48449 0.48449v1.4704c0 0.26791-0.21658 0.48307-0.48449 0.48307h-1.4704c-0.26791 0-0.48307-0.21517-0.48307-0.48307v-1.4704c0-0.26791 0.21517-0.48449 0.48307-0.48449zm5.7152 0h1.4704c0.26791 0 0.48307 0.21658 0.48307 0.48449v1.4704c0 0.26791-0.21517 0.48307-0.48307 0.48307h-1.4704c-0.26791 0-0.48448-0.21517-0.48448-0.48307v-1.4704c0-0.26791 0.21658-0.48449 0.48448-0.48449z" stop-color="#000000" stroke-width="24.019"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 1.2 KiB