Currently there is only [type="text"] and [type="button"] styled. But there are so many more: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes
So I've already tried some tweaks, but there is no perfect solution without having a selector that contains all this types (or at least the most common)
Like this (messy & not classy 😅):
/* or this */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url], input[type=tel], input[type=datetime], input[type=color], input[type=date]
So the other point is, this framework should cover this (or at least some of the most common types) in my opinion - but it would make also the filesize bigger.
gist of the screenshot
Yes, I have been thinking about this as well, the problem is that it will add more file size, so the first step is to fix up #10. Which will reduce the file size, then I can start adding more inputs.
What input's should be added?
All I think is critical:
If you have any other ones, please let me know.
The file size is already tiny but, this could be added as a module to be included if desired? Also, you need to add height to select to make it the same height as text input... Awesome stuff!
@ShaggyDude Thanks for the feedback, I guess I could add it as a module, but I am working on it being included with Wing so stay tuned!
Also, what browser are you seeing the select input on? It already has height on Chrome, on Macs there are some problems however...
@CodeBrauer @ShaggyDude I added support for input type text, password, email, and a couple other common ones, I will be adding support for radio and checkbox soon.
@KingPixil Can you please also add support for input file, input url and input tel?
I'll work on it @Kcchouette 👍