fix: More Brand color for calendar view (#10252)

This commit is contained in:
Anik Dhabal Babu 2023-07-20 04:02:25 +05:30 committed by GitHub
parent 587d3c1088
commit 47f65bb19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ export const EventDuration = ({ event }: { event: PublicEvent }) => {
{event.metadata.multipleDuration.map((duration) => (
<Badge
variant="gray"
className={classNames(selectedDuration === duration && "bg-inverted text-inverted")}
className={classNames(selectedDuration === duration && "bg-brand-default text-brand")}
size="md"
key={duration}
onClick={() => setSelectedDuration(duration)}>{`${duration} ${t("minute_timeUnit")}`}</Badge>

View File

@ -49,7 +49,7 @@ export function DateValues({ days, containerNavRef }: Props) {
<span
className={classNames(
"items-center justify-center p-1",
isToday && "bg-inverted text-inverted rounded-full"
isToday && "bg-brand-default text-brand rounded-full"
)}>
{day.format("DD")}
</span>

View File

@ -101,7 +101,7 @@ function Cell({ isDisabled, topOffsetMinutes, timeSlot }: CellProps) {
{!isDisabled && hoverEventDuration !== 0 && (
<div
className={classNames(
"opacity-4 bg-subtle hover:bg-emphasis text-emphasis dark:border-emphasis absolute hidden rounded-[4px] border-[1px] border-gray-900 px-[6px] py-1 text-xs font-semibold leading-5 group-hover:flex group-hover:cursor-pointer",
"opacity-4 bg-brand-default hover:bg-brand-default text-brand dark:border-emphasis absolute hidden rounded-[4px] border-[1px] border-gray-900 px-[6px] py-1 text-xs font-semibold leading-5 group-hover:flex group-hover:cursor-pointer",
hoverEventDuration && hoverEventDuration > 15 && "items-start pt-3",
hoverEventDuration && hoverEventDuration < 15 && "items-center"
)}