diff --git a/doc/adding-an-icon.md b/doc/adding-an-icon.md new file mode 100644 index 000000000..be19a6b5f --- /dev/null +++ b/doc/adding-an-icon.md @@ -0,0 +1,12 @@ +### Adding an icon to the font file (e.g. for the floating menu) +1. Go to https://icomoon.io/app/ +2. Go to "Manage Projects" from the menu on the top left. +3. Use "Import project" and select fonts/selection.json from Jitsi Meet. +4. Import icons (e.g. svg files) using the "import items" button. +5. Go to "generate font" and make sure the identifiers for the new icons are correct. +6. Download the result in a zip file using the "download" button. +7. Copy selection.json and fonts/jitsi.* from the zip file to fonts/ in Jitsi Meet +8. Copy the class for the new icon from style.css in the zip file to css/font.css in Jitsi Meet (do *not* copy the whole file) + +Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6 +