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

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFDC5D" d="M3 26h8v10H3zm22 0h8v10h-8z"/><path fill="#F9CA55" d="M33 28.72s-3 2-8 1v-5h8v4zm-30 0s3 2 8 1v-5H3v4z"/><path fill="#EF9645" d="M3.983 18.604h8v8h-8zm20.023-.5h8v8h-8z"/><path fill="#FFDC5D" d="M.373 11.835S.376 10.61 1.6 10.613c1.226.004 1.222 1.229 1.222 1.229l-.019 5.684c.195-.09.399-.171.613-.241l.025-7.889s.004-1.225 1.227-1.221c1.224.003 1.221 1.229 1.221 1.229l-.021 7.42c.199-.018.404-.032.61-.042l.028-8.602s.003-1.225 1.228-1.22c1.225.004 1.22 1.229 1.22 1.229l-.028 8.6c.21.012.412.033.614.052l.025-8.039s.004-1.225 1.227-1.22c1.224.003 1.219 1.227 1.219 1.227l-.024 8.501-.003.681v.611c-3.674-.009-6.133 3.042-6.144 6.104 0 .612.612.616.612.616.01-3.678 2.467-6.115 6.142-6.104l1.801-4.188s.395-1.159 1.556-.762c1.158.392.765 1.553.765 1.553l-.893 3.105c-.354 1.234-.685 2.476-.859 3.744-.498 3.584-3.581 6.34-7.299 6.33C3.61 28.983.33 25.685.343 21.63c.001-.214.014-.418.034-.61l-.032-.004.028-9.181zm35.244 0s-.003-1.225-1.227-1.222c-1.226.004-1.223 1.229-1.223 1.229l.019 5.684c-.194-.09-.399-.171-.612-.241l-.025-7.889s-.004-1.225-1.227-1.221c-1.225.003-1.222 1.229-1.222 1.229l.022 7.42c-.198-.018-.403-.032-.61-.042l-.027-8.602s-.004-1.225-1.229-1.22c-1.225.004-1.22 1.229-1.22 1.229l.028 8.6c-.21.012-.412.033-.614.052l-.025-8.039s-.005-1.225-1.228-1.22c-1.224.003-1.219 1.227-1.219 1.227l.024 8.501.003.681v.611c3.674-.009 6.133 3.042 6.145 6.104 0 .612-.612.616-.612.616-.011-3.678-2.468-6.115-6.142-6.104l-1.801-4.188s-.394-1.159-1.556-.762c-1.157.392-.765 1.553-.765 1.553l.893 3.105c.354 1.234.685 2.476.859 3.744.498 3.584 3.58 6.34 7.299 6.33 4.055-.017 7.336-3.315 7.322-7.37-.001-.214-.014-.418-.034-.61l.032-.004-.028-9.181z"/><path d="M23.541 6.458c-.213 0-.429-.068-.61-.208-.438-.338-.518-.966-.18-1.403L25.73.992c.335-.436.965-.52 1.402-.18.438.338.518.966.18 1.403L24.333 6.07c-.196.255-.492.388-.792.388zm-11.02 0c-.299 0-.595-.134-.792-.389L8.75 2.215c-.337-.437-.256-1.065.181-1.403.437-.337 1.064-.257 1.403.18l2.979 3.855c.337.437.257 1.065-.18 1.403-.183.141-.398.208-.612.208zM18 6c-.552 0-1-.448-1-1V1c0-.552.448-1 1-1 .553 0 1 .448 1 1v4c0 .552-.447 1-1 1z" fill="#5DADEC"/></svg>