Our pure JavaScript Scheduler component


Post by natalija »

Hello!

I ran bryntum 5.2.9 files using the Gulp command and got an error in the terminal as seen in the picture
for a file resources/fontawesome/scss/_variables.scss

I don't see that it causes any problems on our web page. Just wondering why it happens and if it can be removed somehow.

Thank you!

Attachments
fa_divide.png
fa_divide.png (27.64 KiB) Viewed 659 times

Post by alex.l »

Hi,

Hard to say by the info provided. Check settings of your environment. The line highlighted is just CSS classes of FontAwesome, nothing custom or tricky. The reason might be in syntax that doesn't supported in version you used or in CSS plugin you used.
We use https://sass-lang.com/dart-sass in our libs.

All the best,
Alex


Post by alex.l »

If no luck with fixing that, please attach runnable application and provide steps to install, build and reproduce this problem. We will try to help you with that.

All the best,
Alex


Post by natalija »

Hi!
We checked our environment settings and we are using dartSass already, maybe we have some other dependencies which are not that obvious.
The solution that worked for us was importing functions (resources/fontawesome/scss/functions.scss) into a variable file (resources/fontawesome/scss/variables.scss).

// variables
// --------------------------
@import "_functions";

$fa-css-prefix          : fa !default;

Thank you for your support!


Post by alex.l »

Thanks for sharing the fix! Good luck!

All the best,
Alex


Post Reply