laravel-livewire-forms icon indicating copy to clipboard operation
laravel-livewire-forms copied to clipboard

Would you accept a Tailwind theme?

Open tanthammar opened this issue 5 years ago • 6 comments

I have refractored all views to use Tailwind css. Would you consider adding them to this package? My thought is to add an .env var to specify a theme. "Bootstrap" or "Tailwind".

Thank you for this package it is a huge time saver!!!

tanthammar avatar May 28 '20 16:05 tanthammar

Sounds like a great idea! I would love a Tailwind theme. Maybe a pull request, or could you publish your files?

lalov avatar Jun 04 '20 07:06 lalov

Will stop what I'm doing and wait for this xD

Ismail777 avatar Jun 08 '20 15:06 Ismail777

I have refractored all views to use Tailwind css. Would you consider adding them to this package? My thought is to add an .env var to specify a theme. "Bootstrap" or "Tailwind".

Thank you for this package it is a huge time saver!!!

Hi Tina, are you still willing to PR on that ? Thanks !!

weppami avatar Jul 24 '20 19:07 weppami

I did, but I refractored it in ways that made it incompatible with this package. Also added an additional KeyVal field for flat key value based db fields. (Same as Laravel Nova KeyVal field). I also have an "SPA" mode to display the form directly via Route::livewire.

I am using it in a live project but I have not written needed tests.

Have not reported back here because I did not have the time to change the documentation. But feel free to use it but check the source code for the other params I added to the package.

https://github.com/tanthammar/tall-forms

tanthammar avatar Jul 28 '20 12:07 tanthammar

The package is now on v2 and fully documented.

tanthammar avatar Aug 08 '20 11:08 tanthammar

For those wanting an interim solution can recommend tailwindo https://github.com/awssat/tailwindo

zcwilt avatar Nov 26 '20 18:11 zcwilt