style: 移除全局样式中的暗色模式媒体查询

This commit is contained in:
wood chen 2025-02-19 01:11:53 +08:00
parent d2aeb651cf
commit c4eccc593c

View File

@ -8,6 +8,8 @@
--background-end-rgb: 255, 255, 255; --background-end-rgb: 255, 255, 255;
} }
/* 删除或注释掉这个媒体查询块,这样就不会跟随系统主题自动切换到暗色模式 */
/*
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--foreground-rgb: 255, 255, 255; --foreground-rgb: 255, 255, 255;
@ -15,6 +17,7 @@
--background-end-rgb: 0, 0, 0; --background-end-rgb: 0, 0, 0;
} }
} }
*/
@layer utilities { @layer utilities {
.text-balance { .text-balance {