From 57eb5a4328cc223274222489c5cd8d1dbf0eaabb Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Thu, 1 Jun 2023 13:38:52 +0200 Subject: [PATCH] Fix for booker colors in dark mode, we can't use bg-default in both places because we use a custom background in dark mode. Otherwise it would be a similar color in dark. So we need to supply a custom dark mode color. (#9259) Co-authored-by: Peer Richelsen --- packages/features/bookings/Booker/Booker.tsx | 4 ++-- .../Booker/components/BookEventForm/BookFormAsModal.tsx | 2 +- .../features/bookings/Booker/components/LargeCalendar.tsx | 2 +- packages/features/bookings/Booker/components/Unavailable.tsx | 2 +- packages/features/bookings/components/AvailableTimes.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index a85b5468f9..0372b4574f 100644 --- a/packages/features/bookings/Booker/Booker.tsx +++ b/packages/features/bookings/Booker/Booker.tsx @@ -103,7 +103,7 @@ const BookerComponent = ({ since that's not a valid option, so it would set the layout to null. */} {!isMobile && ( -
+
diff --git a/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx b/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx index f220be657b..0ec430f37d 100644 --- a/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx +++ b/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx @@ -20,7 +20,7 @@ export function BookFormAsModal({ visible, onCancel }: { visible: boolean; onCan + className="[&_.modalsticky]:border-t-subtle [&_.modalsticky]:bg-default dark:[&_.modalsticky]:bg-muted max-h-[80vh] pt-6 pb-0 [&_.modalsticky]:sticky [&_.modalsticky]:bottom-0 [&_.modalsticky]:left-0 [&_.modalsticky]:right-0 [&_.modalsticky]:-mx-8 [&_.modalsticky]:border-t [&_.modalsticky]:px-6 [&_.modalsticky]:py-4">

{t("confirm_your_details")}

diff --git a/packages/features/bookings/Booker/components/LargeCalendar.tsx b/packages/features/bookings/Booker/components/LargeCalendar.tsx index 9a2e2a668d..527f6a5ad4 100644 --- a/packages/features/bookings/Booker/components/LargeCalendar.tsx +++ b/packages/features/bookings/Booker/components/LargeCalendar.tsx @@ -11,7 +11,7 @@ export const LargeCalendar = () => { ); return ( -
+
Something big is coming...