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

Add the ability to customize diff colors even more

This commit is contained in:
Mauricio Bonani 2022-03-20 15:40:52 -04:00
parent 6d50eb5737
commit 8b6678a453
2 changed files with 6 additions and 2 deletions

View File

@ -151,6 +151,8 @@ $popover-button-border-color-hover: #666;
$diff-text-header-color: $secondary-text-color; $diff-text-header-color: $secondary-text-color;
$diff-text-header-background: #ffd; $diff-text-header-background: #ffd;
$diff-text-header-background-hover: #ffc; $diff-text-header-background-hover: #ffc;
$diff-state-color: $primary-text-color;
$diff-state-prefix-color: $secondary-text-color;
$diff-state-added: #009900; $diff-state-added: #009900;
$diff-state-deleted: #f80000; $diff-state-deleted: #f80000;
$diff-state-changed: #f89406; $diff-state-changed: #f89406;

View File

@ -562,7 +562,7 @@ ul.red-ui-deploy-dialog-confirm-list {
width: 30px; width: 30px;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
color: $secondary-text-color; color: $diff-state-prefix-color;
} }
&.added { &.added {
@ -577,9 +577,11 @@ ul.red-ui-deploy-dialog-confirm-list {
} }
td.added { td.added {
background: $diff-state-added-background; background: $diff-state-added-background;
color: $diff-state-color;
} }
td.removed { td.removed {
background: $diff-state-deleted-background; background: $diff-state-deleted-background;
color: $diff-state-color;
} }
tr.mergeHeader td { tr.mergeHeader td {
color: $diff-merge-header-color; color: $diff-merge-header-color;
@ -652,7 +654,7 @@ ul.red-ui-deploy-dialog-confirm-list {
font-family: $monospace-font; font-family: $monospace-font;
padding: 5px 10px; padding: 5px 10px;
text-align: left; text-align: left;
color: $secondary-text-color; color: $diff-text-header-color;
background: $diff-text-header-background; background: $diff-text-header-background;
height: 30px; height: 30px;
vertical-align: middle; vertical-align: middle;