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.
Is there only material design theme for android?
Hello! I wonder if there is only material design theme for android in onsen?
munsterlander 侍 last edited by munsterlander
@iriekun You can use iOS flat on Android, Onsen’s custom CSS, or your own custom CSS. Here is how you can play with styles on the components: http://components.onsen.io/
@munsterlander can you tell how can i use iOS flat on android? because when i run on android, the theme change to material design automatically
munsterlander 侍 last edited by
@iriekun Just place this at the top of your script block:
You can see a discussion here about it: https://community.onsen.io/topic/920/onsen-ui-v2-display-only-ios-css-for-all-platform/4
And also, the docs on it here: https://onsen.io/v2/docs/js/ons.html#method-disableAutoStyling
okay thank you a lot :)
@iriekun Cross platform styling is explained in the docs. I’d recommend you to have a look at that guide to get a better understanding of Onsen UI.