fix: resolve flash of unstyled content in dark mode#766
fix: resolve flash of unstyled content in dark mode#766TusharThakur04 wants to merge 1 commit intonodejs:mainfrom
Conversation
PR SummaryLow Risk Overview This prevents the page from briefly rendering with an invalid Reviewed by Cursor Bugbot for commit 4ae89b4. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 893ddea. Configure here.
893ddea to
4ae89b4
Compare

Description
This PR resolves the FOUC by resolving
systemtodarkorlightusing matchMedia.Earlier
systemwas directly being applied asset-theme = systemValidation
before :
Screencast.from.2026-04-13.19-26-34.webm
after :
Screencast.from.2026-04-13.19-24-03.webm
Related Issues
n/a
Check List
node --run testand all tests passed.node --run format&node --run lint.