From b64ce24170599b53880ea016e6cadee1a360c8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Sun, 22 Feb 2026 15:15:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加玻璃态背景效果 - 添加科技蓝发光阴影 - 更新文字颜色使用 CSS 变量 - 统一深色模式样式 - 优化移动端菜单样式 --- src/components/layout/header.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx index 779c24f..1ac6b17 100644 --- a/src/components/layout/header.tsx +++ b/src/components/layout/header.tsx @@ -64,7 +64,7 @@ export function Header() { fixed top-0 left-0 right-0 z-50 transition-all duration-300 ease-out ${isScrolled - ? 'bg-white/95 dark:bg-[var(--color-bg-primary)]/95 backdrop-blur-md border-b border-gray-200 dark:border-gray-800 shadow-lg shadow-gray-200/50 dark:shadow-black/20' + ? 'bg-[var(--color-bg-primary)]/80 backdrop-blur-xl border-b border-[var(--color-border-primary)] shadow-[0_4px_30px_rgba(0,217,255,0.1)]' : 'bg-transparent' } `} @@ -94,7 +94,7 @@ export function Header() { transition-all duration-300 ${activeSection === item.id.replace('#', '') ? 'text-[var(--color-tech-blue)]' - : 'text-gray-600 dark:text-gray-400 hover:text-[var(--color-tech-blue)]' + : 'text-[var(--color-text-secondary)] hover:text-[var(--color-tech-blue)]' } `} > @@ -138,7 +138,7 @@ export function Header() {