Files
ionic-framework/CHANGELOG.md
2015-12-08 10:03:56 -06:00

26 lines
948 B
Markdown

<a name="2.0.0-alpha.41"></a>
# 2.0.0-alpha.41 (2015-12-8)
### Breaking Changes
#### CSS Refactor
* Attributes are now used by Ionic to add the correct CSS classes to elements
* Drastically reduced the depth of CSS selectors
* Further modularized Sass files to allow individual imports
* Ionic CSS comes in 3 flavors
* `ionic.css`: Core CSS, iOS CSS, and Material Design CSS
* `ionic.ios.css`: Core CSS and iOS CSS
* `ionic.md.css`: Core CSS and Material Design CSS
* App's `index.html` file can be setup to dynamically load only the stylesheet it needs
* Different Sass color maps for iOS and Material Design
* Allows colors to be different per platform
* ie: Gray navbars in iOS, blue navbars in MD. Identical HTML/JS
#### `<ion-nav-items>` renamed to `<ion-buttons>`
* `primary` attribute `<ion-nav-items primary>` now `<ion-buttons start>`
* `secondary` attribute `<ion-nav-items secondary>` now `<ion-buttons end>`