From a50071a4d6daa85d0699e5a42bc0b70b81b2f41f Mon Sep 17 00:00:00 2001 From: shinya Date: Thu, 26 Jun 2025 21:17:28 +0800 Subject: [PATCH] feat: dark mode theme color --- src/app/layout.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7c179c0..98e279d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -12,6 +12,10 @@ export const metadata: Metadata = { title: 'MoonTV', description: '影视聚合', manifest: '/manifest.json', + themeColor: [ + { media: '(prefers-color-scheme: light)', color: '#f9fbfe' }, + { media: '(prefers-color-scheme: dark)', color: '#0C111C' }, + ], }; export default function RootLayout({