2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-10 22:36:24 +00:00
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 
2021-09-28 15:28:00 -04:00

1 line
2.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#909B50" d="M13.241 23.993c1.274-1.617 4.455-.891 6.416.535s3.089 4.337 1.901 5.941-4.158 1.96-6.416.416c-2.258-1.545-3.446-4.931-1.901-6.892zm4.455-20.792c2.802.342 3.208 2.97 2.792 5.703-.416 2.733-2.436 5.347-4.693 5.228-2.257-.119-3.149-3.446-2.792-6.238s2.258-4.99 4.693-4.693z"/><path fill="#C1694F" d="M1.3 32.876c-.08 0-.161-.016-.239-.048-.319-.133-.47-.498-.337-.817 2.393-5.756 6.062-8.645 8.72-10.055 1.57-.833 2.938-2.249 4.036-3.387.663-.687 1.236-1.28 1.767-1.672 1.357-1.003 6.335-4.495 6.547-4.643.282-.199.672-.129.87.153.198.283.13.672-.153.871-.051.036-5.177 3.631-6.521 4.625-.447.331-.986.889-1.61 1.536-1.16 1.201-2.604 2.696-4.35 3.622-2.476 1.314-5.9 4.018-8.151 9.432-.102.238-.334.383-.579.383z"/><path fill="#C1694F" d="M7.538 24.5c-.321 0-.594-.245-.622-.571-.01-.113-.241-2.802-.12-4.437.025-.345.316-.602.669-.578.344.026.603.326.578.669-.114 1.536.116 4.21.118 4.237.03.344-.225.646-.568.677l-.055.003zm6 .356c-.117 0-.234-.032-.339-.101l-.231-.15c-.837-.545-2.399-1.55-3.163-1.477-.345.042-.652-.209-.69-.553-.038-.343.209-.651.552-.689 1.129-.117 2.525.721 3.983 1.672l.228.148c.29.188.373.574.185.864-.12.186-.321.286-.525.286zm2.051-6.85c-.211 0-.411-.106-.521-.307-.534-.979.188-4.022.385-4.512.128-.321.493-.477.812-.348.32.128.476.492.348.812-.262.654-.631 3.017-.444 3.456.131.307.009.686-.292.831-.093.046-.192.068-.288.068z"/><path fill="#C1694F" d="M19.774 20.163c-.127 0-.256-.039-.367-.119-1.576-1.148-2.984-1.563-4.306-1.263-.339.075-.671-.136-.748-.472-.076-.337.136-.671.472-.748 1.689-.382 3.431.099 5.317 1.471.278.203.34.595.138.874-.122.168-.312.257-.506.257zm3.625-3.624c-.069 0-.14-.011-.208-.036-1.02-.36-3.124-.883-4.528-.573-.335.073-.67-.138-.746-.475-.075-.337.138-.671.475-.746 2.074-.457 4.901.503 5.215.615.325.115.496.472.382.797-.091.258-.332.418-.59.418z"/><path fill="#3E721D" d="M34.449 2.845c2.5 1.136-1.426 5.406-3.624 6.653-2.198 1.248-10.455 5.406-10.99 5.049s3.089-6.772 6.713-9.148 6.594-3.148 7.901-2.554zM18.944 18.587c1.344-.504 6.772 1.366 9.386 3.149 2.614 1.782 4.04 4.634 2.911 5.584s-5.822.238-8.792-2.436-4.456-5.94-3.505-6.297zM9.617 2.964c2.225-.384 2.851 4.218 2.139 7.782S7.954 21.38 7.419 21.498c-.535.119-2.911-5.822-2.495-10.158.416-4.337 2.97-8.079 4.693-8.376z"/><path fill="#909B50" d="M32.341 19.492c-.8 2.707-3.459 2.674-6.086 1.812s-4.871-3.285-4.381-5.492c.49-2.207 3.918-2.536 6.613-1.724 2.695.813 4.549 3.051 3.854 5.404z"/><path fill="#C7CC62" d="M27.109 14.505c1.928.463 3.149 1.248 3.505 1.842.356.594-.059 1.248-.95.594-.891-.653-3.03-1.485-4.099-1.663-1.07-.179.059-1.13 1.544-.773zM16 4.228c1.399-.646 2.673 0 2.614.416-.059.416-1.842 0-2.673.891s-1.96 1.307-1.723.653 1.01-1.604 1.782-1.96zm1.544 20.019c1.432.102 2.97 2.198 2.436 2.614s-1.663-1.663-2.733-1.901c-1.069-.237-1.366-.831.297-.713z"/></svg>