Skip to content

Replace FontAwesome font with SVG icons #455

Open
@Krinkle

Description

@Krinkle

I tried this for the footer icons as part of 28542b5 and that seemed to work quite well. We only use a handful of the icons, and so rather than loading a 23KB font file, we can load a handful of SVG icons. This would also make updates easier as right now it feels a bit scary to change this since it's one file for everything and it's unclear which ones we actually need.

Proposed outline:

  • Remove unused icon- utility classes, based on GitHub org-wide search for the class name (excluding false positives, such as from archived repos, and repos containing content that isn't themed by wordpress, such as web-event, irc.jquery.org and bugs.jquery.com, and demos.jquerymobile.com).
  • Reduce icon class definitions to only those that are used.
  • Replace one icon- with an SVG version.
  • Replace the rest
  • Remove FontAwesome from repo.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions