Fill color for <svg> does not work

You setup CSS.

You add a class name to the template.

If you want to make dynamic runtime changes, you send a msg with .classname set.

This way, you can keep your presentation CSS separate and centralised and anywhere you want to use the class, just apply the class.

An example: My template nodes are ignoring my relations - #4 by Steve-Mcl

Another example: How to use pay load in one text output trigger color applied to another? - #2 by Steve-Mcl

Yet another: The colour in/on this isn't changing. (CSS) - #2 by Steve-Mcl

A (somewhat in-depth) chat about it (some useful tips and info): Dashboard Button Node - </>Class Field not working - #19 by Steve-Mcl (read from there down)

2 Likes