|
-
+
{tree.name}
{tree.status === 'draft' && (
@@ -146,23 +146,23 @@ export function TreeTableView({
)}
{tree.is_public ? (
-
+
) : (
-
+
)}
|
-
+ |
{tree.description || 'No description'}
|
{tree.category_info && (
-
+
{tree.category_info.name}
)}
@@ -172,13 +172,13 @@ export function TreeTableView({
)}
|
-
+ |
v{tree.version}
|
-
+ |
{tree.usage_count}
|
-
+ |
{formatDate(tree.updated_at)}
|
@@ -189,8 +189,8 @@ export function TreeTableView({
type="button"
onClick={() => onForkTree(tree.id)}
className={cn(
- 'rounded-md border border-white/10 p-1.5 text-white/60',
- 'hover:bg-white/10 hover:text-white'
+ 'rounded-md border border-border p-1.5 text-muted-foreground',
+ 'hover:bg-accent hover:text-foreground'
)}
title="Fork tree"
aria-label="Fork tree"
@@ -203,8 +203,8 @@ export function TreeTableView({
onDeleteTree(tree)}
className={cn(
- 'rounded-md border border-white/10 p-1.5 text-white/60',
+ 'rounded-md border border-border p-1.5 text-muted-foreground',
'hover:bg-red-500/20 hover:text-red-400'
)}
title="Delete tree"
@@ -229,8 +229,8 @@ export function TreeTableView({
type="button"
onClick={() => onStartSession(tree.id, tree.tree_type)}
className={cn(
- 'rounded-md bg-white px-3 py-1.5 text-xs font-medium text-black',
- 'hover:bg-white/90 whitespace-nowrap'
+ 'rounded-md bg-gradient-brand px-3 py-1.5 text-xs font-medium text-white shadow-lg shadow-primary/20',
+ 'hover:opacity-90 whitespace-nowrap'
)}
>
Start
diff --git a/frontend/src/components/library/ViewToggle.tsx b/frontend/src/components/library/ViewToggle.tsx
index 20037a89..88fe5b4b 100644
--- a/frontend/src/components/library/ViewToggle.tsx
+++ b/frontend/src/components/library/ViewToggle.tsx
@@ -11,15 +11,15 @@ interface ViewToggleProps {
export function ViewToggle({ view, onChange, className }: ViewToggleProps) {
return (
-
+
|