Change md-switch color of default icon

Thanks.
So the work-around (from Steve-Mcl at https://discourse.nodered.org/t/dashboard-element-css-classes/46447 is to use the node id.
It's perfectly fine except:
Unnecessary repetition of CSS to style each element seperately.
Quite difficult to work out from the node id in the CSS which node in the editor it applies to - node id is (rightfully) largely out of sight.

Alternative 1 - Add a CSS class field to the node properties.
Ideal for me. dceejay dislikes adding another field for each UI node type.

Alternative 2 - Use the node's Name field as a CSS class.
Ugly and confusing.

Alternative 3 - There is no alternative 3?

1 Like