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
1.5 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M20.768 34.61c-1.528 1.528-4.007 1.528-5.536 0L1.39 20.768c-1.529-1.528-1.529-4.007 0-5.536L15.231 1.39c1.529-1.529 4.008-1.529 5.536 0L34.61 15.232c1.528 1.529 1.528 4.007 0 5.536L20.768 34.61z"/><path d="M19.49 32.907c-.823.822-2.158.822-2.98 0L3.094 19.49c-.824-.823-.824-2.158 0-2.98L16.51 3.094c.823-.824 2.158-.824 2.98 0L32.907 16.51c.822.823.822 2.158 0 2.98L19.49 32.907z"/><path fill="#FFCC4D" d="M18.745 30.67c-.412.413-1.079.413-1.49 0L5.329 18.745c-.411-.412-.412-1.079 0-1.49L17.255 5.329c.412-.411 1.079-.411 1.49 0L30.67 17.255c.413.412.412 1.079 0 1.49L18.745 30.67z"/><path d="M26.707 17.292l-3.618-3.619c.548-.356.911-.971.911-1.673 0-1.104-.896-2-2-2s-2 .895-2 2c0 .703.363 1.318.911 1.674l-3.218 3.219-2.217-.555c.323-.355.524-.821.524-1.338 0-1.104-.896-2-2-2s-2 .896-2 2c0 .669.332 1.259.837 1.622L9.399 19.2c-.442.331-.531.958-.2 1.399.197.263.497.401.801.401.208 0 .419-.065.599-.2l1.735-1.302-1.395 4.186c-.175.524.108 1.091.632 1.265.106.034.213.051.318.051.419 0 .809-.265.949-.684l1.077-3.231 1.142 3.246c.183.521.753.798 1.275.611.521-.184.795-.754.611-1.275l-1.891-5.374 2.705.677c.341.086.701-.014.95-.263l1.858-1.857-1.541 6.934c-.12.539.221 1.073.76 1.193.541.116 1.074-.221 1.193-.76L22 19.609l1.023 4.607c.104.467.518.784.976.784.072 0 .145-.008.218-.023.539-.12.879-.654.76-1.193l-1.541-6.934 1.858 1.857c.391.391 1.023.391 1.414 0 .39-.391.39-1.024-.001-1.415z"/></svg>