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

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#55ACEE" d="M18 8l-7-8H0l14 17 11.521-4.75z"/><path fill="#3B88C3" d="M25 0l-7 8 5.39 7.312 1.227-1.489L36 0z"/><path fill="#FFAC33" d="M23.26 16.026c.08-.217.131-.448.131-.693 0-1.104-.896-2-2-2h-6.667c-1.105 0-2 .896-2 2 0 .245.05.476.131.693-3.258 1.826-5.464 5.307-5.464 9.307C7.391 31.224 12.166 36 18.058 36c5.891 0 10.667-4.776 10.667-10.667-.001-4-2.206-7.481-5.465-9.307z"/><circle fill="#FFD983" cx="18.058" cy="25.333" r="8"/><path fill="#FFAC33" d="M21.278 30.634c-.142 0-.284-.044-.406-.131L18 28.444l-2.871 2.059c-.245.175-.573.175-.816-.003-.243-.176-.345-.489-.255-.774l1.071-3.456-2.845-2.005c-.242-.178-.342-.492-.25-.778.093-.285.358-.479.659-.481l3.524-.005 1.122-3.37c.095-.285.361-.477.662-.477.3 0 .567.192.662.477l1.103 3.37 3.542.005c.301.002.567.196.659.481.093.286-.008.599-.25.778l-2.846 2.005 1.071 3.456c.092.286-.012.598-.254.774-.123.09-.267.134-.41.134z"/></svg>