Sass ThemeBuilder

0 Answers 133 Views
General Discussions
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Matthias asked on 28 Oct 2021, 09:47 AM
I had to search for a while and found nothing about this. For those who need to use ThemeBuilder for the import:
The json file must be adjusted before:
from

"base": "@progress/kendo-theme-default",
  "product": "kendo",
  "components": [],
  "themeBuilder": [
    {


to

 "base": "@progress/kendo-theme-default",
  "product": "kendo",
  "components": [],
  "groups": [
    {


Best regards Matthias 
Ivan Zhekov
Telerik team
commented on 01 Nov 2021, 03:55 PM

Hey, Mathias.

The change was intended to serve as an improvement by switching a specific "themeBuilder" field to a much more generic "groups". We did support both syntax variants for a while for import and then exported only groups syntax. Finally we made the switch to groups.

That being said, the syntax is not expected to change anytime soon, because it doesn't get much more generic than that.

We could add a version field to somewhat denote which version should be used or to facilitate transition, but that's adding new things, not changing existing.

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
commented on 01 Nov 2021, 04:12 PM

Thank you for the explanation. I had only wondered that after the import in ThemeBuilder no more colors were visible. But after exporting as JSON from there, it quickly became clear that this was just this entry. Before someone has to search longer, I thought that this info is well kept in the forum.
have a nice start of the week!
Best regards 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Share this question
or