2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-10 22:36:24 +00:00
Alexandra Betouni 4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes 
2021-09-28 15:28:00 -04:00

1 line
4.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#C1694F" d="M25.94 15.188c2.045 8.239-1.642 16.246-8.235 17.881-6.592 1.636-13.593-3.719-15.638-11.958-2.044-8.24 1.642-16.246 8.236-17.882 6.59-1.636 13.593 3.718 15.637 11.959z"/><path fill="#C1694F" d="M34.146 13.151c2.391 9.635-6.295 17.402-14.948 19.548-8.653 2.146-14.34-3.532-16.385-11.773-2.044-8.24.328-15.92 8.98-18.066 8.652-2.148 19.801.005 22.353 10.291z"/><path fill="#77B255" d="M24.448 15.558c1.789 7.211-1.438 14.215-7.205 15.646-5.768 1.434-11.895-3.253-13.685-10.463-1.788-7.21 1.438-14.215 7.207-15.647 5.766-1.43 11.893 3.254 13.683 10.464z"/><path fill="#A6D388" d="M12.871 5.837c4.713 0 9.174 4.19 10.607 9.962.811 3.267.56 6.581-.707 9.331-1.231 2.674-3.28 4.486-5.768 5.103-.61.152-1.238.228-1.868.228-4.712 0-9.172-4.19-10.605-9.962-1.654-6.662 1.252-13.138 6.476-14.434.609-.151 1.236-.228 1.865-.228m0-1c-.702 0-1.406.084-2.106.257-5.769 1.432-8.995 8.437-7.206 15.647 1.572 6.335 6.492 10.721 11.575 10.721.702 0 1.409-.084 2.109-.258 5.766-1.431 8.994-8.435 7.205-15.646-1.573-6.335-6.494-10.721-11.577-10.721z"/><g fill="#A6D388"><path d="M18.974 18.518l-2.799 1.311 1.656 4.152-2.955-2.326-.697 4.171-1.378-4.098-2.651 1.745 1.006-3.976-3.043-1.701 2.8-1.315-1.657-4.149 2.957 2.115.697-4.172 1.379 4.31 2.645-1.745-1.001 3.973z"/><path d="M14.178 26.826c-.426 0-.81-.271-.947-.682l-.964-2.868-1.567 1.032c-.343.228-.792.221-1.129-.021-.336-.238-.491-.66-.39-1.06l.817-3.232-2.373-1.326c-.328-.184-.525-.534-.512-.908.013-.375.235-.71.574-.87l1.947-.914-1.308-3.274c-.165-.413-.038-.884.312-1.158.35-.273.838-.284 1.199-.026l1.653 1.183.432-2.59c.076-.456.454-.8.914-.833.472-.022.885.253 1.025.693l.977 3.053 1.544-1.019c.344-.227.794-.22 1.129.019.336.239.492.66.391 1.06l-.813 3.231 2.373 1.33c.326.184.523.535.51.909-.014.375-.235.71-.574.869l-1.945.912 1.307 3.276c.168.42.032.9-.33 1.171-.363.271-.862.265-1.217-.015l-1.628-1.282-.419 2.506c-.076.452-.45.796-.907.832l-.081.002zm-1.377-6.098c.11 0 .22.018.326.055.293.102.523.333.622.627l.103.306.038-.225c.058-.349.296-.64.625-.768.329-.126.701-.071.979.146l.027.021-.275-.691c-.196-.491.025-1.051.504-1.275l1.036-.485-1.342-.752c-.394-.221-.591-.679-.481-1.117l.372-1.477-.496.327c-.261.172-.588.213-.883.109-.295-.104-.524-.34-.62-.639l-.12-.375-.016.097c-.057.34-.285.627-.604.759-.318.133-.683.09-.964-.11l-.181-.129.391.979c.196.492-.024 1.051-.503 1.276l-1.038.487 1.343.75c.395.221.593.68.481 1.118l-.374 1.479.5-.329c.166-.109.357-.164.55-.164z"/></g><g fill="#C6E5B3"><path d="M16.788 18.019l-1.709.812 1.076 2.538-1.846-1.288-.378 2.556-.91-2.634-1.606 1.077.566-2.437-1.902-1.034 1.706-.813-1.078-2.539 1.852 1.286.373-2.556.911 2.637 1.61-1.079-.567 2.438z"/><path d="M13.931 23.137c-.211 0-.402-.134-.472-.337l-.698-2.021-1.066.716c-.17.114-.394.114-.563-.004-.169-.116-.25-.324-.203-.524l.48-2.066-1.569-.852c-.165-.09-.266-.265-.261-.453s.115-.357.285-.438l1.274-.607-.891-2.099c-.087-.205-.028-.443.145-.583.173-.141.417-.149.601-.022l1.188.826.256-1.757c.033-.228.218-.404.448-.425.228-.028.444.116.52.334l.7 2.024 1.071-.718c.171-.114.394-.112.562.004.169.117.25.325.203.525l-.48 2.067 1.568.854c.165.09.266.265.261.453-.005.188-.116.357-.285.438l-1.277.607.89 2.097c.087.205.028.443-.146.584-.173.141-.418.147-.601.021l-1.184-.826-.26 1.757c-.034.228-.219.403-.448.425h-.048zm-.91-3.634c.053 0 .107.009.159.026.147.049.263.164.313.311l.243.701.079-.533c.025-.171.138-.317.296-.386.159-.067.341-.051.484.049l.421.294-.398-.938c-.104-.247.004-.532.246-.646l.823-.392-1.04-.566c-.197-.107-.299-.333-.248-.552l.28-1.205-.558.374c-.129.086-.292.106-.438.059-.147-.049-.263-.164-.313-.311l-.241-.697-.077.525c-.025.171-.137.317-.295.386-.16.069-.342.051-.484-.048l-.429-.298.401.945c.104.246-.003.531-.245.646l-.821.391 1.041.565c.197.107.299.334.248.553l-.279 1.203.553-.371c.083-.056.18-.085.279-.085z"/></g><path fill="#292F33" d="M9.306 14.957c.229.497.147 1.024-.185 1.178-.332.153-.786-.127-1.016-.624-.229-.497-.147-1.024.185-1.177.331-.154.786.126 1.016.623zm6.698-2.936c-.129.532-.521.894-.876.809-.356-.087-.538-.589-.409-1.121.129-.532.521-.894.877-.807.354.085.537.586.408 1.119zm-2.644 9.914c-.129.532-.52.894-.875.809-.357-.087-.539-.588-.41-1.12.129-.531.521-.895.877-.808.354.086.537.587.408 1.119zm3.216 2.178c.229.497.147 1.023-.185 1.179-.331.151-.786-.128-1.016-.625-.228-.496-.148-1.023.185-1.178.332-.152.787.127 1.016.624zm1.121-7.683c-.304.292-.68.391-.843.225-.161-.17-.045-.542.258-.835.303-.292.681-.393.843-.224.162.169.047.542-.258.834zm-5.274-2.365c.181.38.158.768-.053.871-.212.098-.53-.129-.71-.509-.18-.38-.156-.77.056-.871.21-.101.528.128.707.509zm-3.98 7.094c-.304.292-.679.392-.843.225-.16-.169-.045-.542.258-.834.303-.291.68-.393.843-.225.162.169.047.542-.258.834zm10.622-.928c.329.356.382.842.116 1.093-.267.246-.752.159-1.082-.195-.33-.356-.384-.843-.116-1.094.267-.248.751-.16 1.082.196z"/></svg>