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
For some context:
We've got this playing really well with app directory and can seamlessly switch between dark and light mode when needed.
One issue I am seeing however is with global error pages - they always render in light mode. For example, when throwing a notFound, the dark mode attributes are not getting added to the <html> tag at all. Wondering if anyone has run into this problem and have an idea on how to resolve it?
App.tsx
We want to disable light mode entirely for the moment
For some context:
We've got this playing really well with app directory and can seamlessly switch between dark and light mode when needed.
One issue I am seeing however is with global error pages - they always render in light mode. For example, when throwing a notFound, the dark mode attributes are not getting added to the
<html>
tag at all. Wondering if anyone has run into this problem and have an idea on how to resolve it?App.tsx
We want to disable light mode entirely for the moment
tailwind.config.js
:Using
class
settingNextjs version:
13.2.5-canary.19
The text was updated successfully, but these errors were encountered: