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.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#E2EA55" cx="18" cy="18" r="18"/><path fill="#BECA28" d="M31.802 29.546C28.792 28.221 27 24.048 27 18c0-6.048 1.792-10.221 4.802-11.546-.445-.531-.926-1.028-1.428-1.504C27.406 6.605 25 10.578 25 18c0 7.421 2.406 11.395 5.374 13.05.502-.477.984-.973 1.428-1.504zM11 18c0-7.421-2.406-11.395-5.374-13.049-.502.476-.984.972-1.428 1.503C7.208 7.78 9 11.952 9 18c0 6.048-1.792 10.22-4.802 11.546.445.531.926 1.027 1.428 1.504C8.593 29.395 11 25.421 11 18z"/><path fill="#DD2E44" d="M5.258 10.164c-.237 0-.457-.02-.651-.056-.543-.102-.9-.624-.799-1.167.102-.543.625-.902 1.167-.799.43.077 2.691.006 3.148-2.276.109-.541.633-.891 1.177-.784.542.108.893.635.784 1.177-.582 2.912-3.139 3.905-4.826 3.905zm1.439 4.192c-.53-.022-.938-.363-.941-.899-.003-.552.438-.893.99-.896 0 0 2.563.073 3.963-2.129.295-.466.913-.591 1.38-.294.466.296.603.921.307 1.387-1.986 3.126-5.683 2.832-5.699 2.831zm2.216 4.876c-.733-.035-1.406-.202-1.907-.47-.487-.26-.671-.866-.411-1.353.26-.488.867-.67 1.353-.411.81.432 2.911.379 3.775-.832.321-.45.945-.555 1.395-.234.45.321.555.945.234 1.395-1.036 1.451-2.875 1.98-4.439 1.905zm1.498 5.533c-1.554 0-2.995-.699-3.926-1.476-.424-.354-.481-.984-.128-1.409.354-.425.984-.481 1.408-.128.194.163 1.952 1.566 3.782.785.507-.215 1.095.021 1.311.53s-.022 1.096-.53 1.311c-.64.273-1.288.387-1.917.387zm-.494 5.277h-.028c-2.504 0-4.679-1.57-5.534-3.108-.269-.482-.094-1.044.388-1.312.483-.27 1.092-.07 1.36.412.484.871 1.996 2.134 3.841 2.185.552.016.987.388.972.939-.015.542-.459.884-.999.884zm16.417.52c-.066 0-.131-.006-.197-.02-.541-.108-.893-.635-.784-1.177.664-3.322 3.894-4.15 5.478-3.849.543.102.9.624.798 1.167-.101.542-.617.903-1.167.798-.425-.08-2.69-.007-3.147 2.276-.096.477-.514.805-.981.805zm-2.795-5.552c-.164-.043-.32-.129-.449-.256-.392-.389-.395-1.023-.006-1.414 2.608-2.629 4.694-2.181 6.074-1.885l.109.024c.53.105.885.646.77 1.186-.115.54-.646.885-1.186.77l-.113-.025c-1.179-.253-2.397-.515-4.234 1.337-.26.264-.631.351-.965.263zm-.452-5.695c-.183-.033-.357-.116-.503-.253-.403-.376-.425-1.009-.048-1.413 1.786-1.915 5.028-1.629 6.478-.59.449.322.553.947.23 1.396-.321.449-.948.552-1.395.23-.745-.535-2.836-.758-3.852.329-.24.258-.586.36-.91.301zm5.704-5.253c-.226 0-.452-.076-.64-.232-.194-.162-1.952-1.559-3.781-.785-.509.215-1.095-.021-1.312-.53-.216-.508.021-1.096.53-1.311 2.219-.942 4.535-.001 5.844 1.09.424.353.482.984.128 1.408-.198.238-.482.36-.769.36zm1.939-3.979c-.352 0-.692-.186-.875-.514-.484-.872-1.996-2.123-3.841-2.174-.553-.015-.987-.506-.973-1.059.016-.542.46-1.003.999-1.003h.028c2.505 0 4.68 1.694 5.534 3.232.269.483.095 1.108-.389 1.376-.152.086-.319.142-.483.142z"/></svg>