forked from boos/BoosAPI
fix: support website color schemes
This commit is contained in:
@@ -35,8 +35,11 @@ export const metadata: Metadata = {
|
||||
export const viewport: Viewport = {
|
||||
width: "device-width",
|
||||
initialScale: 1,
|
||||
colorScheme: "light",
|
||||
themeColor: "#f7fbf2",
|
||||
colorScheme: "light dark",
|
||||
themeColor: [
|
||||
{ media: "(prefers-color-scheme: light)", color: "#f7fbf2" },
|
||||
{ media: "(prefers-color-scheme: dark)", color: "#06110e" },
|
||||
],
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
Reference in New Issue
Block a user