mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-13 03:47:34 +03:00
tweak colors and switch
This commit is contained in:
parent
18d413fbee
commit
7925d120ae
@ -1464,7 +1464,7 @@
|
||||
"deleteSectionConfirm": "Remove {{profile}}'s overrides for {{section}} on {{camera}}?",
|
||||
"enableSwitch": "Enable Profiles",
|
||||
"enabledDescription": "Profiles are enabled. Navigate to a camera config section, create a new profile from the dropdown in the header, and save for changes to take effect.",
|
||||
"disabledDescription": "Profiles allow you to define named sets of camera config overrides (e.g., armed, away, night) that can be activated on demand. Enable profiles to get started."
|
||||
"disabledDescription": "Profiles allow you to define named sets of camera config overrides (e.g., armed, away, night) that can be activated on demand."
|
||||
},
|
||||
"unsavedChanges": "You have unsaved changes",
|
||||
"confirmReset": "Confirm Reset",
|
||||
|
||||
@ -114,11 +114,7 @@ export function ProfileSectionDropdown({
|
||||
<>
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="h-7 gap-1.5 text-xs font-normal"
|
||||
>
|
||||
<Button variant="outline" className="h-9 gap-2 font-normal">
|
||||
{editingProfile ? (
|
||||
<>
|
||||
<span
|
||||
|
||||
@ -1,18 +1,6 @@
|
||||
import type { ProfileColor } from "@/types/profile";
|
||||
|
||||
const PROFILE_COLORS: ProfileColor[] = [
|
||||
{
|
||||
bg: "bg-blue-500",
|
||||
text: "text-blue-500",
|
||||
dot: "bg-blue-500",
|
||||
bgMuted: "bg-blue-500/20",
|
||||
},
|
||||
{
|
||||
bg: "bg-emerald-500",
|
||||
text: "text-emerald-500",
|
||||
dot: "bg-emerald-500",
|
||||
bgMuted: "bg-emerald-500/20",
|
||||
},
|
||||
{
|
||||
bg: "bg-amber-500",
|
||||
text: "text-amber-500",
|
||||
@ -49,6 +37,18 @@ const PROFILE_COLORS: ProfileColor[] = [
|
||||
dot: "bg-teal-500",
|
||||
bgMuted: "bg-teal-500/20",
|
||||
},
|
||||
{
|
||||
bg: "bg-emerald-500",
|
||||
text: "text-emerald-500",
|
||||
dot: "bg-emerald-500",
|
||||
bgMuted: "bg-emerald-500/20",
|
||||
},
|
||||
{
|
||||
bg: "bg-blue-500",
|
||||
text: "text-blue-500",
|
||||
dot: "bg-blue-500",
|
||||
bgMuted: "bg-blue-500/20",
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user