To combine Font Awesome Pro with custom icons from a Font Awesome kit, ensure that both the Font Awesome Pro and your custom kit are correctly imported and configured in your project. The issue might be related to the class names or the path configuration. Please check the following
Check Font Paths: Ensure that $fa-font-path is correctly pointing to the directory where your Font Awesome webfonts are located.
Class Names: Verify that the class names used for custom icons are correct. The class b-fa-kit should correspond to the custom icons defined in your kit. If b-fa-light-lock-clock is a custom icon, ensure it is correctly defined in your custom-icons.scss.
Import Order: Make sure that the custom icons are imported after the Font Awesome Pro styles to ensure they are not overridden.
If the issue persists, double-check the custom icon definitions in your custom-icons.scss and ensure they match the class names used in your HTML.
If none of them help, could you please provide a minimal runnable test case for us to check here and assist you better on this topic?
I first tried using the "b-" prefix on custom icons, but that does not work.
Including "fa-kit" and omitting the prefix worked.
Now, the strange thing is that some pro-icons seem not to work, e.g. the "fa-house-building" and other icons with more than a single dash in the name.
E.g. "b-fa-clock" works, but "b-fa-clock-two" doesn't.
I tried a lot of different icons and it seems quite consistent.
Now, the strange thing is that some pro-icons seem not to work, e.g. the "fa-house-building" and other icons with more than a single dash in the name.
E.g. "b-fa-clock" works, but "b-fa-clock-two" doesn't.
fa-clock is a regular and fa-clock-two is a pro. Try putting $icon-font inside .b-fa: