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
723 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#269" d="M6.318 1.031c1.499 1.499 13.184 8.685 23.386 0V12H6.318V1.031z"/><path fill="#55ACEE" d="M34.918 5.946c0-2.537-2.429-4.475-4.27-5.391-.761-.378-1.812.393-1.896.873-.943 5.39-6.867 10.08-10.753 10.08-3.833 0-9.636-4.563-10.696-9.861C7.193 1.096 6.12.18 5.356.562c-1.838.917-4.251 2.853-4.251 5.384 3.122 4.607 3.827 6.381 3.827 11.159 0 4.777-1.366 14.117-2.56 16.507C3.566 34.807 10.594 36 18 36c7.405 0 14.448-1.193 15.642-2.389-1.194-2.39-2.546-11.73-2.546-16.507 0-4.777.701-6.551 3.822-11.158z"/><path fill="#FFD983" d="M4.192 25.616c-.433 3.006-1.002 5.832-1.56 7.366l28.506-17.637c.177-3.329.976-5.184 3.323-8.717L4.192 25.616z"/></svg>