Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Putting an element on the page with a color attribute as of RC0 e.g:
<h2 color="someColorNameHere">Hello</h2>
Yields the warning in the console:
Deprecated: The color input has been removed from HTML elements. Please add the `ion-text` attribute in order to use the color input. For example: `<a ion-text color="secondary">Link</a>`
Expected behavior:
No warnings.
If we should be replacing the attributes as stated, then this should be reflected in the release notes as I can't see it mentioned anywhere.
Just add ion-text
<h2 ion-text color="someColorNameHere">Hello</h2>
you right, we missed this one in the release notes.
this sets the background color and the text color of the element. Is this on purpose? usually I was a blue button with white text not both blue...
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Most helpful comment
Just add ion-text
you right, we missed this one in the release notes.