mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-12 01:57:36 +03:00
fix light mode
This commit is contained in:
parent
4790164e13
commit
29bf9a4d87
@ -309,7 +309,7 @@ function ReviewGroup({
|
|||||||
"size-3",
|
"size-3",
|
||||||
isActive
|
isActive
|
||||||
? "fill-selected text-selected"
|
? "fill-selected text-selected"
|
||||||
: "fill-secondary-highlight text-secondary-highlight duration-500",
|
: "fill-muted duration-500 dark:fill-secondary-highlight dark:text-secondary-highlight",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -323,10 +323,7 @@ function ReviewGroup({
|
|||||||
key={`${lbl}-${idx}`}
|
key={`${lbl}-${idx}`}
|
||||||
className="rounded-full bg-muted-foreground p-1"
|
className="rounded-full bg-muted-foreground p-1"
|
||||||
>
|
>
|
||||||
{getIconForLabel(
|
{getIconForLabel(lbl, "size-3 text-white")}
|
||||||
lbl,
|
|
||||||
"size-3 text-primary dark:text-white",
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
@ -398,10 +395,7 @@ function ReviewGroup({
|
|||||||
>
|
>
|
||||||
<div className="ml-1.5 flex items-center gap-2 text-sm font-medium">
|
<div className="ml-1.5 flex items-center gap-2 text-sm font-medium">
|
||||||
<div className="rounded-full bg-muted-foreground p-1">
|
<div className="rounded-full bg-muted-foreground p-1">
|
||||||
{getIconForLabel(
|
{getIconForLabel(audioLabel, "size-3 text-white")}
|
||||||
audioLabel,
|
|
||||||
"size-3 text-primary dark:text-white",
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<span>{getTranslatedLabel(audioLabel)}</span>
|
<span>{getTranslatedLabel(audioLabel)}</span>
|
||||||
</div>
|
</div>
|
||||||
@ -489,10 +483,7 @@ function EventList({
|
|||||||
: "bg-muted-foreground",
|
: "bg-muted-foreground",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{getIconForLabel(
|
{getIconForLabel(event.label, "size-3 text-white")}
|
||||||
event.label,
|
|
||||||
"size-3 text-primary dark:text-white",
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-end gap-2">
|
<div className="flex items-end gap-2">
|
||||||
<span>{getTranslatedLabel(event.label)}</span>
|
<span>{getTranslatedLabel(event.label)}</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user