maelchiotti / LocalMaterialNotes

Simple, local, material design notes
https://play.google.com/store/apps/details?id=com.maelchiotti.localmaterialnotes
GNU Affero General Public License v3.0
126 stars 7 forks source link

Material You colors inconsistencies #189

Open at-pyrix opened 1 month ago

at-pyrix commented 1 month ago

Hi.

So I use the monochrome (white) color as my system's default theme color for Material You.

[!NOTE] Keep in mind it's not the same as the color you choose when there's a black/white wallpaper. I've explicitly set this through the Repainter app. Although I believe this applies to other colors too.

However, I've noticed some inconsistencies in color throughout the app. Here are some screenshots:

Original

Screenshot_20240918-223342

Screenshot_20240918-223332 Screenshot_20240918-223358

You can see a certain blu-ish/green-ish tint.

Desaturated version (better)

20240918_223413 20240918_223451 20240918_223435

It's a minor issue but please fix this in the next release.

at-pyrix commented 1 month ago

Other apps which use the Material Design 3 framework don't have this problem.

Here's droid-ify, for example:

Screenshot_20240918-224514_Droid-ify

maelchiotti commented 1 month ago

Thank you for the detailed issue and the screenshots.

I also use Repainter, but I don't really know how to set a monochrome/white theme? When I choose a white custom main color, I get a somewhat blue colour instead.

Color picked: Screenshot_2024-09-18-23-26-09-850_dev.kdrag0n.dyntheme.jpg

See the blueish color I get on the texts, buttons etc: Screenshot_2024-09-18-23-26-25-705_dev.kdrag0n.dyntheme.jpg

at-pyrix commented 1 month ago

Maybe try selecting the #000000 color? This works for me (Android 12 btw)

maelchiotti commented 1 month ago

I tried and I also get a blue colour 🤔

I'm also on android 12, but with a Xiaomi phone, so maybe MIUI changes something. I'll try with my Android 14 pixel emulator later.

In any case, I use the official Google library to get the dynamic Material You theme. So if it's indeed a bug, I'm almost certain it comes from the library and there's nothing I can do about it.

at-pyrix commented 1 month ago

I see, but then how are the other apps able to do the same? I have used many apps that come with a Material You theme but none of those come with this "bug". Also, if you look closely in the screenshot (original), you can see that the background color for the "+" icon is perfect. Same goes for the app background color.

at-pyrix commented 1 month ago

Hey I just realised that the KDE Connect app has a similar UI and the colors there work perfectly fine. Maybe if you could take a look at the source code?

Screenshot_20240921-100013_KDE Connect Screenshot_20240921-100017_KDE Connect

maelchiotti commented 1 month ago

Both the KDE connect app and the Droid-ify app use a different technology than mine. I use Flutter and Dart, while they use native Kotlin. You can easily see that by looking at the main language used: Dart for me, and Kotlin for them.

It means the source code is entirely different, and we don't use the same libraries at all. That probably explains why they work fine.

There are popular Flutter apps however, so I will try some to see if I can spot a difference with mine. I'll just add that it's not a priority for me since it's a minor bug, so it might take some weeks for me to free some time for that.

at-pyrix commented 1 month ago

yeah it's fine