LawnchairLauncher / lawnicons

Adds themed icons to Lawnchair.
Apache License 2.0
1.39k stars 466 forks source link

Multiple icon options for a single application #1371

Open x9136 opened 1 year ago

x9136 commented 1 year ago

It is good when user has a choice of several icons. It can be either variants from different authors or a way to keep the old icon after redesigning an app. There are also companies that localize icons for different languages, such as Yandex.

In the implementation, most of the icons should be main icons, and additional variants should be bound to the same component via the "alt" parameter.

Now

<item component="ComponentInfo{giraffine.dimmer/giraffine.dimmer.Dimmer}" drawable="dimmer" name="Dimmer" />

Suggestion

<item component="ComponentInfo{giraffine.dimmer/giraffine.dimmer.Dimmer}" drawable="dimmer" alt={dimmer_giraffine, dimmer_square} name="Dimmer" />

This issue also applies to Lawnchair, because having several icons to choose from, it will be convenient to show them all in the "Customize" bottom sheet.

KTibow commented 1 year ago

As someone who doesn't know too much about icon pack internals, is this something that all icon packs can implement already (eg can start using right away), or would it be more complicated than that?

x9136 commented 11 months ago

Closed due to low usefulness and lack of noticeable interest among users.

x9136 commented 9 months ago

It might be useful. #1791

x9136 commented 4 months ago

If this is implemented, then https://github.com/LawnchairLauncher/lawnchair/issues/4268 should be done differently.