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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user