diff --git a/packages/embeds/embed-core/index.html b/packages/embeds/embed-core/index.html
index 06933d63a4..7e3cce6249 100644
--- a/packages/embeds/embed-core/index.html
+++ b/packages/embeds/embed-core/index.html
@@ -313,6 +313,12 @@
highlightColor: "#9b0e0e",
medianColor: "black",
},
+ enabledDateButton: {
+ backgroundColor: "red"
+ },
+ disabledDateButton: {
+ backgroundColor: "green"
+ }
},
},
]
diff --git a/packages/ui/v2/modules/booker/DatePicker.tsx b/packages/ui/v2/modules/booker/DatePicker.tsx
index 58eae8bb67..5a29252999 100644
--- a/packages/ui/v2/modules/booker/DatePicker.tsx
+++ b/packages/ui/v2/modules/booker/DatePicker.tsx
@@ -1,6 +1,7 @@
import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/solid";
import dayjs, { Dayjs } from "@calcom/dayjs";
+import { useEmbedStyles } from "@calcom/embed-core/embed-iframe";
import classNames from "@calcom/lib/classNames";
import { daysInMonth, yyyymmdd } from "@calcom/lib/date-fns";
import { weekdayNames } from "@calcom/lib/weekday";
@@ -36,8 +37,11 @@ export const Day = ({
active,
...props
}: JSX.IntrinsicElements["button"] & { active: boolean; date: Dayjs }) => {
+ const enabledDateButtonEmbedStyles = useEmbedStyles("enabledDateButton");
+ const disabledDateButtonEmbedStyles = useEmbedStyles("disabledDateButton");
return (