diff --git a/src/App.vue b/src/App.vue index c9ec931e21c..088a5d05de1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -35,7 +35,7 @@ > swap_horizontal_circle @@ -187,7 +187,7 @@ class="mr-3" :content="updateAvailable" :value="updateAvailable" - color="red" + color="error" overlap > @@ -572,13 +572,13 @@ export default { case InclusionState.Excluding: toReturn.message = 'Exclusion is active' toReturn.icon = 'cancel' - toReturn.color = 'red' + toReturn.color = 'error' break case InclusionState.Busy: toReturn.message = 'Waiting for inclusion/exclusion to complete...' toReturn.icon = 'hourglass_bottom' - toReturn.color = 'yellow' + toReturn.color = 'warning' break case InclusionState.SmartStart: toReturn.message = 'SmartStart inclusion is active' @@ -799,8 +799,8 @@ export default { options = options || {} const levelMap = { - warning: 'orange', - alert: 'red', + warning: 'warning', + alert: 'error', } options.color = options.color || levelMap[level] || 'primary' @@ -811,8 +811,8 @@ export default { options = options || {} const levelMap = { - warning: 'orange', - alert: 'red', + warning: 'warning', + alert: 'error', } options.color = options.color || levelMap[level] || 'primary' @@ -1111,7 +1111,7 @@ export default { }) this.socket.on('connect', () => { - this.updateStatus('Connected', 'green') + this.updateStatus('Connected', 'success') log.info('Socket connected') this.socket.emit( socketActions.init, @@ -1133,7 +1133,7 @@ export default { this.socket.on('disconnect', () => { log.info('Socket disconnected') - this.updateStatus('Disconnected', 'red') + this.updateStatus('Disconnected', 'error') }) this.socket.on('error', (err) => { @@ -1141,7 +1141,7 @@ export default { }) this.socket.on('reconnecting', () => { - this.updateStatus('Reconnecting', 'yellow') + this.updateStatus('Reconnecting', 'warning') }) if (log.enabledFor(logger.DEBUG)) { diff --git a/src/components/ValueId.vue b/src/components/ValueId.vue index da821317b60..750b43854c2 100644 --- a/src/components/ValueId.vue +++ b/src/components/ValueId.vue @@ -225,7 +225,7 @@ :color=" value.newValue === true && !value.list ? 'white' - : 'green' + : 'success' " dark @click="updateValue(value, true)" @@ -235,7 +235,7 @@ :color=" value.newValue === true && !value.list ? 'white' - : 'green' + : 'success' " style="rotate: 90deg" >horizontal_ruleradio_button_unchecked diff --git a/src/components/custom/StatisticsArrows.vue b/src/components/custom/StatisticsArrows.vue index 9d11bc51a25..46bcbce1497 100644 --- a/src/components/custom/StatisticsArrows.vue +++ b/src/components/custom/StatisticsArrows.vue @@ -4,12 +4,12 @@
diff --git a/src/components/custom/StatisticsCard.vue b/src/components/custom/StatisticsCard.vue index 91ef4569557..95a3e76413d 100644 --- a/src/components/custom/StatisticsCard.vue +++ b/src/components/custom/StatisticsCard.vue @@ -97,17 +97,21 @@ export default { divider: true, stats: { ...this.createStat('CAN', 'CAN'), - ...this.createStat('NAK', 'NAK', 'red'), - ...this.createStat('timeoutACK', 'Timeout ACK', 'red'), + ...this.createStat('NAK', 'NAK', 'error'), + ...this.createStat( + 'timeoutACK', + 'Timeout ACK', + 'error', + ), ...this.createStat( 'timeoutResponse', 'Timeout Response', - 'red', + 'error', ), ...this.createStat( 'timeoutCallback', 'Timeout Callback', - 'red', + 'error', ), }, cols: 6, @@ -121,12 +125,12 @@ export default { ...this.createStat( 'commandsDroppedTX', 'Dropped TX', - 'red', + 'error', ), ...this.createStat( 'commandsDroppedRX', 'Dropped RX', - 'red', + 'error', ), }, cols: 3, @@ -143,12 +147,12 @@ export default { ...this.createStat( 'messagesDroppedTX', 'Dropped TX', - 'red', + 'error', ), ...this.createStat( 'messagesDroppedRX', 'Dropped RX', - 'red', + 'error', ), }, cols: 3, diff --git a/src/components/dialogs/DialogLinkReliability.vue b/src/components/dialogs/DialogLinkReliability.vue index a3dee5c85e7..bd55ee43490 100644 --- a/src/components/dialogs/DialogLinkReliability.vue +++ b/src/components/dialogs/DialogLinkReliability.vue @@ -82,7 +82,7 @@ v-if="running" :indeterminate="this.infinite" :value="this.infinite ? null : this.progress" - color="green darken-1" + color="success" > diff --git a/src/components/dialogs/DialogNodesManager.vue b/src/components/dialogs/DialogNodesManager.vue index b0672840e92..dadb628128f 100644 --- a/src/components/dialogs/DialogNodesManager.vue +++ b/src/components/dialogs/DialogNodesManager.vue @@ -60,7 +60,7 @@