diff --git a/components/TrafficLight.tsx b/components/TrafficLight.tsx index e357363..5f6da38 100644 --- a/components/TrafficLight.tsx +++ b/components/TrafficLight.tsx @@ -67,10 +67,23 @@ function ArrowLight({ state }: ArrowLightProps) { ? 'text-red-500' : state === 'yield' ? 'text-orange-500' - : 'text-zinc' + : 'text-zinc-600' + + const ringColor = + state === 'go' + ? 'ring-green-500' + : state === 'caution' + ? 'ring-yellow-500' + : state === 'stop' + ? 'ring-red-500' + : state === 'yield' + ? 'ring-orange-500' + : 'ring-zinc-600' return ( -
+