Cylindrical Tank Stroke color

Hello
Could you please help me with one question?
We are using now CylindricalTank and our customer wants to see another color of the stroke, in the props we can change only the stroke width, but not the color.
Maybe you know, is it possible to realize?

Tank

Thank you in advance!

can be done with theme.css or css injection:

create a styleclass named cylTankStroke

}.psc-cylTankStroke .ia_cylindricalTankComponent__tank, .psc-cylTankStroke .ia_cylindricalTankComponent__liquid{
stroke:red;}{

and paste this into backgorund image
then assign the class to the tank

2 Likes

Thank you! Then I have one more clarification, in this case, is it make sense the View and Cylindrical Tank names?

this is a classname ignition gave to the svg path of the tank (with some default styles)

you can find it by inspecting the page in the browser

1 Like