fix(icon): target element for style and add to breaking

This commit is contained in:
Brandy Carney
2018-06-19 13:04:06 -04:00
parent e629e29af2
commit 949d93e078
2 changed files with 5 additions and 2 deletions

View File

@@ -463,11 +463,14 @@ If any `CSS` is being overridden for an icon it will need to change to override
**New Usage Example:**
```css
.icon {
ion-icon {
fill: #000;
}
```
_Note: we are no longer adding the `icon` class to an `ion-icon`, so the element should be targeted instead._
### Property Removed
The `isActive` property has been removed. It only worked for `ios` icons previously. If you would like to switch between an outline and solid icon you should set it in the `name`, or `ios`/`md` attribute and then change it when needed.