diff --git a/frontend/src/models/status.js b/frontend/src/models/status.js index 5d2c671f..5bfa63b0 100644 --- a/frontend/src/models/status.js +++ b/frontend/src/models/status.js @@ -12,10 +12,12 @@ export class CurTotal { } get color() { + // Match AD-Vue 4's semantic palette so the gauges fit the + // global blue/gold/red theme instead of the legacy teal/orange. const p = this.percent; - if (p < 80) return '#008771'; // green - if (p < 90) return '#f37b24'; // orange - return '#cf3c3c'; // red + if (p < 80) return '#1677ff'; // primary + if (p < 90) return '#faad14'; // warning + return '#ff4d4f'; // danger } } diff --git a/frontend/src/pages/index/StatusCard.vue b/frontend/src/pages/index/StatusCard.vue index 608a296f..9865d5ba 100644 --- a/frontend/src/pages/index/StatusCard.vue +++ b/frontend/src/pages/index/StatusCard.vue @@ -1,4 +1,5 @@