Skip to content

Commit 7dcc28f

Browse files
committed
style updates
1 parent 317f64f commit 7dcc28f

31 files changed

Lines changed: 1447 additions & 807 deletions

src/components/DigitalColleagues/AddEpicModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Input } from '@/components/ui/input';
66
import { Textarea } from '@/components/ui/textarea';
77
import { Label } from '@/components/ui/label';
88
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
9-
import { Epic } from './KanbanBoard';
9+
import { Epic } from '../dc-temp/Views/KanbanBoard';
1010

1111
interface AddEpicModalProps {
1212
isOpen: boolean;

src/components/DigitalColleagues/AddSprintModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover
1010
import { CalendarIcon } from 'lucide-react';
1111
import { format } from 'date-fns';
1212
import { cn } from '@/lib/utils';
13-
import { Sprint } from './KanbanBoard';
13+
import { Sprint } from '../dc-temp/Views/KanbanBoard';
1414

1515
interface AddSprintModalProps {
1616
isOpen: boolean;

src/components/DigitalColleagues/AddTaskModal.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Label } from '@/components/ui/label';
99
import { Badge } from '@/components/ui/badge';
1010
import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group';
1111
import { BookOpen, Bug, Zap, AlertCircle } from 'lucide-react';
12-
import { Task, Epic, Sprint } from './KanbanBoard';
12+
import { Task, Epic, Sprint } from './types';
1313

1414
interface AddTaskModalProps {
1515
isOpen: boolean;
@@ -20,16 +20,16 @@ interface AddTaskModalProps {
2020
}
2121

2222
const taskTypes = [
23-
{ value: 'story', label: 'Story', color: 'bg-blue-100 text-blue-800', icon: BookOpen },
24-
{ value: 'task', label: 'Task', color: 'bg-green-100 text-green-800', icon: AlertCircle },
25-
{ value: 'bug', label: 'Bug', color: 'bg-red-100 text-red-800', icon: Bug },
26-
{ value: 'spike', label: 'Spike', color: 'bg-purple-100 text-purple-800', icon: Zap },
23+
{ value: 'story', label: 'Story', color: 'bg-primary/20 text-primary', icon: BookOpen },
24+
{ value: 'task', label: 'Task', color: 'bg-secondary/20 text-secondary-foreground', icon: AlertCircle },
25+
{ value: 'bug', label: 'Bug', color: 'bg-destructive/20 text-destructive', icon: Bug },
26+
{ value: 'spike', label: 'Spike', color: 'bg-accent/20 text-accent', icon: Zap },
2727
];
2828

2929
const priorities = [
30-
{ value: 'low', label: 'Low', color: 'bg-green-100 text-green-800' },
31-
{ value: 'medium', label: 'Medium', color: 'bg-yellow-100 text-yellow-800' },
32-
{ value: 'high', label: 'High', color: 'bg-red-100 text-red-800' },
30+
{ value: 'low', label: 'Low', color: 'bg-success/20 text-success' },
31+
{ value: 'medium', label: 'Medium', color: 'bg-warning/20 text-warning' },
32+
{ value: 'high', label: 'High', color: 'bg-destructive/20 text-destructive' },
3333
];
3434

3535
export const AddTaskModal: React.FC<AddTaskModalProps> = ({

src/components/DigitalColleagues/CommentSection.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ export const CommentSection: React.FC<CommentSectionProps> = ({ comments, onAddC
4444
{/* Comments List */}
4545
<div className="space-y-4 max-h-60 overflow-y-auto">
4646
{comments.map((comment) => (
47-
<div key={comment.id} className="flex gap-3 p-3 bg-gray-50 rounded-lg">
47+
<div key={comment.id} className="flex gap-3 p-3 bg-muted/50 rounded-lg">
4848
<Avatar className="h-8 w-8 mt-1">
49-
<AvatarFallback className="text-xs bg-gray-200 text-gray-700">
49+
<AvatarFallback className="text-xs bg-muted text-muted-foreground">
5050
{getInitials(comment.author)}
5151
</AvatarFallback>
5252
</Avatar>
5353
<div className="flex-1">
5454
<div className="flex items-center gap-2 mb-1">
5555
<span className="font-medium text-sm">{comment.author}</span>
56-
<span className="text-xs text-gray-500">
56+
<span className="text-xs text-muted-foreground">
5757
{comment.createdAt.toLocaleDateString()} at {comment.createdAt.toLocaleTimeString()}
5858
</span>
5959
</div>
60-
<p className="text-sm text-gray-700">{comment.text}</p>
60+
<p className="text-sm text-muted-foreground">{comment.text}</p>
6161
</div>
6262
</div>
6363
))}

src/components/DigitalColleagues/DocumentationView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ export const DocumentationView: React.FC = () => {
128128
{doc.isFolder ? (
129129
<>
130130
{expandedFolders.has(doc.id) ? (
131-
<ChevronDown className="h-4 w-4 text-gray-500" />
131+
<ChevronDown className="h-4 w-4 text-muted-foreground" />
132132
) : (
133-
<ChevronRight className="h-4 w-4 text-gray-500" />
133+
<ChevronRight className="h-4 w-4 text-muted-foreground" />
134134
)}
135-
<Folder className="h-4 w-4 text-blue-500" />
135+
<Folder className="h-4 w-4 text-primary" />
136136
</>
137137
) : (
138138
<>
139139
<div className="w-4" />
140-
<FileText className="h-4 w-4 text-gray-500" />
140+
<FileText className="h-4 w-4 text-muted-foreground" />
141141
</>
142142
)}
143143
<span className="text-sm font-medium text-gray-700">{doc.title}</span>

src/components/DigitalColleagues/EditableField.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ export const EditableField: React.FC<EditableFieldProps> = ({
7575
) : (
7676
<div
7777
onClick={handleFieldClick}
78-
className={`cursor-pointer hover:bg-gray-50 p-2 rounded border border-transparent hover:border-gray-200 transition-colors group ${
78+
className={`cursor-pointer hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${
7979
multiline ? "min-h-[100px]" : "min-h-[40px]"
8080
} flex items-start gap-2`}
8181
>
82-
<span className={multiline ? "text-sm text-gray-700" : "text-lg font-medium text-gray-900"}>
82+
<span className={multiline ? "text-sm text-muted-foreground" : "text-lg font-medium text-foreground"}>
8383
{value || "Click to edit..."}
8484
</span>
85-
<Edit className="h-4 w-4 text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity" />
85+
<Edit className="h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity" />
8686
</div>
8787
)}
8888
</div>

src/components/DigitalColleagues/EpicFilter.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import { Card } from '@/components/ui/card';
44
import { Checkbox } from '@/components/ui/checkbox';
55
import { Badge } from '@/components/ui/badge';
6-
import { Epic } from './KanbanBoard';
6+
import { Epic } from './types';
77

88
interface EpicFilterProps {
99
epics: Epic[];
@@ -33,13 +33,13 @@ export const EpicFilter: React.FC<EpicFilterProps> = ({
3333
};
3434

3535
return (
36-
<Card className="p-4 bg-white shadow-sm">
36+
<Card className="p-4 bg-card shadow-sm">
3737
<div className="space-y-3">
3838
<div className="flex items-center justify-between">
39-
<h3 className="font-medium text-gray-900">Filter by Epic</h3>
39+
<h3 className="font-medium text-foreground">Filter by Epic</h3>
4040
<button
4141
onClick={handleSelectAll}
42-
className="text-sm text-blue-600 hover:text-blue-800 font-medium"
42+
className="text-sm text-primary hover:text-primary/80 font-medium"
4343
>
4444
{selectedEpics.length === epics.length ? 'Deselect All' : 'Select All'}
4545
</button>

0 commit comments

Comments
 (0)