mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 23:05:17 +00:00
4ee21ada05
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
1 line
683 B
XML
1 line
683 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#3B88C3" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#FFF" d="M15.304 17.187l-5.023-6.821c-.31-.404-.495-.869-.495-1.365 0-1.364 1.023-2.263 2.356-2.263.775 0 1.581.527 2.015 1.147l3.845 5.457 3.845-5.457c.435-.62 1.24-1.147 2.015-1.147 1.334 0 2.358.899 2.358 2.263 0 .496-.186.961-.496 1.364L20.7 17.186l6.139 8.248c.248.341.527.93.527 1.581 0 1.303-.992 2.17-2.355 2.17-.838 0-1.457-.371-1.923-1.022l-5.085-7.069-5.085 7.069c-.465.651-1.085 1.022-1.922 1.022-1.364 0-2.356-.867-2.356-2.17 0-.651.279-1.24.527-1.581l6.137-8.247z"/></svg> |