diff --git a/src/components/base.tsx b/src/components/base.tsx index c44d1f6..3458747 100644 --- a/src/components/base.tsx +++ b/src/components/base.tsx @@ -15,7 +15,33 @@ export const BaseHtml = ({ {title} + + {/* + Apply the persisted theme as early as possible to avoid a flash. + - If no preference is stored, tokens fall back to OS preference via CSS. + */} + + + + {/* Theme toggle behavior (syncs the header switch + persists choice). */} +