From f303d616776f52b27a5d3ff6660e42c9c2acf869 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 15 Feb 2026 20:26:51 +0200 Subject: [PATCH] feat: apply board color to TopBar border and column header accents --- src/components/board/ColumnHeader.tsx | 5 +++-- src/components/board/KanbanColumn.tsx | 2 +- src/components/layout/TopBar.tsx | 9 +++++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/board/ColumnHeader.tsx b/src/components/board/ColumnHeader.tsx index 4205263..c935709 100644 --- a/src/components/board/ColumnHeader.tsx +++ b/src/components/board/ColumnHeader.tsx @@ -17,9 +17,10 @@ import type { Column, ColumnWidth } from "@/types/board"; interface ColumnHeaderProps { column: Column; cardCount: number; + boardColor?: string; } -export function ColumnHeader({ column, cardCount }: ColumnHeaderProps) { +export function ColumnHeader({ column, cardCount, boardColor }: ColumnHeaderProps) { const [editing, setEditing] = useState(false); const [editValue, setEditValue] = useState(column.title); const inputRef = useRef(null); @@ -59,7 +60,7 @@ export function ColumnHeader({ column, cardCount }: ColumnHeaderProps) { } return ( -
+
{editing ? ( {/* The column header is the drag handle for column reordering */}
- +
{/* Card list - wrapped in SortableContext for within-column sorting */} diff --git a/src/components/layout/TopBar.tsx b/src/components/layout/TopBar.tsx index 43c6ff6..838b000 100644 --- a/src/components/layout/TopBar.tsx +++ b/src/components/layout/TopBar.tsx @@ -65,7 +65,8 @@ export function TopBar() { return (
{/* Left section */}
@@ -105,8 +106,12 @@ export function TopBar() { ) : ( )