Scheduling infrastructure for absolutely everyone.
fix: location select logo in dark mode (#8633)
Nafees Nazik082507aea51d
diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsxindex c0825cd53f3..e03daa0da5b 100644--- a/apps/web/components/booking/AvailableEventLocations.tsx+++ b/apps/web/components/booking/AvailableEventLocations.tsx@@ -47,7 +47,7 @@ export function AvailableEventLocations({ locations }: { locations: Props["eventsrc={eventLocationType.iconUrl}className={classNames("ml-[2px] h-4 w-4 opacity-70 ltr:mr-[10px] rtl:ml-[10px] dark:opacity-100 ",- !eventLocationType.iconUrl?.includes("api") ? "dark:invert-[.65]" : ""+ !eventLocationType.iconUrl?.startsWith("/app-store") ? "dark:invert-[.65]" : "")}alt={`${eventLocationType.label} icon`}/>diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsxindex c3949449fc8..222a8312d55 100644--- a/apps/web/components/eventtype/EventSetupTab.tsx+++ b/apps/web/components/eventtype/EventSetupTab.tsx@@ -285,7 +285,7 @@ export const EventSetupTab = ("h-4 w-4",// invert all the icons except app iconseventLocationType.iconUrl &&- !eventLocationType.iconUrl.startsWith("/api") &&+ !eventLocationType.iconUrl.startsWith("/app-store") &&"dark:invert")}alt={`${eventLocationType.label} logo`}diff --git a/apps/web/components/ui/form/LocationSelect.tsx b/apps/web/components/ui/form/LocationSelect.tsxindex f81e11d2253..846082b26d2 100644--- a/apps/web/components/ui/form/LocationSelect.tsx+++ b/apps/web/components/ui/form/LocationSelect.tsx@@ -25,7 +25,7 @@ const OptionWithIcon = ({ icon, label }: { icon?: string; label: string }) => {src={icon}alt="cover"// invert all the icons except app icons- className={cx("h-3.5 w-3.5", icon && !icon.startsWith("/api") && "dark:invert")}+ className={cx("h-3.5 w-3.5", icon && !icon.startsWith("/app-store") && "dark:invert")}/>)}<span className={classNames("text-sm font-medium")}>{label}</span>