April 2017
Beginner to intermediate
378 pages
7h 57m
English
By default, Ionic is packed with SCSS. Unlike the earlier version, where one had to set up SCSS in a project, in Ionic 2 the theming has become more modular and simpler. There are two levels at which theming can happen:
App-level theming is almost always what we need. We would change the colors of our app based on our brand, and since Ionic uses a SCSS map, the colors are inherited directly by the components. Also, we can add, rename, and remove colors as needed. The primary color is the only required color in the map. iOS, MD, and WP colors can be further customized if colors are different per mode.
Page/component-level theming is very helpful if we would like to keep our ...
Read now
Unlock full access