1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 16:48:05 +00:00

fix warning color on active route in table output

This commit is contained in:
checktheroads 2021-02-12 23:17:28 -07:00
parent 1d0592a1cd
commit c6b2d02628

View file

@ -155,11 +155,11 @@ const _RPKIState: React.ForwardRefRenderFunction<HTMLDivElement, TRPKIState> = (
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]);