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
Using darkMode:media in tailwind will ignore the theme already preselected in Nova so you end up with:
Nova using light theme & nova-documentation displaying text as if dark theme was applied (because OS set to dark mode). This is what happens in the screenshot provided above by @bernig
Nova using dark theme & nova-documentation displaying text as if light theme was applied (because OS set to light mode)
Nova already sets 'dark' class in the body so everything nova-documentation related should work by default.
Because you're using a tailwind prefix, darkMode:class will not work by default. A hackish workaround that we found works for us, and does not require extra js, is: darkMode: ['class', 'html[class~=\'dark\']'],
A solution would be to allow us to override the CSS through
artisan vendor:publish
?The text was updated successfully, but these errors were encountered: