Describe the bug
Sparkling Grid not working properly when you are using the theme dynamically from next-themes since it can return also system, not only light or dark, I suggest using tailwind dark: selector instead of the having the theme as prop
To Reproduce
Have your system in darkmode and open the component doc page or UiBeats homepage with incognito without interacting with the dark-light mode button
Describe the bug Sparkling Grid not working properly when you are using the theme dynamically from next-themes since it can return also
system
, not onlylight
ordark
, I suggest using tailwinddark:
selector instead of the having the theme as propTo Reproduce Have your system in darkmode and open the component doc page or UiBeats homepage with incognito without interacting with the dark-light mode button