fix: More Brand color for calendar view (#10252)
This commit is contained in:
parent
587d3c1088
commit
47f65bb19f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue
Block a user