pavelprosto94 / uHome

Home screen for Ubuntu Touch
Other
6 stars 3 forks source link

Not possible to change background colors #17

Open gbdomubpkm opened 3 years ago

gbdomubpkm commented 3 years ago

Background colors cannot be changed on the video player, and on the app links (except for the 'internet link').

Keneda-ut commented 3 years ago

This is not an issue, this is normal behavior depending on the icon used itself.

Background color for apps icons changability depends on the icon you use, if the icon is png or svg with alpha background, you can change it to the color of your choice.

Test yourself changing icon background with on from the folder "/usr/share/icons", one that has alpha (=transparancy) as background color, for instance one from "suru/apps/scalable".

gbdomubpkm commented 3 years ago

Not yet investigated. In any case the feature must be specified and/or refined if we can use like it is currently.

Keneda-ut commented 3 years ago

Not yet investigated. In any case the feature must be specified and/or refined if we can use like it is currently.

Then i investigated for you lol Maybe it must be specified, maybe not as i understood it by myself from the beginning ^^ And like it is currently, it is very usable, and Home not being an image editor app, there is no reason that Pavel spend time and complexify code to allow customise images in a Gimp way.

Cheers :)

pavelprosto94 commented 3 years ago

In future releases, I plan to add the ability to add images from the icon browser. You can see these pictures here. https://github.com/pavelprosto94/uHome/tree/master/src/Link/img

As already mentioned, the background of the widget changes, and not the picture itself. If the icon does not have a transparent background, then no changes are made accordingly. If you really want, I can add the recolor function to the widget. It's not very difficult.

gbdomubpkm commented 3 years ago

Thank you. I don't want to overload your great work! So do if you can. I already like this app as is. I understood this morning that it was the .svg that allowed to modify the icon background thanks to Keneda. In fact, I had not thought about it at all. 😉 dekko:// works and it's good.

Keneda-ut commented 3 years ago

@gbdomubpkm remember it should works with any file that support alpha as background, like png or gif (but i only tested with svg and png).