Skip to content

Commit b85a7b8

Browse files
authored
Merge pull request #2020 from akto-api-security/hotfix/sev_colors
Reverted serveriy colors
2 parents e7183f3 + 1f3cabe commit b85a7b8

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/dashboard.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,25 +199,25 @@
199199
}
200200

201201
.badge-wrapper-CRITICAL .Polaris-Badge {
202-
background-color: #E51C00 !important;
202+
background-color: #DF2909 !important;
203203
color: #FFFBFB !important;
204204
font-weight: 550 !important;
205205
}
206206

207207
.badge-wrapper-HIGH .Polaris-Badge {
208-
background-color: #F35C70 !important;
208+
background-color: #FA6156 !important;
209209
color: #FFFBFB !important;
210210
font-weight: 550 !important;
211211
}
212212

213213
.badge-wrapper-MEDIUM .Polaris-Badge {
214-
background-color: #F4AD69 !important;
215-
color: #FFFBFB !important;
214+
background-color: #FFD79D !important;
215+
color: #202223 !important;
216216
font-weight: 550 !important;
217217
}
218218

219219
.badge-wrapper-LOW .Polaris-Badge {
220-
background-color: #B5B5B5;
221-
color: #FFFBFB !important;
220+
background-color: #A4E8F2;
221+
color: #202223 !important;
222222
font-weight: 550 !important;
223223
}

apps/dashboard/web/polaris_web/web/src/util/func.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,15 +1333,15 @@ mapCollectionIdToHostName(apiCollections){
13331333
getHexColorForSeverity(key){
13341334
switch(key){
13351335
case "CRITICAL":
1336-
return "#E51C00"
1336+
return "#DF2909"
13371337
case "HIGH":
1338-
return "#F35C70"
1338+
return "#FA6156"
13391339
case "MEDIUM":
1340-
return "#F4AD69"
1340+
return "#FFD79D"
13411341
case "LOW":
1342-
return "#B5B5B5"
1342+
return "#A4E8F2"
13431343
default:
1344-
return "#B5B5B5"
1344+
return "#A4E8F2"
13451345
}
13461346

13471347
},

0 commit comments

Comments
 (0)