Skip to content
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

suppressFirstRenderFlicker overlay stying #4125

Closed
aaly00 opened this issue Apr 12, 2023 · 2 comments
Closed

suppressFirstRenderFlicker overlay stying #4125

aaly00 opened this issue Apr 12, 2023 · 2 comments
Assignees
Projects

Comments

@aaly00
Copy link

aaly00 commented Apr 12, 2023

What do you want and why?

I see in this discussion @flybayer mentions that suppressFirstRenderFlicker uses a white overlay. Is there a way to style this. The app that I am building follows system dark mode and when that happens it flashes a white screen which feels a little clunky. Is there a way to style the suppressFirstRenderFlicker overlay ?

@aaly00
Copy link
Author

aaly00 commented May 3, 2023

@siddhsuresh Is this possible? It's breaking dark mode for my application. I could submit a PR to add support for this if it doesn't exist.

@siddhsuresh
Copy link
Member

siddhsuresh commented May 11, 2023

Hey @aaly00. sorry for the delayed response. No, there is no current way to modify the syling provided in https://github.com/blitz-js/blitz/blob/5a64f1c39c65c07823088b5be479d9aea403d5d4/packages/blitz-next/src/index-browser.tsx#LL98C13-L98C13 .

You can provide a PR to modify this css property to make it better suited for dark mode.

Assigning the issue to you

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

No branches or pull requests

4 participants