Is this a way to work with Servoy-Variables in CSS-files? I found this example to work with CSS variables - but it dont work in NG-Client.
Define a css-variable
- Code: Select all
:root {
--main-bg-color: brown;
}
Use the css-variable
- Code: Select all
.mytextbox
{
background-color: var(--main-bg-color);
}
But this example is not what I want to do. My idea is to change some properties in the CSS file dynamically. I know there is a way to change the style dynamically. However, I can only access statically stored styles so far.
It would be best if I could the following:
- Code: Select all
{
background-color: %%scopes.globals.lnColor%% ;
}