Skip to content

Allow unsetting the input text-colour #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AAllport opened this issue Feb 12, 2020 · 3 comments
Closed

Allow unsetting the input text-colour #38

AAllport opened this issue Feb 12, 2020 · 3 comments

Comments

@AAllport
Copy link

AAllport commented Feb 12, 2020

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!

@mathieustan
Copy link
Owner

mathieustan commented Feb 24, 2020

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.

mathieustan added a commit that referenced this issue Apr 15, 2020
Input color will be active only when menu is visible
@mathieustan
Copy link
Owner

@AAllport should be done.

=> Release

@AAllport
Copy link
Author

Nice one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants