From f801662f5cd3950a88fde2729e6ef3f8ad8eda86 Mon Sep 17 00:00:00 2001 From: cooleditphoto Date: Mon, 18 Oct 2021 10:25:19 -0400 Subject: [PATCH] ui: Topology metrics view outbound bytes color blue (#11343) --- .../consul-ui/app/components/topology-metrics/series/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/packages/consul-ui/app/components/topology-metrics/series/index.js b/ui/packages/consul-ui/app/components/topology-metrics/series/index.js index 238e0d6657..16be89a698 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/series/index.js +++ b/ui/packages/consul-ui/app/components/topology-metrics/series/index.js @@ -101,6 +101,10 @@ export default Component.extend({ // Use the grey/red we prefer by default but have more colors available in // case user adds extra series with a custom provider. let colorScheme = ['#DCE0E6', '#C73445'].concat(schemeTableau10); + + if (keys.includes('Outbound')) { + colorScheme = ['#DCE0E6', '#0E40A3'].concat(schemeTableau10); + } let color = scaleOrdinal(colorScheme).domain(keys); svg