Skip to content
Discussion options

You must be logged in to vote

You can create a custom theme and change the CSS.

For instance:

//...
class MyTheme extends Tailwind
{
    public string $name = 'tailwind';

    public function table(): Table
    {
        return Theme::table('rounded-lg min-w-full border border-slate-200 dark:bg-slate-600 dark:border-slate-500')
             //...
            ->tdBodyTotalColumns('px-3 py-2 whitespace-nowrap dark:text-slate-200 text-sm text-slate-600 text-left space-y-2');   //Align left
//...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ivanfa5
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by luanfreitasdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants