fix(theme): default light

This commit is contained in:
2026-03-10 10:51:32 +08:00
parent fe46a422b4
commit 3c7333b24e
2 changed files with 5 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ import "mantine-datatable/styles.css"
import Script from "next/script"
import { InfoCheck } from "@/app/store/InfoCheck"
import { OptStore } from "@/components/label/OptStore"
import {
ColorSchemeScript,
MantineProvider,
@@ -18,7 +19,6 @@ import { Notifications } from "@mantine/notifications"
import { Suspense } from "react"
import "./globals.css"
import { theme } from "./theme"
import { OptStore } from "@/components/label/OptStore"
const GLOBAL_NOTICE_Z_INDEX = 4000
@@ -46,7 +46,7 @@ export default function RootLayout({
return (
<html lang="en" {...mantineHtmlProps}>
<head>
<ColorSchemeScript defaultColorScheme="auto" />
<ColorSchemeScript defaultColorScheme="light" />
<Script
src="https://lf-scm-cn.feishucdn.com/lark/op/h5-js-sdk-1.5.44.js"
strategy="afterInteractive"
@@ -56,7 +56,7 @@ export default function RootLayout({
/>
</head>
<body>
<MantineProvider defaultColorScheme="auto" theme={theme}>
<MantineProvider defaultColorScheme="light" theme={theme}>
<Notifications zIndex={GLOBAL_NOTICE_Z_INDEX} withinPortal />
<InfoCheck />
<OptStore />