From befda55e2f13ce9e255f667748224e3564f71c43 Mon Sep 17 00:00:00 2001 From: vergiLgood1 Date: Mon, 5 May 2025 02:02:40 +0700 Subject: [PATCH] feat: update tooltip styles for improved visibility and consistency across components --- .../_components/map/controls/top/additional-tooltips.tsx | 8 ++++---- .../app/_components/map/controls/top/crime-tooltips.tsx | 4 ++-- .../app/_components/map/controls/top/search-control.tsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sigap-website/app/_components/map/controls/top/additional-tooltips.tsx b/sigap-website/app/_components/map/controls/top/additional-tooltips.tsx index f720950..e68eb30 100644 --- a/sigap-website/app/_components/map/controls/top/additional-tooltips.tsx +++ b/sigap-website/app/_components/map/controls/top/additional-tooltips.tsx @@ -16,7 +16,7 @@ import CategorySelector from "../category-selector" const additionalTooltips = [ { id: "reports" as ITooltips, icon: , label: "Police Report" }, { id: "layers" as ITooltips, icon: , label: "Map Layers" }, - { id: "alerts" as ITooltips, icon: , label: "Active Alerts" }, + { id: "alerts" as ITooltips, icon: , label: "Active Alerts" }, ] interface AdditionalTooltipsProps { @@ -61,8 +61,8 @@ export default function AdditionalTooltips({ variant={activeControl === control.id ? "default" : "ghost"} size="icon" className={`h-8 w-8 rounded-md ${activeControl === control.id - ? "bg-white text-black hover:bg-white/90" - : "text-white hover:bg-white/10" + ? "bg-emerald-500 text-black hover:bg-emerald-500/90" + : "text-white hover:bg-emerald-500/90 hover:text-background" }`} onClick={() => onControlChange?.(control.id)} > @@ -82,7 +82,7 @@ export default function AdditionalTooltips({