Project

General

Profile

Actions

Feature proposal #6912

open

Upgrade to fontawesome 5

Added by krileon over 6 years ago. Updated 6 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
08 December 2017
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by krileon over 6 years ago

  • Subject changed from Upgrade fontawesome to 5 to Upgrade to fontawesome 5
Actions #2

Updated by krileon over 6 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.

Actions #3

Updated by krileon almost 6 years ago

  • Target version changed from CB 2.2 to CB 2.8
Actions #4

Updated by krileon almost 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.

Actions #5

Updated by beat over 4 years ago

  • Target version changed from CB 2.4.3 to CB 2.4.4
Actions #6

Updated by beat about 4 years ago

  • Target version changed from CB 2.4.4 to CB 2.4.5
Actions #7

Updated by beat about 4 years ago

  • Target version changed from CB 2.4.5 to CB 2.4.6
Actions #8

Updated by beat almost 4 years ago

  • Target version changed from CB 2.4.6 to CB 2.4.7
Actions #9

Updated by beat over 3 years ago

  • Target version changed from CB 2.4.7 to CB 2.5.0
Actions #10

Updated by beat over 3 years ago

  • Target version changed from CB 2.5.0 to CB 2.6
Actions #11

Updated by beat almost 3 years ago

  • Target version changed from CB 2.6 to CB 2.6.1
Actions #12

Updated by beat over 2 years ago

  • Target version changed from CB 2.6.1 to CB 2.7
Actions #13

Updated by beat about 2 years ago

  • Target version changed from CB 2.7 to CB 2.7.2
Actions #14

Updated by beat about 2 years ago

  • Target version changed from CB 2.7.2 to CB 2.7.3
Actions #15

Updated by beat almost 2 years ago

  • Target version changed from CB 2.7.3 to CB 2.7.4
Actions #16

Updated by krileon over 1 year ago

  • Target version changed from CB 2.7.4 to CB 2.8
Actions #17

Updated by beat over 1 year ago

  • Target version changed from CB 2.8 to CB 2.8.1
Actions #18

Updated by beat 8 months ago

  • Target version changed from CB 2.8.1 to CB 2.8.2
Actions #19

Updated by beat 7 months ago

  • Target version changed from CB 2.8.2 to CB 2.9.0
Actions #20

Updated by beat 6 months ago

  • Target version changed from CB 2.9.0 to CB 2.9.2
Actions

Also available in: Atom PDF