Open dimdam opened 2 years ago
Yes, it is possible to enable dark mode. But within the package itself, natively, it is not possible.
You have to at least publish the configuration file and edit the config/livewire-datatables.php
.
If you somehow used the DaisyUI as your TailwindCSS plugin, you can add these classes I used:
'default_classes' => [
'row' => [
'even' => 'divide-x divide-base-300 text-sm text-base-content bg-base-200',
'odd' => 'divide-x divide-base-300 text-sm text-base-content bg-base-100',
'selected' => 'divide-x divide-base-300 text-sm text-base-content bg-yellow-100',
],
'cell' => 'text-sm text-base-content',
],
Is it possible to enable dark mode?