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.
Change default theme colors of all components by changing in single file
how to change default theme color of all components by changing color in single file I have default-blue-theme.css but I think it is for css components and not for changing colors of tags like <ons-button> <ons-toolbar>
@Gaurav If you are using Onsen UI <=2.1.0 you can have a look at the old theme roller. For newer version, the same functionality is provided by this local tool. You get a copy of that when you install Onsen UI via
@Fran-Diox thanks this will help me but css componenets and in build tags does the same work then why 2 things by 2 methods quite confusing sometimes
but by changing css of components this will applied to tags also ?? sometimes I have to write !important to css to apply style
@Gaurav Yes, the tags are using that CSS. For overwriting styles, you probably need to be more specific with your CSS selectors.