Add support for adaptive and themed icons on android #14223
Add support for adaptive and themed icons on android #14223lucasfernog merged 9 commits intotauri-apps:devfrom
Conversation
|
Any idea how to integrate multiple input icons (multiple sizes for the same icon type) into this manifest - doesn't have to be implemented now but we have to keep that requirement in mind for the config design here. |
Co-authored-by: Fabian-Lars <github@fabianlars.de>
|
I would suggest simply allowing each entry to be a directory. So for example |
yes either that or an object like |
Package Changes Through 7fba12bThere are 9 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-macros with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
lucasfernog
left a comment
There was a problem hiding this comment.
i made some changes to be explicit about the input path being the manifest file, actually overlap the bg and fg icons (like Android Studio does) and round the generated icons (again similar to how Android Studio work), i think it's working well
| } | ||
|
|
||
| #[derive(Deserialize)] | ||
| struct Manifest { |
There was a problem hiding this comment.
Just a note that we might want to generate a schema file and put it into https://schema.tauri.app/ (also some documentations would be nice)
|
I checked everything again on Android and Linux and looks like it's working fine. |
This could be a good start, if we want an even better experience, we could add a json schema like our config files so you get autocompletes in IDEs |
|
Ok, I will try to do this but I'm traveling during the next two weeks so probably will do it when I'm back. |
As discussed here:
#13860
It's backwards compatible when passing single file as input.
When passing manifest file: