abstreet/widgetry/icons/switch_off.svg
Michael Kirk 9533c10137 Theme switches
The main button API only allows re-writing one color of the image.

Since we need to rewrite multiple colors for the switch, I introduced a
`image_batch` for buttons which lets you do all kinds of manual
fanciness, and pass the result into the button API.
2021-02-24 14:59:47 -08:00

7 lines
1.9 KiB
XML

<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">
<rect fill="white" x="0" y="0" width="30" height="16" rx="8"></rect>
<circle fill="black" cx="7" cy="8" r="4"></circle>
<path fill="black" d="M13.4443 9.30957C13.4443 8.79199 13.5452 8.3265 13.7471 7.91309C13.9521 7.49967 14.2354 7.18066 14.5967 6.95605C14.9613 6.73145 15.3763 6.61914 15.8418 6.61914C16.5612 6.61914 17.1423 6.86816 17.585 7.36621C18.0309 7.86426 18.2539 8.52669 18.2539 9.35352V9.41699C18.2539 9.93132 18.1546 10.3936 17.9561 10.8037C17.7607 11.2106 17.4792 11.528 17.1113 11.7559C16.7467 11.9837 16.3268 12.0977 15.8516 12.0977C15.1354 12.0977 14.5544 11.8486 14.1084 11.3506C13.6657 10.8525 13.4443 10.1934 13.4443 9.37305V9.30957ZM14.3525 9.41699C14.3525 10.0029 14.4876 10.4733 14.7578 10.8281C15.0312 11.1829 15.3958 11.3604 15.8516 11.3604C16.3105 11.3604 16.6751 11.1813 16.9453 10.8232C17.2155 10.4619 17.3506 9.95736 17.3506 9.30957C17.3506 8.73014 17.2122 8.26139 16.9355 7.90332C16.6621 7.54199 16.2975 7.36133 15.8418 7.36133C15.3958 7.36133 15.0361 7.53874 14.7627 7.89355C14.4893 8.24837 14.3525 8.75618 14.3525 9.41699ZM19.8311 12V7.41504H18.9961V6.7168H19.8311V6.1748C19.8311 5.6084 19.9824 5.17057 20.2852 4.86133C20.5879 4.55208 21.016 4.39746 21.5693 4.39746C21.7777 4.39746 21.9844 4.42513 22.1895 4.48047L22.1406 5.21289C21.9876 5.18359 21.8249 5.16895 21.6523 5.16895C21.3594 5.16895 21.1331 5.25521 20.9736 5.42773C20.8141 5.59701 20.7344 5.84115 20.7344 6.16016V6.7168H21.8623V7.41504H20.7344V12H19.8311ZM23.3076 12V7.41504H22.4727V6.7168H23.3076V6.1748C23.3076 5.6084 23.459 5.17057 23.7617 4.86133C24.0645 4.55208 24.4925 4.39746 25.0459 4.39746C25.2542 4.39746 25.4609 4.42513 25.666 4.48047L25.6172 5.21289C25.4642 5.18359 25.3014 5.16895 25.1289 5.16895C24.8359 5.16895 24.6097 5.25521 24.4502 5.42773C24.2907 5.59701 24.2109 5.84115 24.2109 6.16016V6.7168H25.3389V7.41504H24.2109V12H23.3076Z" />
</svg>