outl1ne / nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag & drop.
MIT License
284 stars 120 forks source link

Only dark mode available #163

Closed gijsbeijer closed 1 year ago

gijsbeijer commented 1 year ago

Hi,

It looks like dark mode is hardcoded into the plugin, is this correct?

I have my system settings to Dark, but when I select Light mode in Nova, the table stays in dark mode.

Regards Gijs

marttinnotta commented 1 year ago

It looks like dark mode is hardcoded into the plugin, is this correct?

This is not correct. Dark mode is implemented same way as Nova is doing it and how Tailwind describes it in their docs. Moreover nova-settings itself does not create any components but reuses Nova's own components (only component we add is a message when you have no setting fields defined).

You can try clearing your browsers cache. Also make sure you have chosen "light" from modes not "system". Also note that each field or panel that you use has to have implemented dark mode.