Create src/lib/labels.ts

This commit is contained in:
Alex Gleason committed 2025-12-05 17:28:53 -06:00
1 parent 048846865f
commit bbee14b675
5 files changed
+47 -44

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@ import { useProjects } from '@/hooks/useProjects';
import { useProjectSessionStatus } from '@/hooks/useProjectSessionStatus';
import { useLocalStorage } from '@/hooks/useLocalStorage';
import { useIsMobile } from '@/hooks/useIsMobile';
import { useLabels, getLabelColor } from '@/hooks/useLabels';
import { useLabels } from '@/hooks/useLabels';
import { getLabelColor } from '@/lib/labels';
import { useProjectLabels } from '@/hooks/useProjectLabels';
import type { Project } from '@/lib/ProjectsManager';
import { cn } from '@/lib/utils';
+2 -1
View File
@@ -10,7 +10,8 @@ import {
import { ScrollArea } from '@/components/ui/scroll-area';
import { Separator } from '@/components/ui/separator';
import { Input } from '@/components/ui/input';
import { useLabels, getLabelColor, LABEL_COLORS, type Label, type LabelColorName } from '@/hooks/useLabels';
import { useLabels } from '@/hooks/useLabels';
import { getLabelColor, LABEL_COLORS, type Label, type LabelColorName } from '@/lib/labels';
import { useProjectLabels } from '@/hooks/useProjectLabels';
import { LabelsManageDialog } from './LabelsManageDialog';
import { cn } from '@/lib/utils';
+2 -1
View File
@@ -44,7 +44,8 @@ import {
AlertDialogHeader,
AlertDialogTitle,
} from '@/components/ui/alert-dialog';
import { useLabels, LABEL_COLORS, getLabelColor, type LabelColorName, type Label as LabelType } from '@/hooks/useLabels';
import { useLabels } from '@/hooks/useLabels';
import { LABEL_COLORS, getLabelColor, type LabelColorName, type Label as LabelType } from '@/lib/labels';
import { useProjectLabels } from '@/hooks/useProjectLabels';
import { cn } from '@/lib/utils';