Same approach, different code... I am using solution from Kimmo for doing
that:
https://together.jolla.com/question/44325/iconbutton-how-to-use-own-icons-with-highlight/
Dne úterý 10. prosince 2019 18:24:40 CET Slava Monich napsal(a):
> I use this image provider in my Jolla store apps to coloriz
I use this image provider in my Jolla store apps to colorize grayscale
svgs according to the theme:
https://github.com/monich/harbour-lib/blob/master/src/HarbourImageProvider.cpp
Sample usage:
https://github.com/monich/harbour-matkakortti/blob/master/qml/MainPage.qml#L11
and registration:
ht
have a look on advanced-camera, our icons repect theme there
On Tuesday, 10 December 2019, Zhang Bird wrote:
> On light theme, icons is like [image: image.png]
>
> On sailfish3 theme, icons is like [image: image.png]
>
> What's the magic? I made an icon, it's not work on light theme as expect.
>
Patchmanager 3 icon on settings works great
https://github.com/sailfishos-patches/patchmanager/blob/patchmanager3/src/icons/svgs/icon-m-patchmanager2.svg
Bjoern Bidar 于2019年12月10日周二 下午10:20写道:
> Because the icon is sourced from the theme and the icon theme is changed
> when you select a dark th
Because the icon is sourced from the theme and
the icon theme is changed when you select a
dark theme.
I think you have to check for which theme is
active and use the icon respectively.
signature.asc
Description: This is a digitally signed message part.
___
On light theme, icons is like [image: image.png]
On sailfish3 theme, icons is like [image: image.png]
What's the magic? I made an icon, it's not work on light theme as expect.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to d