From 164794d11fc474a52e0df81f2de30e6d899150f1 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" <215916821+open-swe[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 00:08:09 +0000 Subject: [PATCH] fix: prevent theme flash during page load (#688) * Apply patch [skip ci] * Apply patch [skip ci] * Apply patch [skip ci] * Apply patch [skip ci] * Empty commit to trigger CI --------- Co-authored-by: open-swe[bot] Co-authored-by: Brace Sproul --- apps/web/src/app/layout.tsx | 26 ++++++++++++++++++++++ apps/web/src/components/theme-provider.tsx | 16 ++++++++----- apps/web/src/components/ui/sonner.tsx | 2 +- 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index db5adfa1..0afb8558 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -31,6 +31,32 @@ export default function RootLayout({ lang="en" suppressHydrationWarning > + +