2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-11 23:05:17 +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
1.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#66757F" d="M25.071 10.929c-.256 0-.512-.098-.707-.293-.391-.391-.391-1.023 0-1.414l7.778-7.778c.391-.391 1.023-.391 1.414 0s.391 1.023 0 1.414l-7.778 7.778c-.195.195-.451.293-.707.293z"/><path fill="#CCD6DD" d="M6.687 32.557c-.781.78-2.048.78-2.829 0l-1.414-1.414c-.781-.781-.781-2.048 0-2.829l4.95-4.949c.781-.781 2.047-.781 2.828 0l1.415 1.414c.781.781.781 2.047 0 2.828l-4.95 4.95z"/><path fill="#99AAB5" d="M26.839 12.404c-.586.586-1.536.585-2.121 0l-2.121-2.121c-.586-.586-.586-1.536 0-2.122.585-.586 1.535-.586 2.121 0l2.121 2.122c.586.585.586 1.535 0 2.121z"/><path fill="#E1E8ED" d="M14.464 27.606c-.781.781-2.047.781-2.828 0l-4.243-4.242c-.781-.781-.781-2.048 0-2.829l12.021-12.02c.781-.781 2.048-.781 2.828 0l4.243 4.243c.781.781.781 2.047 0 2.829L14.464 27.606z"/><path fill="#DD2E44" d="M18.707 23.364c-.781.78-1.34.073-2.121-.707l-4.243-4.243c-.781-.781-1.488-1.34-.707-2.121l7.778-7.778c.781-.781 2.048-.781 2.828 0l4.243 4.243c.781.781.781 2.047 0 2.829l-7.778 7.777z"/><path fill="#99AAB5" d="M14.818 30.081c-.585.586-1.536.586-2.121 0l-7.778-7.777c-.586-.586-.585-1.536 0-2.122.585-.586 1.536-.586 2.122 0l7.778 7.778c.585.586.585 1.536-.001 2.121zm-7.071 4.243c-.585.586-1.536.586-2.122 0l-4.95-4.95c-.586-.586-.585-1.535 0-2.121.585-.586 1.536-.586 2.122 0l4.95 4.95c.586.585.586 1.535 0 2.121z"/><path fill="#DD2E44" d="M33.883 16.502c-.374-.582-.887-1.38-1.535-2.676-.131-.264-.564-.264-.695 0-.648 1.296-1.161 2.094-1.535 2.676-.523.814-.839 1.306-.839 2.164 0 1.501 1.221 2.722 2.722 2.722s2.722-1.221 2.722-2.722c-.001-.858-.317-1.35-.84-2.164zm-4 9c-.374-.582-.887-1.38-1.535-2.676-.131-.264-.565-.264-.695 0-.648 1.296-1.161 2.094-1.535 2.676-.523.814-.839 1.307-.839 2.164 0 1.501 1.221 2.723 2.722 2.723s2.722-1.222 2.722-2.723c-.001-.857-.317-1.35-.84-2.164z"/></svg>