Switch from "Light" to "Dark" in the footer of the website
Keep reloading - this happens inconsistently
What I have tried: setting a background-color property on the <canvas> element, but the white flash persists.
In https://cobe.vercel.app/, the transition is less jarring because there is a borderRadius: 50% applied to the canvas, causing a white circular flash when in normal cases would be a rectangular flash.
First of all, thank you for creating this library! The design and API is slick :^)
There seems to be a white flash on page load where the cobe globe is, noticeable only on dark backgrounds.
To replicate:
What I have tried: setting a background-color property on the
<canvas>
element, but the white flash persists.In https://cobe.vercel.app/, the transition is less jarring because there is a borderRadius: 50% applied to the canvas, causing a white circular flash when in normal cases would be a rectangular flash.
https://github.com/shuding/cobe/assets/12775813/cc042915-d6ed-4aa3-ab55-98abf40dd2db