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

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#77B255" d="M30 4c-2.209 0-4 1.791-4 4v9.125c0 1.086-.887 1.96-2 2.448V6c0-3.313-2.687-6-6-6s-6 2.687-6 6v17.629c-1.122-.475-2-1.371-2-2.504V16c0-2.209-1.791-4-4-4s-4 1.791-4 4v7c0 2.209 1.75 3.875 3.375 4.812 1.244.718 4.731 1.6 6.625 1.651V33c0 3.313 12 3.313 12 0v-7.549c1.981-.119 5.291-.953 6.479-1.639C32.104 22.875 34 21.209 34 19V8c0-2.209-1.791-4-4-4z"/><g fill="#3E721D"><circle cx="12" cy="6" r="1"/><circle cx="23" cy="3" r="1"/><circle cx="21" cy="9" r="1"/><circle cx="14" cy="16" r="1"/><circle cx="20" cy="20" r="1"/><circle cx="13" cy="26" r="1"/><circle cx="5" cy="27" r="1"/><circle cx="9" cy="20" r="1"/><circle cx="2" cy="18" r="1"/><circle cx="34" cy="8" r="1"/><circle cx="28" cy="11" r="1"/><circle cx="32" cy="16" r="1"/><circle cx="29" cy="24" r="1"/><circle cx="22" cy="30" r="1"/></g></svg>