Im the style of my application. Familiar with the main thematic components, SASS, etc. But one thing that stands out, and that doesn't make sense, is why when I look at the source in a running application, how many extra CSS classes are added. In my case, I'm just trying to change the background of the menu title. In my app.html file, I have:
<ion-header>
<ion-toolbar>
<ion-title>Menu</ion-title>
</ion-toolbar>
</ion-header>
What does it mean:
<ion-header class="header header-md">
<ion-toolbar class="toolbar toolbar-md">
<div class="toolbar-background toolbar-background-md" ng-reflect-klass="toolbar-background" ng-reflect-ng-class="toolbar-background-md"></div><div class="toolbar-content toolbar-content-md" ng-reflect-klass="toolbar-content" ng-reflect-ng-class="toolbar-content-md">
<ion-title class="title title-md"><div class="toolbar-title toolbar-title-md" ng-reflect-klass="toolbar-title" ng-reflect-ng-class="toolbar-title-md">Menu</div></ion-title>
</div></ion-toolbar>
</ion-header>
I see that there seems to be a pattern of an "ionic element" translating "element element-md". But this is a bit strange for elements like the "ionic toolbar", as this adds a div
<div class="toolbar-background toolbar-background-md" ng-reflect-klass="toolbar-background" ng-reflect-ng-class="toolbar-background-md">
I like to understand how this translation process works for me. I would like to create some neat CSS as it looks a little bulky for me!