From ea793a43faf4169b4c1839b73125dbbdddda0519 Mon Sep 17 00:00:00 2001 From: pqhuy1987 Date: Thu, 11 Jun 2026 14:10:00 +0700 Subject: [PATCH] [CLAUDE] FE-Admin+FE-User: brand-accent polish x2 app - stripe dinh app + logo zone tint + PageHeader accent bar + thead brand (S58, anh yeu cau trang tri ro hon) --- fe-admin/src/components/DataTable.tsx | 6 ++++-- fe-admin/src/components/Layout.tsx | 11 ++++++++--- fe-admin/src/components/PageHeader.tsx | 10 +++++++--- fe-admin/src/components/TopBar.tsx | 2 +- fe-user/src/components/DataTable.tsx | 6 ++++-- fe-user/src/components/Layout.tsx | 11 ++++++++--- fe-user/src/components/PageHeader.tsx | 10 +++++++--- fe-user/src/components/TopBar.tsx | 2 +- 8 files changed, 40 insertions(+), 18 deletions(-) diff --git a/fe-admin/src/components/DataTable.tsx b/fe-admin/src/components/DataTable.tsx index 6f56a57..737f9c9 100644 --- a/fe-admin/src/components/DataTable.tsx +++ b/fe-admin/src/components/DataTable.tsx @@ -82,8 +82,10 @@ export function DataTable({ // Density-first: rounded-lg + crisp border (no decorative shadow).
- - + {/* thead tint brand — đậm nhận diện hơn slate (mirror fe-user S58); + brand-700 semibold uppercase 11px đạt AA trên nền nhạt. */} + + {columns.map(c => (
+ // Brand stripe — dải nhận diện #1F7DC1 đỉnh app (mirror fe-user S58, + // anh yêu cầu "trang trí lên 1 tý"; guide accent sparing). +
+
+
) } diff --git a/fe-admin/src/components/PageHeader.tsx b/fe-admin/src/components/PageHeader.tsx index 3ed5f2d..70ada14 100644 --- a/fe-admin/src/components/PageHeader.tsx +++ b/fe-admin/src/components/PageHeader.tsx @@ -13,9 +13,13 @@ export function PageHeader({ // Density-first (NAMGROUP): compact one-line header, text-[15px] semibold, // tighter bottom rule. Toolbar/actions sit inline on the right.
-
-

{title}

- {description &&

{description}

} +
+ {/* Brand accent bar — nhận diện #1F7DC1 per-page (mirror fe-user S58) */} + +
+

{title}

+ {description &&

{description}

} +
{actions &&
{actions}
}
diff --git a/fe-admin/src/components/TopBar.tsx b/fe-admin/src/components/TopBar.tsx index a018fed..43a0777 100644 --- a/fe-admin/src/components/TopBar.tsx +++ b/fe-admin/src/components/TopBar.tsx @@ -69,7 +69,7 @@ function UserMenu() { export function TopBar({ title }: { title?: string }) { return (
-
{title}
+
{title}
diff --git a/fe-user/src/components/DataTable.tsx b/fe-user/src/components/DataTable.tsx index 6f56a57..d7127eb 100644 --- a/fe-user/src/components/DataTable.tsx +++ b/fe-user/src/components/DataTable.tsx @@ -82,8 +82,10 @@ export function DataTable({ // Density-first: rounded-lg + crisp border (no decorative shadow).
- - + {/* thead tint brand — đậm nhận diện hơn slate (anh yêu cầu "trang trí + lên 1 tý" 06-11); brand-700 semibold uppercase 11px đạt AA trên nền nhạt. */} + + {columns.map(c => (
-
+ {/* Brand stripe — dải nhận diện #1F7DC1 chạy suốt đỉnh app (anh yêu cầu + "trang trí lên 1 tý" 06-11; guide cho accent sparing — đây là 1 chỗ). */} +
+
+
) diff --git a/fe-user/src/components/PageHeader.tsx b/fe-user/src/components/PageHeader.tsx index 3ed5f2d..4888253 100644 --- a/fe-user/src/components/PageHeader.tsx +++ b/fe-user/src/components/PageHeader.tsx @@ -13,9 +13,13 @@ export function PageHeader({ // Density-first (NAMGROUP): compact one-line header, text-[15px] semibold, // tighter bottom rule. Toolbar/actions sit inline on the right.
-
-

{title}

- {description &&

{description}

} +
+ {/* Brand accent bar — nhận diện #1F7DC1 per-page (anh yêu cầu 06-11) */} + +
+

{title}

+ {description &&

{description}

} +
{actions &&
{actions}
}
diff --git a/fe-user/src/components/TopBar.tsx b/fe-user/src/components/TopBar.tsx index a018fed..43a0777 100644 --- a/fe-user/src/components/TopBar.tsx +++ b/fe-user/src/components/TopBar.tsx @@ -69,7 +69,7 @@ function UserMenu() { export function TopBar({ title }: { title?: string }) { return (
-
{title}
+
{title}