2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-12 07:14:37 +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
2.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#CCD6DD" d="M18 35C3.042 35 1 21 1 17h34c0 2-1.958 18-17 18z"/><path fill="#66757F" d="M35 17.056c0 5.216-7.611 9.444-17 9.444S1 22.271 1 17.056c0-5.216 7.611-8.444 17-8.444 9.389-.001 17 3.228 17 8.444z"/><path fill="#77B255" d="M2.708 18.875c-.808-1.161-2.333-3.5-.708-7 .708-1.833 2.18-3.027 2.375-2.458.458 1.333 1.375 2.5 2.75 2.375-.018.473-.669-4.309 1.625-5.584 1.125-.625 2.333.375 3.708 2.583 2.202 3.537 7.811 1.884 9.385.958 1.594-.938 2.99-1.552 2.573-4.062-.092-.551.743-1.029 1.595-.573 1.431.766 3.498 2.671 3.863 4.761 1.021.271 1.786-.163 2.375-1.354.292-.59 1.292-.729 1.72.041.754 1.356 1.992 5.527.239 9.105-2 4.083-5.042 6.25-11.875 7.125s-15.625-.167-19.625-5.917z"/><path fill="#5C913B" d="M19.417 10.146c0 2.106-1.81 3.812-4.042 3.812-2.232 0-4.042-1.707-4.042-3.812 0-2.105 1.81-3.812 4.042-3.812 2.232-.001 4.042 1.707 4.042 3.812z"/><path fill="#C6E5B3" d="M18.417 10.146c0 1.585-1.362 2.869-3.042 2.869-1.68 0-3.042-1.285-3.042-2.869 0-1.585 1.362-2.87 3.042-2.87 1.68.001 3.042 1.286 3.042 2.87z"/><ellipse fill="#292F33" cx="8.167" cy="14.5" rx="2.292" ry="2"/><path fill="#DD2E44" d="M17.524 15.182c1.267 2.388-2.104.951-4.614 2.284-2.511 1.333-3.209 4.929-4.477 2.541-1.268-2.388-.26-5.404 2.25-6.737 2.511-1.332 5.574-.476 6.841 1.912z"/><ellipse fill="#292F33" cx="24.167" cy="12.5" rx="2.292" ry="2"/><path fill="#9266CC" d="M29.117 20.129c-1.564 1.48-1.178-1.412-2.734-3.056-1.558-1.644-4.466-1.415-2.903-2.896 1.563-1.481 4.094-1.349 5.65.294 1.557 1.643 1.551 4.177-.013 5.658z"/><path fill="#E1E8ED" d="M28.117 21.129c-1.564 1.48-1.178-1.412-2.734-3.057-1.558-1.643-4.466-1.415-2.903-2.896 1.563-1.481 4.094-1.349 5.65.294 1.557 1.644 1.551 4.178-.013 5.659z"/><path fill="#DD2E44" d="M24.013 19.928c.781 2.062-1.798.555-3.966 1.377-2.166.821-3.1 3.658-3.881 1.597-.781-2.06.343-4.398 2.509-5.219 2.167-.821 4.556.185 5.338 2.245z"/><path fill="#EA596E" d="M8.958 19.084c-.167-1.542 2.833-8.418 8.167-2.417-1.25.208-4.292.208-5.667 2.125s-2.625.208-2.5.292"/><path fill="#A6D388" d="M4.917 19.709c-.728-.971 1.75-3.209 3.625-1.293.792-.958 4.708-2.874 6.167 1.293.667-.75 6.125-.917 6.208 3.708.041.625-6.295.506-9.542-.25-1.792-.417-5.083-1.625-6.458-3.458zM26 22.458c-1.167.315.793-5.125 4.459-4.208.125-1 .916-4.292 3.208-3.708.083.958.041 5.832-7.667 7.916z"/></svg>