user3554104 user3554104 - 9 months ago 66
Sass (Sass) Question

ionic new version break the button design on 2.1.0

I recently upgraded the ionic to the latest version of 2.1.0 and the button are coming with out any style and color. I used the primary or danger sass color even it is not working.

My button code looks like this

<button danger>Click</button>


Ionic keep updating the new changes. There are many breaking changes on latest 2.1.0 version. Instead of

<button danger>Click </button>


<button ion-button color=“danger”>Click </button>

The color attribute is the new feature of 2.1.0 and it should be passed in the color input on components, not added individually as an attribute on the component.

Reference: 2.0.0-rc.0