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

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#269" 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="#F5F8FA" d="M26 17h-1v13h1c1.104 0 2-.896 2-2v-9c0-1.104-.896-2-2-2zm-16 0c-1.104 0-2 .896-2 2v9c0 1.104.896 2 2 2h1V17h-1zm12 0v-2c0-1.104-.896-2-2-2h-4c-1.104 0-2 .896-2 2v2h-1v13h10V17h-1zm-6-1c0-.553.448-1 1-1h2c.553 0 1 .447 1 1v1h-4v-1z"/><path fill="#F5F8FA" d="M32 10H4c-1.104 0-2 .896-2 2v20c0 1.104.896 2 2 2h28c1.104 0 2-.896 2-2V12c0-1.104-.896-2-2-2zm0 21c0 .553-.447 1-1 1H5c-.552 0-1-.447-1-1V13c0-.553.448-1 1-1h26c.553 0 1 .447 1 1v18zM24 4h-6.35c-.563-1.179-1.756-2-3.15-2C12.567 2 11 3.567 11 5.5S12.567 9 14.5 9c1.762 0 3.205-1.306 3.45-3h1.719c.247.926.747 2 1.331 2s1.084-1.074 1.331-2H23c0 1.104.448 2 1 2s1-1 1-3c0-1.105-.448-1-1-1zM13.5 7c-.829 0-1.5-.671-1.5-1.5S12.671 4 13.5 4s1.5.671 1.5 1.5S14.329 7 13.5 7z"/></svg>