Skip to main content
1-Visitor
October 6, 2020
Solved

Not able to define Native Variables in Custom CSS

  • October 6, 2020
  • 3 replies
  • 1393 views

I want to define my Custom CSS for the widgets but, unable to define the native variables in the ThingWorx Custom CSS. Can anyone let me know how this can be achieved in thingworx platform?

 

Best answer by Ciprian-Traian

Hello @ @salmandandekar_338811 ,

 

Have you tried using CSS generator tool to develop custom css for widgets, you can find more information in the following article.

There is a guide to Add Style to Your UI with CSS that might be of help as well.

 

 

3 replies

5-Regular Member
October 7, 2020

Hello @ @salmandandekar_338811 ,

 

Have you tried using CSS generator tool to develop custom css for widgets, you can find more information in the following article.

There is a guide to Add Style to Your UI with CSS that might be of help as well.

 

 

19-Tanzanite
October 7, 2020

Have you tried disabling the CSS Linting?

I believe the internal CSSLint component that validates the CSS queries does not support CSS variables, and as such, I disable only in this case.

Community Manager
October 26, 2020

Hi @salmandandekar_310994.

 

If you found a solution to this post with the help of one of the previous responses, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon