forked from Github/frigate
Update frontend colors to match style guide (#10188)
* Get main background colors going * Finish sidebar * Get light mode colors working * Adjust icons * Adjust icons * remove unused * Fix mobile colors
This commit is contained in:
@@ -11,11 +11,11 @@ import { isDesktop } from "react-device-detect";
|
||||
|
||||
const variants = {
|
||||
primary: {
|
||||
active: "font-bold text-primary-foreground bg-primary",
|
||||
inactive: "text-muted-foreground bg-muted",
|
||||
active: "font-bold text-white bg-selected",
|
||||
inactive: "text-muted-foreground bg-secondary",
|
||||
},
|
||||
secondary: {
|
||||
active: "font-bold text-primary",
|
||||
active: "font-bold text-selected",
|
||||
inactive: "text-muted-foreground",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -5,7 +5,7 @@ import NavItem from "./NavItem";
|
||||
|
||||
function Sidebar() {
|
||||
return (
|
||||
<aside className="absolute w-[52px] z-10 left-o inset-y-0 overflow-y-auto scrollbar-hidden py-4 flex flex-col justify-between">
|
||||
<aside className="absolute w-[52px] z-10 left-o inset-y-0 overflow-y-auto scrollbar-hidden py-4 flex flex-col justify-between bg-primary">
|
||||
<span tabIndex={0} className="sr-only" />
|
||||
<div className="w-full flex flex-col gap-0 items-center">
|
||||
<Logo className="w-8 h-8 mb-6" />
|
||||
|
||||
Reference in New Issue
Block a user