-
Epic
-
Resolution: Unresolved
-
Minor
-
None
-
4.2
-
MOODLE_402_STABLE
-
FA 6 icons
In MDL-76989 the Font Awesome library has been upgraded from 4.7 to 6.3. Although the syntax has slightly changed, the new version is backwards compatible (because shim has been included):
<!-- Version 4's syntax --> |
<i class="fa fa-camera-retro"></i> |
<!-- Version 6's syntax --> |
<i class="fa-solid fa-camera-retro"></i> |
This issue is to review the references in core to all the version 4's syntax to update them to the 6's syntax. Apart from that, some icons can be updated because the new version has more images.
For instance, with Font Awesome 4, the fa-lightbulb-o is used to highlight: https://fontawesome.com/v4/icon/lightbulb-o
However, in Font Awesome, there is a specific icon for it ("fa-solid fa-highlighter"): https://fontawesome.com/icons/highlighter?s=solid&f=classic
Implementation phases
Phase 1
Take advantage of Font Awesome 6 adding support to the families and also replacing the icons:
MDL-81661Upgrade Font Awesome Library to the latest versionMDL-82210Add support to Font Awesome familiesMDL-82476Remove non-SVG iconsMDL-82498Update pix/s emoticons with the emojis from the emoji-data libraryMDL-82686Hide the menu for the Course overview block in My courses page when edit mode is onMDL-82500Enhance the CTA on the My Courses page- Update custom icons (blocked by UX -
MDL-82218) MDL-82212Provide a mechanism to deprecate and detect deprecated icons- MDL-82217 Decide whether icons should be reorganised in a different way
Phase 2
Clean-up phase, to remove unused/duplicated icons and reorganise them following the easiest way to help developers find them (to avoid duplicates in the future):
- Discovered while testing
-
MDL-76989 Upgrade Font Awesome to 6.3.0
- Closed
- has a non-specific relationship to
-
MDL-78395 Follow up: Redesign of 4.0 Activity cards
- Open
-
MDL-67580 The filetype icons in pix/f (*-24.png, …, *-128.png) need SVG versions
- Closed
-
MDL-75611 MIME-Type icons incompatible with new boost design
- Closed
-
MDL-82218 UX · Design the custom icons needed for the Moodle Icon library
- Closed
-
MDL-67271 Add missing SVG files for FontAwesome images
- Closed
-
MDL-81589 Use FA icons in global search
- Closed
- has been marked as being related by
-
MDL-82501 UX - Ensure consistent display of actions across different forms
- Open
- has to be done after
-
MDL-81661 Upgrade Font Awesome library to 6.5.2
- Closed
-
MDL-82102 Evaluate the technical approach to Upgrade icon library FontAwesome 6
- Closed