Feature proposal #6912
openUpgrade to fontawesome 5
Description
Fontawesome 5 has been released, but it changes the "fa" class prefix to the following multiple prefixes.
Solid: fas
Regular: far
Brands: fab
All usages would need to be updated mainly where -o icons were being used.
https://fontawesome.com/how-to-use/svg-with-js#styles-and-prefixes
Updated by krileon about 7 years ago
- Subject changed from Upgrade fontawesome to 5 to Upgrade to fontawesome 5
Updated by krileon about 7 years ago
Use a second CSS class to migrate fontawesome 4 usages to fontawesome 5. Add parameter to disable it as well just like jQuery migration. Once all of core usages have been migrated this can be changed to default disabled and eventually removed.
https://fontawesome.com/how-to-use/upgrading-from-4
Example migration for alternative styling to new naming convention:
.cb_template .fa[class*="-o"]
should be attached to .cb_template .far
, which ensures the correct font will be used for those styles. Others will just need flat out to duplicate some code, but can all be generated using SCSS.
Updated by krileon over 6 years ago
- Target version changed from CB 2.2 to CB 2.8
Updated by krileon over 5 years ago
- Target version changed from CB 2.8 to CB 2.4.3
A CSS shim is now provided.
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#shims
This should make upgrading much easier as we will need to use the shim until all usages can be upgraded. The shim should completely resolve migration issues so shouldn't be any B/C concerns. Needs testing.
Updated by beat almost 5 years ago
- Target version changed from CB 2.4.3 to CB 2.4.4
Updated by beat almost 5 years ago
- Target version changed from CB 2.4.4 to CB 2.4.5
Updated by beat over 4 years ago
- Target version changed from CB 2.4.5 to CB 2.4.6
Updated by beat over 4 years ago
- Target version changed from CB 2.4.6 to CB 2.4.7
Updated by beat about 4 years ago
- Target version changed from CB 2.4.7 to CB 2.5.0
Updated by beat almost 4 years ago
- Target version changed from CB 2.5.0 to CB 2.6
Updated by beat over 3 years ago
- Target version changed from CB 2.6 to CB 2.6.1
Updated by beat over 3 years ago
- Target version changed from CB 2.6.1 to CB 2.7
Updated by beat almost 3 years ago
- Target version changed from CB 2.7 to CB 2.7.2
Updated by beat almost 3 years ago
- Target version changed from CB 2.7.2 to CB 2.7.3
Updated by beat over 2 years ago
- Target version changed from CB 2.7.3 to CB 2.7.4
Updated by krileon about 2 years ago
- Target version changed from CB 2.7.4 to CB 2.8
Updated by beat almost 2 years ago
- Target version changed from CB 2.8 to CB 2.8.1
Updated by beat over 1 year ago
- Target version changed from CB 2.8.1 to CB 2.8.2
Updated by beat about 1 year ago
- Target version changed from CB 2.8.2 to CB 2.9.0
Updated by beat about 1 year ago
- Target version changed from CB 2.9.0 to CB 2.9.2