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
@jjranalli
Thanks for clarifying.
May I also know is there a way to get and monitor the theme mode? e.g. showing two different icons in light and dark theme
There is no specific method exported from the library, but there are different ways you could check the current theme depending on your implementation:
check if dark class is present in <html> el
check if the value of localstorage key nightwind-mode is dark / light
(if using the next-themes library) use theme from the useTheme hook
I would also like to implement nightwind in
fill-
class.Is there a way I can achieve this?
The text was updated successfully, but these errors were encountered: