tweak colors and switch

This commit is contained in:
Josh Hawkins 2026-03-11 11:36:15 -05:00
parent 18d413fbee
commit 7925d120ae
3 changed files with 14 additions and 18 deletions

View File

@ -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",

View File

@ -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

View File

@ -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",
},
];
/**