fix(branding): dark logo in the Branding live preview

GalleryPreview used only branding.logo_url, so the Live Preview kept the
light logo when previewing a dark theme. Pick the logo by theme.colorMode
(symmetric fallback) and pass logo_url_dark through from BrandingPage.
This commit is contained in:
Luca
2026-06-03 15:30:16 +02:00
parent 7d34c97c58
commit 4d3da35168
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ export const BrandingPage: React.FC = () => {
</h3>
<GalleryPreview
theme={currentTheme}
branding={brandingSettings}
branding={{ ...brandingSettings, logo_url_dark: logoDarkUrl }}
className="shadow-lg"
/>
</Card>