Completed
Last Updated: 09 Apr 2024 09:48 by ADMIN
Ian
Created on: 04 Oct 2022 13:52
Type: Feature Request
8
Enable use of custom variables for global properties

Hello,

We have been creating custom variables for a color palette that our design system uses. However, we are unable to set any of the global properties (ie. text color) to one of the custom variables we have created. The list of variable options is limited to the "Theme Colors." We can set the color manually by setting the hex color it would be great if we could use our custom variables, especially if the list of global variables grows in the future.

Thank you for consideration of this feature!

3 comments
ADMIN
Stefan
Posted on: 09 Apr 2024 09:48

Hello Ian,

This is already possible. We use a internal smart algorithm that allows interlinking variables regardless of when they are created. We ensure generate them in the correct order during export.

Regards,
Stefan
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Ian
Posted on: 05 Oct 2022 12:39

Hello Kammen,

This is exactly what we are looking for, thanks!

ADMIN
Kammen
Posted on: 05 Oct 2022 08:40

Hello Ian,

Thank you for contacting us. 

This is the expected behavior of the variables - a variable can be used as a value only when it's defined before the currently edited variable. 

However, in our roadmap, there is a feature that should cover precisely what you're trying to achieve. While working on the variables, we discovered that often there is a need for color palettes that contain all colors used in the design system. We're planning to introduce a new variable type - palette (groups of colors), where you can define and maintain these colors. These palette variables will be defined before the color variables and can be used as their values.

Do you think this is what you're looking for, or there's more to it?

Regards,
Kammen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.