fix: Fixed Issue #10291 removed brand color for tooltip (#10327)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bhargav Tenali <t.bhargav@kayrros.com>
This commit is contained in:
Bhargav
2023-07-24 15:21:18 +02:00
committed by GitHub
co-authored by Peer Richelsen Bhargav Tenali
parent 771f0b67db
commit bd4f99a850
@@ -73,13 +73,13 @@ const MeetingTimeInTimezones = ({
<Popover.Content
onClick={preventBubbling}
side="top"
className="popover-content slideInBottom border-5 bg-brand-default text-inverted border-subtle rounded-md p-3 text-sm shadow-sm">
className="popover-content slideInBottom border-5 bg-inverted text-inverted border-subtle rounded-md p-3 text-sm shadow-sm">
{times.map((time) => (
<span className="mt-2 block first:mt-0" key={time.timezone}>
<span className="inline-flex align-baseline">
{time.startTime} - {time.endTime}
{(time.isNextDay || time.isPreviousDay) && (
<span className="text-medium ml-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-gray-700 text-[10px]">
<span className="text-medium bg-muted text-emphasis ml-2 inline-flex h-5 w-5 items-center justify-center rounded-full text-[10px]">
{time.isNextDay ? "+1" : "-1"}
</span>
)}