mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
1.2 KiB
1.2 KiB
title | order |
---|---|
Adding icons | 90 |
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 reuse IE (11)
- ZABAPGIT_ICON_FONT_CSS - CSS icon map
To add an icon to the icon set follow the next procedure:
- You need
nodejs
installed (version 10 at the time of this doc creation) - Fork/clone this repo abapGit/icon-font
- Run
npm install
inside - Download Font Awesome free version
- Copy new SVGs to
svg
folder of the repo - Run
npm run build
, this will generatewoff
andcss
files in thebuild
dir - Upload artifacts to the system via SMW0 to the respective objects
- Preferable commit the change in a separate commit
- Commit changes to
icon-font
repo too (newly included SVGs)
Please mind the licensing when adding icons not from Font Awesome
P.S. Alternatively you can use w3mipoller for upload step. See also UI - CSS and assets.