2

How to change the color of objects like , its always 'teal'. IOS color/design is good but for android I want to have a different color.

Note: Onsen UI 2.0

Tim Jansen
  • 73
  • 10
  • https://onsen.io/v2/docs/guide/js/#css-definitions – Munsterlander Sep 18 '16 at 08:07
  • No problem, I really recommend their theme roller (I think they call it a component roller now). A trick I learned was to actually click on the component after you change the items you want, then it gives you just the CSS you need and not the whole theme. – Munsterlander Sep 20 '16 at 20:35

1 Answers1

1

There are two ways:

You can also add custom CSS definitions that override the colours of components, but in that way you cannot change the primary colour throughout the whole application.

corneyl
  • 418
  • 1
  • 5
  • 10
  • Starting from version 2.2.0, the theme roller is not an option anymore. "The old Theme Roller will not be updated anymore but it will keep working for previous versions (up to 2.1.0)." See announcement: https://onsen.io/blog/220-release – J. Volkya Mar 19 '17 at 11:54
  • So how to customize theme now? – Zeni Jun 18 '17 at 17:16