1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Don't let themes change config node label colors

This commit is contained in:
Mauricio Bonani 2022-07-05 07:33:31 -04:00
parent daa9cb65e5
commit 744375bd5d
3 changed files with 4 additions and 2 deletions

View File

@ -217,6 +217,7 @@ $node-icon-border-color: #000;
$node-icon-border-color-opacity: 0.1; $node-icon-border-color-opacity: 0.1;
$node-config-background: #f3f3f3; $node-config-background: #f3f3f3;
$node-config-icon-container-disabled: #aaa;
$node-link-port-background: #eee; $node-link-port-background: #eee;

View File

@ -103,13 +103,13 @@ ul.red-ui-sidebar-node-config-list li.red-ui-palette-node-config-type {
border-color: var(--red-ui-primary-border-color); border-color: var(--red-ui-primary-border-color);
background: var(--red-ui-node-config-background); background: var(--red-ui-node-config-background);
border-style: dashed; border-style: dashed;
color: var(--red-ui-tertiary-text-color); color: var(--red-ui-node-config-icon-container-disabled);
} }
.red-ui-palette-node-config-disabled { .red-ui-palette-node-config-disabled {
opacity: 0.6; opacity: 0.6;
font-style: italic; font-style: italic;
i { i {
color: var(--red-ui-secondary-text-color); color: var(--red-ui-node-port-label-color);
margin-right: 5px; margin-right: 5px;
} }
} }

View File

@ -203,6 +203,7 @@
--red-ui-node-icon-border-color-opacity: #{$node-icon-border-color-opacity}; --red-ui-node-icon-border-color-opacity: #{$node-icon-border-color-opacity};
--red-ui-node-config-background: #{$node-config-background}; --red-ui-node-config-background: #{$node-config-background};
--red-ui-node-config-icon-container-disabled: #{$node-config-icon-container-disabled};
--red-ui-node-link-port-background: #{$node-link-port-background}; --red-ui-node-link-port-background: #{$node-link-port-background};