From 4e3d24975c9785001b36ef28b2fe716faedc536f Mon Sep 17 00:00:00 2001 From: wood chen Date: Mon, 16 Jun 2025 10:48:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E5=B0=86=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=80=8F=E6=98=8E=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=95=B4=E6=B4=81=E6=80=A7=E3=80=82=E5=90=8C?= =?UTF-8?q?=E6=97=B6=E5=9C=A8=20App=20=E7=BB=84=E4=BB=B6=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=AF=9B=E7=8E=BB=E7=92=83=E8=92=99=E7=89=88=E5=B1=82?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=BC=BA=E8=A7=86=E8=A7=89=E6=95=88=E6=9E=9C?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++--- src/App.tsx | 7 +++++++ src/index.css | 3 ++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 9449544..2bf50df 100644 --- a/index.html +++ b/index.html @@ -25,15 +25,15 @@ } html { - background-color: var(--bg) !important; + background: transparent !important; } body { - background-color: var(--bg) !important; + background: transparent !important; } #root { - background-color: var(--bg) !important; + background: transparent !important; visibility: hidden; } diff --git a/src/App.tsx b/src/App.tsx index 0f8dffe..ff2b8a4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -66,6 +66,13 @@ const App: React.FC = () => { zIndex: -1 }} /> + {/* 毛玻璃蒙版层 */} +
diff --git a/src/index.css b/src/index.css index ceb55a6..444f1f6 100644 --- a/src/index.css +++ b/src/index.css @@ -92,7 +92,8 @@ @apply scroll-smooth; } body { - @apply bg-background text-foreground; + @apply text-foreground; + background: transparent !important; /* font-feature-settings: "rlig" 1, "calt" 1; */ font-synthesis-weight: none; text-rendering: optimizeLegibility;