هل توجد أي دورة تعليمية توضح كيفية التبديل من أيقونات Font Awesome إلى النسخة الاحترافية في Discourse؟
Good idea, we should at least mention this somewhere @pmusaraj. Probably simple? I guess here in this topic is good!
If the Pro package includes one SVG sprite file, you can add that file in a theme or a theme component, and reference it as an asset with the variable icons-sprite:
"assets": {
"icons-sprite": "/assets/my-icons.svg"
}
If there are multiple sprite files in Pro, you might want to add them to a plugin.
Add each SVG sprite file in the plugins/your-plugin-name/svg-icons folder and then restart your server (if in dev) or rebuild the site.
Access to the Pro packages, which contain more icons and styles, require you to configure the @fortawesome scope to use our Pro NPM registry. (Font Awesome)
I’m trying to install the pro version but I’m having no sucess at this. Do you have any tip?

You should do these npm steps somewhere else, at /var/discourse is not a good place for them. Also, I’m not sure how the Pro package is shipped, but you only need the svg sprites in Discourse. The free ones are here: https://github.com/FortAwesome/Font-Awesome/tree/master/sprites
You’ll probably need to do that inside the container. You’d first do it with
./launcher enter app
and muck with it there, and then you’d edit app.yml to have it do that stuff when it built the container.
Or, you’d do that stuff elsewhere and get the svg file that you need and put it . . . somewhere.
And you probably don’t want to download all zillion of the things anyway.
Very much this, the move to FontAwesome 5 coincided with a change to selectively load what was needed and reduced the amount of data sent to the browser by 63%. Blindly loading everything in FA5 Pro would push the needle well in the opposite direction.
Actually I’m trying to change my icons to a more light style, not regular or solid. To use this style I need to be PRO on FontAwesome.
Example from a Discourse forum:
Or maybe those are custom icons.
I think it will be more cost-effective to use custom icons - there are loads of quality icon sites (or even sets) that don’t cost as much as FA pro.
مرحبًا @Merlls_Rizzini - إذا كنت لا تزال تبحث عن هذا، فقد أطلقت للتو إضافة تسمح للموقع بتثبيت جميع الأيقونات الاحترافية، مما يجب أن يجعل هذه العملية أسهل قليلًا.
لا يزال هناك بعض العمل المتبقي، حيث ستحتاج إلى تحديد الأيقونات التي ترغب في استبدالها، وكتابة مكون سمة لاستخدام الأيقونات الجديدة (راجع القسم حول استبدال الأيقونات الافتراضية من هذا الدليل للتفاصيل - حاليًا لا توجد طريقة لاستبدال جميع الأيقونات بنمط مختلف (مثل استبدال الأيقونات الصلبة بأخرى خفيفة)، لكننا نأمل أن يسهل ذلك إجراء تخصيصات مثل هذه.
