Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.2k
Make themed widgets reflect the effective theme#28342
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
t3chguy left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'm not sure this is the right solution given that system theme often changes based on time (day/night), and widgets have no way to receive a theme change. Maybe a widget should just make its own media queries if there is no provided theme to match system theme and that way it can respond to theme changes.
b55cfb2
to78e5230
Compare78e5230
toa05835f
CompareApologies for the force pushes. This is ready for another review but blocked on a related matrix-widget-api change. |
a05835f
to4d91e97
CompareSo that widgets such as Element Call will show up in the right theme even if the app is set to match the system theme.
4d91e97
to146db61
Compare
@robintown have these concerns been addressed? |
robintown commentedJan 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yes, they have. I'm now updating the theme dynamically with a widget action. |
146db61
to7310a64
Compare7310a64
to21dde5c
Comparec453d33
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
So that widgets such as Element Call will show up in the right theme even if the app is set to match the system theme.
Closes#27671
Depends onmatrix-org/matrix-widget-api#117