Skip to content

Commit 74f4046

Browse files
#RI-2456-update colors (#560)
* #RI-2456-update colors
1 parent 0de3998 commit 74f4046

File tree

6 files changed

+34
-11
lines changed

6 files changed

+34
-11
lines changed

redisinsight/ui/src/styles/components/_buttons.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,14 @@
102102

103103
.euiButton {
104104
&.euiButton--warning.euiButton--fill:not([class*='isDisabled']) {
105+
background-color: var(--buttonWarningColor);
106+
border-color: var(--buttonWarningColor);
107+
105108
&:hover,
106109
&:focus,
107110
&:focus-within {
108-
background-color: var(--buttonDangerHoverColor);
109-
border-color: var(--buttonDangerHoverColor);
111+
background-color: var(--buttonWarningHoverColor);
112+
border-color: var(--buttonWarningHoverColor);
110113
}
111114
}
112115
}

redisinsight/ui/src/styles/components/_toasts.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@
4545
color: white !important;
4646
}
4747
&.euiButton--fill {
48-
border-color: var(--euiColorColorWarning) !important;
49-
background-color: var(--euiToastDangerBtnColor) !important;
48+
border: 1px solid var(--buttonDangerToastColor) !important;
49+
background-color: transparent !important;
50+
}
51+
&.euiButton--fill:hover {
52+
border: 1px solid var(--buttonDangerToastHoverColor) !important;
53+
background-color: var(--buttonDangerToastHoverColor) !important;
5054
}
5155
}
5256

redisinsight/ui/src/styles/themes/dark_theme/_dark_theme.lazy.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
--buttonSecondaryDisabledTextColor: #{$buttonSecondaryDisabledTextColor};
108108
--buttonDangerHoverColor: #{$buttonDangerHoverColor};
109109
--buttonIconPrimaryHover: #{$buttonIconPrimaryHover};
110+
--buttonWarningColor: #{$buttonWarningColor};
111+
--buttonWarningHoverColor: #{$buttonWarningHoverColor};
112+
--buttonDangerToastColor: #{$buttonDangerToastColor};
113+
--buttonDangerToastHoverColor: #{$buttonDangerToastHoverColor};
110114

111115
--cliOutputResponseColor: #{$cliOutputResponseColor};
112116
--cliOutputResponseFailColor: #{$cliOutputResponseFailColor};

redisinsight/ui/src/styles/themes/dark_theme/_theme_color.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ $buttonSecondaryTextColor: #dfe5ef;
6666
$buttonSecondaryDisabledTextColor: #8b90a3;
6767
$buttonDangerHoverColor: #e8524a;
6868
$buttonIconPrimaryHover: #364da8;
69+
$buttonWarningColor: #9e2f29;
70+
$buttonWarningHoverColor: #b00c03;
71+
$buttonDangerToastColor: #e8524a;
72+
$buttonDangerToastHoverColor: #bf3932;
6973

7074
$hoverInListColor: #070707;
7175
$hoverInListColorLight: #465282;

redisinsight/ui/src/styles/themes/light_theme/_light_theme.lazy.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@
109109
--buttonSecondaryDisabledTextColor: #{$buttonSecondaryDisabledTextColor};
110110
--buttonDangerHoverColor: #{$buttonDangerHoverColor};
111111
--buttonIconPrimaryHover: #{$buttonIconPrimaryHover};
112+
--buttonWarningColor: #{$buttonWarningColor};
113+
--buttonWarningHoverColor: #{$buttonWarningHoverColor};
114+
--buttonDangerToastColor: #{$buttonDangerToastColor};
115+
--buttonDangerToastHoverColor: #{$buttonDangerToastHoverColor};
112116

113117
--cliOutputResponseColor: #{$cliOutputResponseColor};
114118
--cliOutputResponseFailColor: #{$cliOutputResponseFailColor};

redisinsight/ui/src/styles/themes/light_theme/_theme_color.scss

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ $euiColorDanger: #b92733;
88
$euiColorDangerText: #ad0017;
99
$euiColorWarning: #9d6901;
1010
$euiColorWarningText: #9d6901;
11-
$euiTextSubduedColor: #3f597d;
11+
$euiTextSubduedColor: #415681;
1212
$euiTextSubduedColorHover: #173369;
1313
$euiPageBackgroundColor: #edf0f5;
1414
$euiTooltipBackgroundColor: #ffffff;
1515
$euiTooltipTextColor: #173369;
1616
$euiTooltipTextSecondColor: #395b88;
1717
$euiTooltipTitleTextColor: #395984;
1818
$euiColorLightShade: #cdd7e6;
19-
$euiColorLightestShade: #f6f8fd;
19+
$euiColorLightestShade: #e4eaf2;
2020
$euiColorEmptyShade: #ffffff;
2121
$euiBreadcrumbActive: #395984;
2222
$euiToastBackgroundColor: #243dac;
@@ -35,7 +35,7 @@ $externalLinkColor: #3163d8;
3535
$externalLinkTooltipColor: #3163d8;
3636

3737
$tableRowHoverColor: #fafbfd;
38-
$tableRowSelectedColor: #e9edfa;
38+
$tableRowSelectedColor: #e4eaf2;
3939
$tableLightestBorderColor: #c1cbd9;
4040
$tableLightBorderColor: #e4eaf2;
4141
$tableDarkestBorderColor: #e9edf3;
@@ -49,12 +49,12 @@ $inputTextColor: #173369;
4949
$inputPlaceholderColor: #395984;
5050
$inputDisabledBackgroundColor: #f6f8fd;
5151
$controlsBoxShadowColor: #c1cbd9;
52-
$controlsBorderColor: #c1cbd9;
52+
$controlsBorderColor: #8992b3;
5353
$controlsLabelColor: #385985;
5454
$controlsLabelHoverColor: #173369;
5555
$iconsDefaultColor: #728baf;
5656
$iconsDefaultHoverColor: #173369;
57-
$separatorColor: #8992b3;
57+
$separatorColor: #cdd7e6;
5858
$separatorNavigationColor: #465282;
5959
$separatorDropdownColor: #8b90a3;
6060

@@ -63,12 +63,16 @@ $buttonSecondaryTextColor: #243dac;
6363
$buttonSecondaryDisabledTextColor: #dfe4fb;
6464
$buttonDangerHoverColor: #cb3844;
6565
$buttonIconPrimaryHover: #dfe4fb;
66+
$buttonWarningColor: #9e2f29;
67+
$buttonWarningHoverColor: #b00c03;
68+
$buttonDangerToastColor: #e8524a;
69+
$buttonDangerToastHoverColor: #bf3932;
6670

6771
$hoverInListColor: #e9edfa;
6872
$hoverInListColorLight: #d7e3fa;
69-
$textColorShade: #3f597d;
73+
$textColorShade: #415681;
7074
$cliOutputResponseColor: #395b88;
71-
$cliOutputResponseFailColor: #aa131f;
75+
$cliOutputResponseFailColor: #ad0017;
7276

7377
$badgeBackgroundColor: #e8efff;
7478
$commandGroupBadgeColor: #b8c5db;

0 commit comments

Comments
 (0)