LogicMachine Forum
dinamic text color - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visu (https://forum.logicmachine.net/forumdisplay.php?fid=24)
+--- Thread: dinamic text color (/showthread.php?tid=6303)



dinamic text color - Frank68 - 13.02.2026

Good morning,
In the new view, it's possible to change the text color based on the value of a bit. In the event of an alarm, I wanted to change the background from green to red and the text from black to white, so it's easier to read.
Thanks


RE: dinamic text color - Daniel - 13.02.2026

See this exampe, now we can do it just via CSS. This is for border but you can modify other elements this way.
https://forum.logicmachine.net/showthread.php?tid=6211&pid=40642#pid40642


RE: dinamic text color - Daniel - 13.02.2026

Actually the switch can just do it by settings. I think you should watch the training videos.
https://forum.logicmachine.net/showthread.php?tid=6238&pid=41118#pid41118