-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material Design 3 migration #56
base: main
Are you sure you want to change the base?
Conversation
Thank you for your PR. I will test/merge when I work on the Android app next; or maybe @wunter8 will get to it before me :-) |
This includes the latest main: #59 |
Wouldn't it make more sense if you just merged the main branch into my PR's branch instead of opening a new PR? That way I'd still be able to push changes (and you too because maintainers can push commits to PRs), because I don't have any write privileges on your PR. |
I can look into the issues with the light mode later, I forgot to test the light mode when working on the PR. |
Awesome thanks. You can just pull in my changes and update your PR. I don't think I can update your PR either. |
You can in fact, run |
(I merged the changes from your PR into this branch now) |
I fixed the issues with the status bar and top app bar I found, and we now use a theme generated by the material theme builder on Android 11 and below (see https://m3.material.io/theme-builder#/custom). The primary color used for the theme builder is the primary color of the current theme, so it should look similar to the current colors. |
@Bnyro Sorry for not reacting quicker. I am avoiding Android development a little :-) I tried your branch and it's panicking with this stack trace:
I am looking into it now, but I figured maybe you had an idea already. |
Oh yes, I know what's going on, my bad! |
We can fix this by just removing |
Do you wanna join the Discord/Matrix to make this convo easier? |
I could push the change tomorrow, probably in the evening, or I'll just let you do it and see whether you are able tp push to my branch ;) |
Hey @binwiederhier , may we continue with this in the next time? |
Funny timing. I plan to work on the Android app tomorrow. I took the day off at work. Though I do think I will do the QR code and markdown tickets first. But I'll definitely address this afterwards. |
Any updates? |
Well, I started to do some Android work this weekend. Sorry everything takes so long |
That's awesome.
It's fine, I just wanted to know if anything was happening because the last comment in this thread is a month old. |
Are there any plans to make this new theme optionally selectable by the user once it lands in a stable release? All my Android devices are on 11 or older, so apps using a Material You style theme stick out like a broken thumb and I'll typically avoid them if there's a more normal-looking alternative available (one of several reasons I've avoided moving any devices to 12+, where that's no longer possible). I'll admit that the handful of screenshots from last May don't look nearly as nauseating as most Material You designs I've come across, so I'm hopeful that this may manage to be the first inoffensive implementation I've ever seen, but there's a lot that's not visible in those images. For a much stronger example, the landing page for the M3 theme builder linked above is pretty representative of the sort of "aggressively bland" Material You design that makes my head hurt just to look at, which of course makes me even more concerned that that's apparently how the colors for devices running Android 11 and older were selected. I'd also point to an earlier comment on a related issue (binwiederhier/ntfy#580 (comment)) describing some other undesirable changes that Material You-based designs typically bring with them, and I share in that user's hope that those particular changes in design language won't come to ntfy. |
Hey,
this PR migrates the app to Material Design 3 since that's the new design standard. On Android 12 and up, dynamic accent colors will be used automatically (based on the wallpaper). If there are any suggestions for improvements, I'm open for adjusting these.
Cheers