Using var(--containerBorder) in Style Classes

In the light theme variables.css there is a variable definition

--containerBorder: 1px solid var(--border);

How do I use this in the Style Class manager?

image

I don’t think it’s possible in a perspective style, at least not in the gui, as this would apply to the border property which there isn’t a field for. You could try adding it to the style within your custom theme:

.psc-path\/to\/YourStyleName{
    border: var(--containerBorder);
} 
1 Like