Icons
March 6, 2019Less than 1 minuteui
abapGit uses SIL and MIT-licensed fonts, they are included in the distribution as a MIME object. This includes MIME objects:
ZABAPGIT_ICON_FONT
- font in WOFF format containing the custom icon set. WOFF is used due to compatibility, SAP GUI for Windows reusing Internet Explorer control (IE 11)ZABAPGIT_ICON_FONT_CSS
- CSS icon map
To add an icon to the icon set follow the next procedure:
- Add the icon to repo abapGit Icon Font as documented here
- Get the new abapGit font and icon files from the icon-font GitHub action
- Go to transaction
SMW0
and display the abapGit MIME objects (Binary > Package $abapgit) - Upload the new font file to
ZABAPGIT_ICON_FONT
- Upload the new CSS file to
ZABAPGIT_ICON_FONT_CSS
- Start abapGit and commit the changes the abapGit/abapGit repo (preferably in a separate commit)
Please mind the licensing when adding icons that are not from Font Awesome.
Info
Alternatively you can use w3mipoller for the upload step. See also UI - CSS and assets.