Skip to content

Commit 55aabe6

Browse files
committed
1811 - fixed colors to use proper from global css
1 parent 7c0a40a commit 55aabe6

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/assets/styles/global-variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $max-width: 1080px;
5454

5555
$navy: rgba(18, 46, 91, 1);
5656
$sky: rgba(49, 120, 202, 1);
57+
$accent-0: rgba(3, 118, 255, 1); /* white blue */
5758
$accent-1: rgba(3, 118, 255, 1); /* Bright blue */
5859
$accent-2: rgba(246, 80, 80, 1); /* Red */
5960
$accent-3: rgba(0, 190, 144, 1); /* Green */
@@ -68,3 +69,5 @@ $gray-1: rgba(154, 169, 181, 1);
6869
$gray-2: rgba(191, 203, 213, 1);
6970
$gray-border-2: 1px solid $gray-2;
7071
$banner-background: #d5d8ba;
72+
73+
$notifications-hover-white: rgba(233, 238, 244, 1);

src/components/Notification/Notification.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
line-height: 13px;
88

99
&:hover {
10-
background-color: rgba(233, 238, 244, 1);
10+
background-color: $notifications-hover-white;
1111

1212
button {
1313
opacity: 1;
@@ -27,33 +27,33 @@
2727

2828
&.pending {
2929
.transactionBorder {
30-
background-color: rgba(0, 118, 255, 1);
30+
background-color: $accent-0;
3131
}
3232

3333
.statusIcon .pending {
34-
background-color: rgba(0, 118, 255, 1);
34+
background-color: $accent-0;
3535
display: inline-block;
3636
}
3737
}
3838

3939
&.success {
4040
.transactionBorder {
41-
background-color: rgba(0, 190, 144, 1);
41+
background-color: $accent-3;
4242
}
4343

4444
.statusIcon .success {
45-
background-color: rgba(0, 190, 144, 1);
45+
background-color: $accent-3;
4646
display: inline-block;
4747
}
4848
}
4949

5050
&.error {
5151
.transactionBorder {
52-
background-color: rgba(246, 80, 80, 1);
52+
background-color: $accent-2;
5353
}
5454

5555
.statusIcon .error {
56-
background-color: rgba(246, 80, 80, 1);
56+
background-color: $accent-2;
5757
display: inline-block;
5858
}
5959
}

0 commit comments

Comments
 (0)