Release 5.3.0 (#1211)

This commit is contained in:
Rob Madole
2018-08-27 12:36:22 -05:00
committed by GitHub
parent 38d24e9b6f
commit 49af92c165
5247 changed files with 42360 additions and 7678 deletions

View File

@@ -6,6 +6,40 @@ This guide is useful to figure out what you need to do between breaking changes.
As always, [submit issues](https://github.com/FortAwesome/Font-Awesome/issues/new) that you run into with this guide or with these upgrades to us.
## 5.x.x to 5.3.0
Sass mixin syntax has been updated to address a bug.
Use `@extend %fa-icon` to correctly maintain CSS order in output files.
~~Old way:~~
```
.twitter {
@include fa-icon; /* incorrect */
@extend .fab;
&:before {
content: fa-content($fa-var-twitter);
}
}
```
New way:
```
.twitter {
@extend %fa-icon; /* correct */
@extend .fab;
&:before {
content: fa-content($fa-var-twitter);
}
}
```
---
## 5.1.x to 5.2.x
There are no breaking changes in this version upgrade.