kenhyuwa / litepie-datepicker

Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js.
https://litepie.com
MIT License
373 stars 75 forks source link

Need to change input style #10

Closed nezamy-wow-ws closed 3 years ago

nezamy-wow-ws commented 3 years ago

Hello, I want to change the input style you may add something like input-class="px-2 py-1" props and this replacing the default classes litepie-datepicker.vue line 21


:class="inputClass ||  'relative block w-full pl-3 pr-12 py-2.5 rounded-lg overflow-hidden text-sm text-litepie-secondary-700 placeholder-litepie-secondary-400 transition-colors bg-white border border-litepie-secondary-300 focus:border-litepie-primary-300 focus:ring focus:ring-litepie-primary-500 focus:ring-opacity-10 focus:outline-none dark:bg-litepie-secondary-800 dark:border-litepie-secondary-700 dark:text-litepie-secondary-100 dark:placeholder-litepie-secondary-500 dark:focus:border-litepie-primary-500 dark:focus:ring-opacity-20'"
kenhyuwa commented 3 years ago

I don't need this feature. use slot if you need custom input style. Read