mathieustan / vue-datepicker

A clean datepicker made with VueJs

Home Page:https://vue-datepicker.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow unsetting the input text-colour

AAllport opened this issue · comments

Lemmie start off by saying, I'm so glad I've discovered this package, great job!

However, have you got any guidance for putting different styling in for the text and the header.
For context, the blue looks great for the header of the dropdown, but, once the user has selected the date, the input box contains blue text, as opposed to the page's default.

Is there currently an easy way to have the default input styling once the dropdown is closed.

Failing that, please can I propose adding a text-color prop that can either be a string or "false", where false would just not add the colour style attribute to the input box?

Thanks!

Hello @AAllport,

You're totally right. I really don't remenber why I put this blue color when date has been setted.
I'm not in favor to add a new prop to update this color.

I think, i'll create a theme prop which allow to define custom style when we init the datepicker.

@AAllport should be done.

=> Release

Nice one!