From c6b2d02628811bf14fdcd12983f2ae2bdaa43027 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Fri, 12 Feb 2021 23:17:28 -0700 Subject: [PATCH] fix warning color on active route in table output --- hyperglass/ui/components/output/fields.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyperglass/ui/components/output/fields.tsx b/hyperglass/ui/components/output/fields.tsx index 4ad8a0b..cb4f888 100644 --- a/hyperglass/ui/components/output/fields.tsx +++ b/hyperglass/ui/components/output/fields.tsx @@ -155,11 +155,11 @@ const _RPKIState: React.ForwardRefRenderFunction = ( const bg = useColorValue( [ ['red.400', 'green.500', 'yellow.400', 'gray.500'], - ['red.500', 'green.500', 'yellow.500', 'gray.600'], + ['red.500', 'green.500', 'yellow.600', 'gray.600'], ], [ ['red.300', 'green.300', 'yellow.300', 'gray.300'], - ['red.500', 'green.600', 'yellow.500', 'gray.800'], + ['red.500', 'green.600', 'yellow.600', 'gray.800'], ], ); const color = useOpposingColor(bg[+active][state]);