add coin control icon assets

This commit is contained in:
julian 2023-03-06 09:55:10 -06:00
parent ae481b96bf
commit 27de4d868e
5 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_7555_133622)">
<circle cx="16" cy="16" r="16" fill="#D9D9D9"/>
<g opacity="0.3">
<path d="M23.8628 20.5871C23.6515 20.9523 23.2648 21.1564 22.8709 21.1564C22.6744 21.1564 22.4756 21.1061 22.2934 20.9998L21.395 20.4755L21.5876 21.2021C21.7091 21.6608 21.4352 22.132 20.976 22.2527C20.9021 22.2728 20.8281 22.2817 20.7553 22.2817C20.3746 22.2817 20.0262 22.0277 19.9242 21.6429L19.289 19.2467L17.1454 17.9946L17.1454 20.519L18.8777 22.2693C19.2121 22.6073 19.2087 23.1509 18.871 23.4846C18.703 23.6522 18.4846 23.7345 18.2661 23.7345C18.0444 23.7345 17.8225 23.6495 17.6545 23.4794L17.1454 22.9649V24.021C17.1454 24.6544 16.6319 25.1668 15.9985 25.1668C15.365 25.1668 14.8515 24.6544 14.8515 24.021L14.8515 22.9647L14.3424 23.4792C14.0086 23.8172 13.464 23.8194 13.126 23.4859C12.7883 23.1525 12.7849 22.6087 13.1193 22.2706L14.8516 20.5204L14.8215 17.9946L12.6777 19.2454L12.0425 21.6416C11.9405 22.0265 11.592 22.2804 11.2114 22.2804C11.1385 22.2804 11.0646 22.2715 10.9907 22.2513C10.5316 22.1305 10.2577 21.6594 10.3791 21.2007L10.5717 20.4742L9.67327 20.9984C9.52235 21.1063 9.32362 21.1564 9.12703 21.1564C8.7328 21.1564 8.34858 20.9527 8.13553 20.5878C7.8157 20.0417 8 19.3403 8.54731 19.0212L9.47687 18.4787L8.74891 18.2815C8.29022 18.1593 8.01987 17.6867 8.14412 17.2284C8.26837 16.77 8.73888 16.5015 9.19936 16.6232L11.5594 17.2642L13.7258 16.0002L11.5594 14.7362L9.19936 15.3771C9.12378 15.3973 9.04808 15.4073 8.9736 15.4073C8.59512 15.4073 8.24779 15.1556 8.1443 14.7728C8.01987 14.3136 8.29022 13.8446 8.74891 13.7192L9.47687 13.522L8.54731 12.978C8.00018 12.6591 7.81577 11.9575 8.13553 11.4115C8.45368 10.8643 9.15604 10.6796 9.70425 10.9997L10.6027 11.5239L10.41 10.7974C10.2886 10.3394 10.564 9.86816 10.9901 9.74749C11.4842 9.62324 11.9211 9.89967 12.075 10.3573L12.7103 12.7535L14.8215 14.0057L14.8215 11.4813L13.1206 9.72959C12.7876 9.39157 12.7876 8.84766 13.1278 8.51429C13.4644 8.17949 14.0086 8.18415 14.3452 8.52109L14.8544 9.03564L14.8215 7.97933C14.8215 7.3459 15.3349 6.8335 15.9684 6.8335C16.6018 6.8335 17.1153 7.3459 17.1153 7.97933L17.1153 9.03564L17.6245 8.52109C17.9577 8.18429 18.5021 8.17981 18.8408 8.51438C19.1786 8.84782 19.1819 9.39166 18.8476 9.72968L17.1152 11.4799L17.1454 14.0057L19.2891 12.7549L19.9244 10.3587C20.0459 9.90111 20.5173 9.62467 20.9764 9.74893C21.4354 9.86978 21.7094 10.3408 21.588 10.7995L21.3954 11.526L22.2938 11.0018C22.8409 10.6829 23.5438 10.8675 23.8625 11.4136C24.1823 11.9597 23.998 12.6611 23.4507 12.9802L22.5211 13.5227L23.2491 13.7199C23.7078 13.8441 23.9785 14.3164 23.8539 14.774C23.7502 15.1568 23.4031 15.4086 23.0246 15.4086C22.9501 15.4086 22.8745 15.3985 22.7988 15.3783L20.4074 14.7362L18.2733 16.0002L20.4382 17.2634L22.7997 16.6236C23.2612 16.5015 23.7303 16.77 23.8556 17.2284C23.98 17.686 23.7095 18.1583 23.2509 18.2825L22.5229 18.4797L23.4525 19.0222C23.9989 19.341 24.1815 20.0428 23.8628 20.5871Z" fill="black"/>
</g>
</g>
<defs>
<clipPath id="clip0_7555_133622">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,3 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.0002 14.3397C20.0002 14.1755 19.9859 14.0085 19.9562 13.8404L18.9131 7.22787C18.4814 4.76975 16.3127 3.3335 9.97206 3.3335C3.71894 3.3335 1.52237 4.75412 1.08706 7.22725L0.0439375 13.8397C0.0142906 14.008 0 14.1747 0 14.3391C0 15.9607 1.39313 17.3332 3.17188 17.3332C4.72469 17.3332 6.1025 16.3938 6.59375 15.0007L6.82812 14.3332H13.1719L13.4062 15.0007C13.8975 16.3938 15.2753 17.3332 16.8281 17.3332C18.6064 17.3054 20.0002 15.9616 20.0002 14.3397ZM7.72206 10.0835L6.72331 10.0832L6.72206 11.0835C6.72206 11.496 6.38519 11.8335 5.97269 11.8335C5.56019 11.8335 5.22206 11.496 5.22206 11.0835L5.22321 10.0832L4.22206 10.0835C3.80956 10.0835 3.47269 9.746 3.47269 9.3335C3.47269 8.921 3.80925 8.5835 4.22206 8.5835L5.22331 8.58315L5.22206 7.5835C5.22206 7.171 5.56019 6.8335 5.97269 6.8335C6.38519 6.8335 6.72206 7.171 6.72206 7.5835L6.72321 8.58318L7.72206 8.5835C8.13456 8.5835 8.47269 8.921 8.47269 9.3335C8.47206 9.746 8.16269 10.0835 7.72206 10.0835ZM13.5002 12.0554C12.8099 12.0554 12.2502 11.4954 12.2502 10.8054C12.2502 10.1154 12.8099 9.55537 13.5002 9.55537C14.1905 9.55537 14.7502 10.1154 14.7502 10.8054C14.7502 11.5241 14.1908 12.0554 13.5002 12.0554ZM15.5002 9.05537C14.8099 9.05537 14.2502 8.49537 14.2502 7.80537C14.2502 7.11537 14.8099 6.55537 15.5002 6.55537C16.1905 6.55537 16.7502 7.11537 16.7502 7.80537C16.7502 8.52412 16.1908 9.05537 15.5002 9.05537Z" fill="#8E9192"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1,11 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_7553_128966)">
<circle cx="16" cy="16" r="16" fill="#0056D2"/>
<path d="M23.7179 11.5972C24.0821 11.9255 24.0821 12.4564 23.7179 12.7533L14.2893 21.9739C13.9857 22.3301 13.4429 22.3301 13.1071 21.9739L8.25104 17.2239C7.91632 16.927 7.91632 16.3961 8.25104 16.0678C8.58571 15.743 9.12857 15.743 9.46321 16.0678L13.7143 20.2275L22.5357 11.5972C22.8714 11.271 23.4143 11.271 23.7179 11.5972Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_7553_128966">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 643 B

View file

@ -0,0 +1,13 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_7553_128934)">
<circle cx="16" cy="16" r="16" fill="#D9D9D9"/>
<g opacity="0.3">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.2715 14.0119C10.2715 15.2759 12.8353 16.3035 16.0007 16.3035C19.166 16.3035 21.7298 15.2759 21.7298 14.0119C21.7298 12.7479 19.166 11.7202 16.0007 11.7202C12.8353 11.7202 10.2715 12.7479 10.2715 14.0119ZM25.1673 14.2983C25.1673 11.4517 21.0638 9.14209 16.0007 9.14209C10.9375 9.14209 6.83398 11.4517 6.83398 14.2983C6.83398 17.145 10.9375 19.4546 16.0007 19.4546C21.0638 19.4546 25.1673 17.145 25.1673 14.2983ZM9.93454 15.7378C9.50163 15.326 9.09342 14.7459 9.09342 14.0119C9.09342 13.2778 9.50163 12.6978 9.93454 12.286C10.3646 11.8813 10.9268 11.5662 11.4925 11.3263C12.7279 10.8465 14.3105 10.5744 15.9684 10.5744C17.6908 10.5744 19.2734 10.8465 20.4766 11.3263C21.0745 11.5662 21.6367 11.8813 22.0664 12.286C22.4997 12.6978 22.8757 13.2778 22.8757 14.0119C22.8757 14.7459 22.4997 15.326 22.0664 15.7378C21.6367 16.1424 21.0745 16.4575 20.4766 16.6652C19.2734 17.1772 17.6908 17.4494 16.0007 17.4494C14.3105 17.4494 12.7279 17.1772 11.4925 16.6652C10.9268 16.4575 10.3646 16.1424 9.93454 15.7378ZM25.1673 17.2386C24.6947 17.8008 24.1038 18.2878 23.4486 18.6709V20.9805C24.5299 20.2285 25.1673 19.3047 25.1673 18.277V17.2386ZM22.3027 21.6071V19.3226C21.2858 19.7917 20.1221 20.1462 18.8652 20.361V22.6634C20.1615 22.4521 21.3324 22.0977 22.3027 21.6071ZM15.9034 20.5687C15.3533 20.5689 14.8128 20.5691 14.2819 20.515V22.8138C14.8022 22.8608 15.3414 22.8606 15.8906 22.8604C15.9272 22.8604 15.9639 22.8604 16.0007 22.8604C16.0374 22.8604 16.0741 22.8604 16.1107 22.8604C16.6599 22.8606 17.1991 22.8608 17.7194 22.8138V20.515C17.1885 20.5691 16.648 20.5689 16.0979 20.5687C16.0655 20.5687 16.0331 20.5687 16.0007 20.5687C15.9682 20.5687 15.9358 20.5687 15.9034 20.5687ZM13.1361 22.6634V20.361C11.8792 20.1462 10.7155 19.7917 9.69857 19.3226V21.6071C10.6689 22.0977 11.8398 22.4521 13.1361 22.6634ZM6.83398 18.277C6.83398 19.3047 7.471 20.2285 8.55273 20.9805V18.6709C7.89818 18.2878 7.307 17.8008 6.83398 17.2386V18.277Z" fill="black"/>
</g>
</g>
<defs>
<clipPath id="clip0_7553_128934">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -48,8 +48,20 @@ class _BUY {
}
}
class _COIN_CONTROL {
const _COIN_CONTROL();
String get blocked => "assets/svg/coin_control/frozen.svg";
String get unBlocked => "assets/svg/coin_control/unfrozen.svg";
String get gamePad => "assets/svg/coin_control/gamepad.svg";
String get selected => "assets/svg/coin_control/selected.svg";
}
class _SVG {
const _SVG();
static const coinControl = _COIN_CONTROL();
String? background(BuildContext context) {
switch (Theme.of(context).extension<StackColors>()!.themeType) {
case ThemeType.light: