themesberg / flowbite-vue

Official Vue 3 components built for Flowbite and Tailwind CSS
https://flowbite-vue.com
MIT License
745 stars 118 forks source link

fix(components): override classes #171

Closed vasucp1207 closed 1 year ago

vasucp1207 commented 1 year ago

Exports option to override default classes

cogor commented 1 year ago

Great suggestion, but for more customization you should add the ability to set classes for the wrapper, label and the input field itself

And it should be described in the documentation

vasucp1207 commented 1 year ago

Great suggestion, but for more customization you should add the ability to set classes for the wrapper, label and the input field itself

And it should be described in the documentation

Done with examples and export labelClass.

cogor commented 1 year ago

Here is a few tasks need to be done

Checkbox component

File input component

Input component

Radio component

Range component

Select component

Textarea component

Textarea component

And classes should be merged via https://github.com/dcastil/tailwind-merge