From c4eccc593c297cbd86d6c4b841699bd6de727eba Mon Sep 17 00:00:00 2001 From: wood chen Date: Wed, 19 Feb 2025 01:11:53 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=B8=AD=E7=9A=84=E6=9A=97=E8=89=B2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=AA=92=E4=BD=93=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/globals.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/styles/globals.css b/src/styles/globals.css index f4447b4..0259ca4 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -8,6 +8,8 @@ --background-end-rgb: 255, 255, 255; } +/* 删除或注释掉这个媒体查询块,这样就不会跟随系统主题自动切换到暗色模式 */ +/* @media (prefers-color-scheme: dark) { :root { --foreground-rgb: 255, 255, 255; @@ -15,6 +17,7 @@ --background-end-rgb: 0, 0, 0; } } +*/ @layer utilities { .text-balance {