fix(theme): default light
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user