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 #3678
2021-09-28 15:28:00 -04:00

1 line
638 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#EA596E" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#FFF" d="M26.795 15.727l-7.041-4.4C20.506 10.691 21 9.666 21 8.5 21 6.566 19.656 5 18 5c-1.657 0-3 1.567-3 3.5 0 1.166.494 2.192 1.246 2.828l-7.041 4.4c-.703.439-.916 1.364-.477 2.067.439.703 1.364.916 2.067.477l4.355-2.722L11 25h3v6.5c0 .828.671 1.5 1.5 1.5s1.5-.672 1.5-1.5V25h2v6.5c0 .828.672 1.5 1.5 1.5s1.5-.672 1.5-1.5V25h3l-4.15-9.45 4.355 2.722c.247.155.522.228.794.228.5 0 .988-.25 1.273-.705.439-.703.225-1.628-.477-2.068z"/></svg>