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.3 KiB
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="#FFF" d="M30 34H6c-1.654 0-3-1.346-3-3V13c0-1.654 1.346-3 3-3h24c1.654 0 3 1.346 3 3v18c0 1.654-1.346 3-3 3zM6 12c-.551 0-1 .449-1 1v18c0 .552.449 1 1 1h24c.552 0 1-.448 1-1V13c0-.551-.448-1-1-1H6zm7-9.828L9.172 6H11.5v3h3V6h2.328zm11.5 3v-3h-3v3h-2.328L23 9l3.828-3.828z"/><path fill="#FFF" d="M19 18.75h-.102c.651-.371 1.102-1.123 1.102-2 0-1.243-.895-2.25-2-2.25s-2 1.007-2 2.25c0 .877.451 1.629 1.102 2H17c-1.1 0-2 .9-2 2V24c0 .55.45 1 1 1v4.25c0 .412.338.75.75.75s.75-.338.75-.75v-3.5h1v3.5c0 .412.338.75.75.75s.75-.338.75-.75V25c.55 0 1-.45 1-1v-3.25c0-1.1-.9-2-2-2zm-8 0h-.102c.651-.371 1.102-1.123 1.102-2 0-1.243-.895-2.25-2-2.25s-2 1.007-2 2.25c0 .877.451 1.629 1.102 2H9c-1.1 0-2 .9-2 2V24c0 .55.45 1 1 1v4.25c0 .412.338.75.75.75s.75-.338.75-.75v-3.5h1v3.5c0 .412.338.75.75.75s.75-.338.75-.75V25c.55 0 1-.45 1-1v-3.25c0-1.1-.9-2-2-2zm16 0h-.102c.651-.371 1.102-1.123 1.102-2 0-1.243-.895-2.25-2-2.25s-2 1.007-2 2.25c0 .877.451 1.629 1.102 2H25c-1.1 0-2 .9-2 2V24c0 .55.45 1 1 1v4.25c0 .412.338.75.75.75s.75-.338.75-.75v-3.5h1v3.5c0 .412.338.75.75.75s.75-.338.75-.75V25c.55 0 1-.45 1-1v-3.25c0-1.1-.9-2-2-2z"/></svg>