File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,16 @@ export const ORDER_BY = {
22
22
export function fixColorStyle ( registrant ) {
23
23
/* eslint-disable no-param-reassign */
24
24
// set default color
25
- registrant . colorStyle = 'color: #999999' ;
25
+ registrant . colorStyle = 'color: #555555' ; // grey
26
26
if ( registrant . rating ) {
27
27
if ( registrant . rating >= 2200 ) {
28
- registrant . colorStyle = 'color: #EE0000' ;
28
+ registrant . colorStyle = 'color: #EA1900' ; // red
29
29
} else if ( registrant . rating >= 1500 && registrant . rating <= 2199 ) {
30
- registrant . colorStyle = 'color: #DDCC00' ;
30
+ registrant . colorStyle = 'color: #F2C900' ; // yellow
31
31
} else if ( registrant . rating >= 1200 && registrant . rating <= 1499 ) {
32
- registrant . colorStyle = 'color: #6666FF' ;
32
+ registrant . colorStyle = 'color: #4C50D9' ; // blue
33
33
} else if ( registrant . rating >= 900 && registrant . rating <= 1199 ) {
34
- registrant . colorStyle = 'color: #00A900' ;
34
+ registrant . colorStyle = 'color: #258205' ; // green
35
35
}
36
36
}
37
37
/* eslint-disable no-param-reassign */
You can’t perform that action at this time.
0 commit comments