fix colors #1300
This commit is contained in:
@@ -1154,13 +1154,13 @@
|
||||
expColor = usageColor(new Date().getTime(), this.expireDiff, clientStats.expiryTime);
|
||||
switch (true) {
|
||||
case statsColor == "red" || expColor == "red":
|
||||
return "#E04141";
|
||||
return "#cf3c3c"; // Red
|
||||
case statsColor == "orange" || expColor == "orange":
|
||||
return "#FFA031";
|
||||
case statsColor == "blue" || expColor == "blue":
|
||||
return "#0e49b5";
|
||||
return "#f37b24"; // Orange
|
||||
case statsColor == "green" || expColor == "green":
|
||||
return "#008771"; // Green
|
||||
default:
|
||||
return "#7a316f";
|
||||
return "#7a316f"; // purple
|
||||
}
|
||||
},
|
||||
isClientEnabled(dbInbound, email) {
|
||||
|
||||
@@ -345,11 +345,11 @@
|
||||
get color() {
|
||||
const percent = this.percent;
|
||||
if (percent < 80) {
|
||||
return '#0a7557';
|
||||
return '#008771'; // Green
|
||||
} else if (percent < 90) {
|
||||
return '#ffa031';
|
||||
return "#f37b24"; // Orange
|
||||
} else {
|
||||
return '#e04141';
|
||||
return "#cf3c3c"; // Red
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user