diff --git a/services/frontend/src/app/layout.tsx b/services/frontend/src/app/layout.tsx index ff4f59c3..fdf53a5a 100644 --- a/services/frontend/src/app/layout.tsx +++ b/services/frontend/src/app/layout.tsx @@ -44,9 +44,21 @@ export default function RootLayout({ return ( +
+ {/* + Blocking script: apply saved theme (or default "dark") before first + paint so the page never flashes light mode during client-side + navigation or hydration. next-themes will take over after mount. + */} + +