diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-09 15:59:48 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-09 16:11:25 +0300 |
| commit | bf267c2c48ebc3dc54c28e7713ba7f1615aea944 (patch) | |
| tree | 4b656fee16e437b8b1fdecc66a9cec08f5c7f2a1 /web/html/xui | |
| parent | 07019d659464f698755f7a83d920871f6a8a7c08 (diff) | |
fix colors #1300
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/inbounds.html | 10 | ||||
| -rw-r--r-- | web/html/xui/index.html | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 14371631..10707f12 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -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) { diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 21a8f016..a8fb958d 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -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 } } } |
