From c42765034e66d5c69f64d12f4e04b0733fb4549b Mon Sep 17 00:00:00 2001 From: qq143838 Date: Fri, 28 Aug 2026 05:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/AppSidebar.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/layouts/AppSidebar.css b/src/layouts/AppSidebar.css index ac0b481..fad846d 100644 --- a/src/layouts/AppSidebar.css +++ b/src/layouts/AppSidebar.css @@ -21,23 +21,31 @@ .drawer-brand { font-weight: 600; font-size: 18px; - letter-spacing: 0.5px; - color: var(--ant-color-text); + letter-spacing: 0; } .sider-brand { display: flex; align-items: center; - justify-content: flex-start; + justify-content: center; gap: 8px; height: 42px; - padding: 0 16px 0 24px; + padding: 0 16px; border-bottom: 1px solid var(--ant-color-border-secondary); user-select: none; white-space: nowrap; overflow: hidden; } +.sider-brand .brand-text, +.drawer-brand { + color: transparent; + background: linear-gradient(135deg, #6366f1, #ec4899); + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + .brand-block { display: inline-flex; align-items: center;