Skip to content

Conversation

@7se7en72025
Copy link
Contributor

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....

sugralabs_themecHANGE_FIX.mp4

fixes #4520

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@7se7en72025 7se7en72025 force-pushed the fix/theme-switch-no-reload-4520 branch from 2756eb5 to 6179b63 Compare January 11, 2026 01:55
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

1 similar comment
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@7se7en72025 7se7en72025 force-pushed the fix/theme-switch-no-reload-4520 branch from 5b3a14e to 17f7a16 Compare January 11, 2026 02:12
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@7se7en72025
Copy link
Contributor Author

7se7en72025 commented Jan 11, 2026

@omsuneri i did run prettier, it showed the same after 3 tries :)

@Commanderk3
Copy link
Member

Commanderk3 commented Jan 11, 2026

@7se7en72025 Does it change the color of the background canvas as well?
The video you have shown, is it before or after?

@7se7en72025
Copy link
Contributor Author

Sorry i forgot it, will commit soon.
Thanx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Switching between light and dark mode causes a full-page reload instead of applying the theme instantly

2 participants