You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates from: #96 have improved the dark mode toggle simplicity, but removed the saved cookie that the server can use (to add the dark class via the app.blade.php file).
Either create a new composable, or alter the <ToggleDarkModeButton /> component to save the dark mode preference as a cookie that can be set in the blade file template on the server, avoiding the flash of light mode that happens on the client side.
The text was updated successfully, but these errors were encountered:
Updates from: #96 have improved the dark mode toggle simplicity, but removed the saved cookie that the server can use (to add the
dark
class via theapp.blade.php
file).Either create a new composable, or alter the
<ToggleDarkModeButton />
component to save the dark mode preference as a cookie that can be set in the blade file template on the server, avoiding the flash of light mode that happens on the client side.The text was updated successfully, but these errors were encountered: