mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
Fix mobile colors
This commit is contained in:
parent
5ffd643abe
commit
4645079f6c
@ -15,8 +15,8 @@ const variants = {
|
|||||||
inactive: "text-muted-foreground bg-secondary",
|
inactive: "text-muted-foreground bg-secondary",
|
||||||
},
|
},
|
||||||
secondary: {
|
secondary: {
|
||||||
active: "font-bold text-primary",
|
active: "font-bold text-selected",
|
||||||
inactive: "text-secondary-foreground",
|
inactive: "text-muted-foreground",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -81,17 +81,23 @@ export default function LiveDashboardView({
|
|||||||
<div />
|
<div />
|
||||||
<div className="flex items-center gap-1">
|
<div className="flex items-center gap-1">
|
||||||
<Button
|
<Button
|
||||||
className={layout == "grid" ? "text-blue-600 bg-blue-200" : ""}
|
className={
|
||||||
|
layout == "grid"
|
||||||
|
? "text-selected bg-blue-900 focus:bg-blue-900 bg-opacity-60 focus:bg-opacity-60"
|
||||||
|
: "text-muted-foreground bg-muted"
|
||||||
|
}
|
||||||
size="xs"
|
size="xs"
|
||||||
variant="secondary"
|
|
||||||
onClick={() => setLayout("grid")}
|
onClick={() => setLayout("grid")}
|
||||||
>
|
>
|
||||||
<CiGrid31 className="m-1" />
|
<CiGrid31 className="m-1" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
className={layout == "list" ? "text-blue-600 bg-blue-200" : ""}
|
className={
|
||||||
|
layout == "list"
|
||||||
|
? "text-selected bg-blue-900 focus:bg-blue-900 bg-opacity-60 focus:bg-opacity-60"
|
||||||
|
: "text-muted-foreground bg-muted"
|
||||||
|
}
|
||||||
size="xs"
|
size="xs"
|
||||||
variant="secondary"
|
|
||||||
onClick={() => setLayout("list")}
|
onClick={() => setLayout("list")}
|
||||||
>
|
>
|
||||||
<CiGrid2H className="m-1" />
|
<CiGrid2H className="m-1" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user