From 65d90a6dff9a3df94ecc4ce5119b7aeaede3573d Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 5 Nov 2020 09:20:47 +0000 Subject: [PATCH] Add gray/grey alternate options for status --- .../node_modules/@node-red/editor-client/src/js/ui/view.js | 3 ++- .../node_modules/@node-red/editor-client/src/sass/colors.scss | 3 ++- .../node_modules/@node-red/editor-client/src/sass/flow.scss | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index da6c2f27b..888871f4b 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -98,7 +98,8 @@ RED.view = (function() { "green": "#5a8", "yellow": "#F9DF31", "blue": "#53A3F3", - "grey": "#d3d3d3" + "grey": "#d3d3d3", + "gray": "#d3d3d3" } var PORT_TYPE_INPUT = 1; diff --git a/packages/node_modules/@node-red/editor-client/src/sass/colors.scss b/packages/node_modules/@node-red/editor-client/src/sass/colors.scss index 5e2771a8f..49229d658 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/colors.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/colors.scss @@ -217,7 +217,8 @@ $node-status-colors: ( green: #5a8, yellow: #F9DF31, blue: #53A3F3, - grey: #d3d3d3 + grey: #d3d3d3, + gray: #d3d3d3 ); diff --git a/packages/node_modules/@node-red/editor-client/src/sass/flow.scss b/packages/node_modules/@node-red/editor-client/src/sass/flow.scss index 8f4c1419f..6690c22ed 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/flow.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/flow.scss @@ -251,7 +251,7 @@ g.red-ui-flow-node-selected { stroke-dasharray: none; } } -@each $current-color in red green yellow blue grey { +@each $current-color in red green yellow blue grey gray { .red-ui-flow-node-status-dot-#{$current-color} { fill: map-get($node-status-colors,$current-color); stroke: map-get($node-status-colors,$current-color);