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

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#C1694F" d="M31 12l-1.412 10.235L7.353 36 5 28z"/><path fill="#662113" d="M1 22v7.647L7.353 36v-8z"/><path fill="#A04E3C" d="M34 5v7.706l-4.412 9.529V15L31 9z"/><path fill="#D99E82" d="M34 5l-4.412 9.824L7.353 28.588 1 22 17.941 2.118 28.529 0z"/><path fill="#FFAC33" d="M12.001 30c-.323 0-.64-.156-.833-.445-.306-.46-.182-1.08.277-1.387l3-2c.459-.307 1.08-.183 1.387.277.306.46.182 1.08-.277 1.387l-3 2c-.171.113-.364.168-.554.168zm11-7c-.323 0-.641-.156-.833-.445-.307-.46-.183-1.08.277-1.387l3-2c.461-.306 1.08-.182 1.387.277.307.46.183 1.08-.277 1.387l-3 2c-.171.113-.364.168-.554.168z"/><path fill="#C1694F" d="M9 25c-.258 0-.514-.1-.708-.293l-3-3c-.382-.382-.392-.997-.022-1.391l15-16c.15-.16.349-.266.565-.302l6-1c.315-.054.642.05.871.279l2 2c.284.283.371.707.223 1.079l-2 5c-.07.176-.189.328-.343.439l-18 13C9.41 24.938 9.205 25 9 25zm-1.608-4.022l1.713 1.713L26.18 10.359l1.646-4.119-1.169-1.17-5.159.86L7.392 20.978z"/></svg>