-
Notifications
You must be signed in to change notification settings - Fork 47
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
WIP: Adapt to yaru.dart changes #324
Conversation
This branch seems to work fine in its current state, without any modifications, when running with a self-built version of Flutter that has theme detection fixed (flutter/engine#33100). yaru_changes.mp4EDIT: Oops, the mouse cursor is missing. Just imagine that I'm moving the mouse back and forth between the apps and changing themes from both apps. |
I pushed a change to restore |
nice works! |
Maybe it's better to take a step back and only adapt to the |
Now that I know of the super nice trick.... here is a screen recording 👯 The only bit left is dark mode listening. Everything else works in both directions. Dark mode only from the inside of the app |
I don't know. After your changes there is no regression. Only a positive addition which is the color listening from inside the app to gnome. However I would also not recommend this whole procedure to somehow who is not involved in the situation currently |
As said, platform brightness detection is being fixed in the Flutter engine. I'm hesitant to start building a workaround for that because flutter/engine#33100 is already being reviewed and is expected to land soon. Notice that the transition to Normally, all it takes is to replace
with
|
I totally agree. So I think this is good to go if you agree? 😸 |
Apply only minimal YaruColors changes if you prefer that things continue working the same they do today. Go with this if you want to adapt to use YaruTheme as well, which is an optional step and does not work 100% until flutter/engine#33100 has reached Flutter stable. |
Well. this branch already has more features (listening to color changes from outside) than master. So I prefer this approach. :) This is still alpha software so I think it's great :) Thank you for the help |
No description provided.