Skip to content

Instantly share code, notes, and snippets.

@cmourizard
Last active August 29, 2015 14:22
Show Gist options
  • Save cmourizard/7f2bccd8c3551ff2aa87 to your computer and use it in GitHub Desktop.
Save cmourizard/7f2bccd8c3551ff2aa87 to your computer and use it in GitHub Desktop.
Font Awesome mapping from Sugar 7.5 to 7.6

Context

With the upgrade from Sugar 7.5 to Sugar 7.5, the engineering team upgrade the Font Awesome library like mentioned on post http://developer.sugarcrm.com/2015/05/28/upgrade-to-font-awesome-4-2-in-sugar-7-6/ and post http://developer.sugarcrm.com/2015/05/28/upgrade-to-font-awesome-4-2-in-sugar-7-6/

Mapping

In articles mentioned previously you can find a link the the official mapping from Fant Awesome (https://github.com/FortAwesome/Font-Awesome/wiki/Upgrading-from-3.2.1-to-4). You can also use the Administration > Styleguide section available in the application to know which icons are available.

However it's not really easy to switch and search on both page and that is the main reason about this cheat sheet. It is the migration mapping using to make some metadata (like panel-top and menu) compatible in both version:

  • icon-bar-chart -> fa-bar-chart-o,
  • icon-chevron-up -> fa-chevron-up,
  • icon-cog -> fa-cog,
  • icon-download-alt -> fa-download,
  • icon-eye-open -> fa-eye,
  • icon-edit -> fa-edit
  • icon-minus -> fa-minus,
  • icon-ok -> fa-check,
  • icon-pencil -> fa-pencil,
  • icon-plus -> fa-plus,
  • icon-refresh -> fa-refresh,
  • icon-remove -> fa-times,
  • icon-reorder -> fa-bars,
  • icon-resize-vertical -> fa-arrows-v,
  • icon-trash -> fa-trash-o
  • icon-upload -> fa-upload,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment