angular libraries complaining for scss variables after recent update

1 Answer 87 Views
Styling
Christian
Top achievements
Rank 1
Iron
Christian asked on 13 Mar 2023, 10:48 AM | edited on 13 Mar 2023, 10:49 AM
So far our library structure was that we create libraries which use kendo and those libraries use scss kendo variables. However since we updated to angular 15 and the latest kendo libraries those things don't work anymore.

When we troubleshoot those things we get several errors, first the variable names are completly missing from the file. However even when we remove those and rename the ones which are renamed its still not working saying that inside _variables.scss kendo requires e.g. (look image below) some undefined variable.



This might be a angular problem that angular should allow building libraries even when scss variables are missing, cause inside the root app we will import all scss which is required to make those things build?

OR

There are some new changes in kendo and we arent aware of them. Is there any tutorial on the docs explaining how to build other libraries and use kendo themes e.g. bootstrap to then overwrite default kendo style?

Please if possible provide detailed informations cause we really don't get futher with this.

OR

Maybe now you have split up that theme library into multiple ones and we need to install a new library and import the scss? However we would still like to maybe just use variables and let the root app provide the scss properly.

1 Answer, 1 is accepted

Sort by
0
Stoyan
Telerik team
answered on 16 Mar 2023, 09:23 AM

Hi Christian,

Thanks for the provided information.

I understand what the problem is, but cannot see from where it could come. In this line of words, might I ask to double check the package.json file and see if the Angular component versions are compatible with the Kendo Themes version.

As of R1 release, the Kendo components have moved to a monorepo and they are under the hood of a single version. Yesterday we had a major release and currently the latest version is v11.4.0 which is compatible with Kendo Themes v6.2.0.

If the above doesn't work, might I ask for a reproducible StackBlitz demo or a demo project. This will help me understand the issue better and I can give a better resolution. Thanks in advance.

I'm waiting for your reply.

Regards,
Stoyan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Styling
Asked by
Christian
Top achievements
Rank 1
Iron
Answers by
Stoyan
Telerik team
Share this question
or