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
1.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#9266CC" 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="M32 17h-1.051c-.217-2.832-1.341-5.411-3.088-7.447l1.159-1.159c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0l-1.159 1.159C24.411 6.392 21.833 5.268 19 5.051V4c0-.552-.447-1-1-1s-1 .448-1 1v1.051c-2.833.217-5.411 1.341-7.448 3.088L8.487 7.073c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.066 1.066C6.391 11.589 5.268 14.168 5.051 17H4c-.552 0-1 .447-1 1s.448 1 1 1h1.051c.217 2.833 1.341 5.411 3.088 7.447L6.98 27.606c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.159-1.159c2.036 1.747 4.615 2.871 7.447 3.088V32c0 .553.447 1 1 1s1-.447 1-1v-1.051c2.832-.217 5.41-1.341 7.447-3.088l1.066 1.066c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414l-1.066-1.066c1.747-2.037 2.871-4.615 3.088-7.448H32c.553 0 1-.447 1-1S32.553 17 32 17zm-5.552-6.033c1.391 1.667 2.294 3.751 2.501 6.033h-6.04c-.119-.649-.363-1.252-.707-1.788l4.246-4.245zM19 7.051c2.283.207 4.366 1.111 6.034 2.501l-4.22 4.22c-.539-.369-1.152-.636-1.814-.771v-5.95zM21 17.9c0 1.654-1.346 3-3 3s-3-1.346-3-3 1.346-3 3-3 3 1.346 3 3zM17 7.051v5.95c-.662.135-1.275.402-1.814.771l-4.22-4.22c1.667-1.39 3.751-2.294 6.034-2.501zm-7.448 3.916l4.246 4.246c-.344.536-.588 1.139-.707 1.788h-6.04c.207-2.284 1.11-4.367 2.501-6.034zm0 14.067C8.161 23.366 7.258 21.283 7.051 19h6.08c.141.622.392 1.203.741 1.714l-4.32 4.32zM17 28.949c-2.283-.207-4.366-1.111-6.034-2.501l4.345-4.345c.509.327 1.076.572 1.688.697v6.149zm2 0v-6.15c.612-.125 1.179-.37 1.688-.697l4.345 4.346c-1.667 1.391-3.75 2.294-6.033 2.501zm7.447-3.915l-4.32-4.32c.35-.511.601-1.092.741-1.715h6.08c-.206 2.284-1.11 4.368-2.501 6.035z"/></svg>