[Solved] Node status color grey shows as black with gray outline

I'm working on a PR to the 'Random' node and wanted to use node status to report some information. This is what I've got coded:
this.status({fill:"gray",shape:"dot",text:"random: from " + node.low + " to " + node.high});
but this is what shows up:
Screen Shot 2020-11-03 at 7.02.16 PM
The other colors ( red , green , yellow and blue) all show up solid (as is shown in the documentation https://nodered.org/docs/creating-nodes/status).

Anyone got any thoughts?

Platform: macOS 10.14.6
Node-red: v1.1.3
Node.js: v12.13.0

I think the status colors are hard-coded. If the color is unknown, it renders as you described, I have stumbled upon that myself.

So in that case, it might be an issue that you used gray, where the doc says grey. :face_with_monocle:

2 Likes

Ahh the bloody spelling differences between U.S. english and the rest of the world! My fingers are programmed to use th 'a' instead of the 'e'.

That took care of it. Thanks!

I think we should probably silently handle both spellings....

1 Like

I'd be willing to do do a PR if I knew where it's handled.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.