A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(web): Add scheme-aware theme-color for dark mode (#3051)
Puneet Deshwanif9a09b09d9c3
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsxindex e6e143b7..80436962 100644--- a/apps/web/app/layout.tsx+++ b/apps/web/app/layout.tsx@@ -55,6 +55,14 @@ export const viewport: Viewport = {initialScale: 1,maximumScale: 1,userScalable: false,+ // Values match the `--background` token in tooling/tailwind/globals.css.+ // These follow the OS color scheme only. An in-app theme override via+ // next-themes is not reflected here, so chrome can differ from the page+ // when a user picks a theme opposite to their system preference.+ themeColor: [+ { media: "(prefers-color-scheme: light)", color: "#ffffff" },+ { media: "(prefers-color-scheme: dark)", color: "#020817" },+ ],};export default async function RootLayout({