Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
custom android material colour date picker
-
Hi,
is there any way to change the default color of android material date picker (default colour is green)?
My code is:<ons-input id=“data” modifier=“underbar” type=“date” float style=“width:100%”></ons-input>
I have searched for this “green colour” inside css files, but without success.
Thanks,
L
-
I’m not sure how you change the colour, but what you’re seeing is the native Android date picker, not an Onsen UI component.
ons-input
just wraps a regularinput
so you won’t find the colour in the Onsen UI CSS files.