-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: theme switch without reload #5132
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
base: master
Are you sure you want to change the base?
fix: theme switch without reload #5132
Conversation
|
✅ All Jest tests passed! This PR is ready to merge. |
2756eb5 to
6179b63
Compare
|
✅ All Jest tests passed! This PR is ready to merge. |
1 similar comment
|
✅ All Jest tests passed! This PR is ready to merge. |
5b3a14e to
17f7a16
Compare
|
✅ All Jest tests passed! This PR is ready to merge. |
|
@omsuneri i did run prettier, it showed the same after 3 tries :) |
|
@7se7en72025 Does it change the color of the background canvas as well? |
|
Sorry i forgot it, will commit soon. |
|
❌ Some Jest tests failed. Please check the logs and fix the issues before merging. Failed Tests: |
|
@Commanderk3 done pls check the changes, updated video in desc |
theme now switches instantly without refreshing the whole page
added applyThemeInstantly() to update colors in real-time quick.
updates body classes, canvas bg, platformColor, meta tags
refreshes palettes and floating windows on the fly
updated tests....
sugarlabs_finalthemechangefix.mp4
fixes #4520