diff --git a/app/soapbox/features/ui/components/navbar.tsx b/app/soapbox/features/ui/components/navbar.tsx index c6d810f0cf..25085f6d75 100644 --- a/app/soapbox/features/ui/components/navbar.tsx +++ b/app/soapbox/features/ui/components/navbar.tsx @@ -23,6 +23,7 @@ const Navbar = () => { // In demo mode, use the Soapbox logo const logo = settings.get('demo') ? require('images/soapbox-logo.svg') : soapboxConfig.logo; + const logoDarkMode = soapboxConfig.logoDarkMode; const onOpenSidebar = () => dispatch(openSidebar()); @@ -47,7 +48,11 @@ const Navbar = () => { > {logo ? ( - Logo + Logo + {logoDarkMode && ( + Logo + )} + ) : ( diff --git a/app/soapbox/normalizers/soapbox/soapbox_config.ts b/app/soapbox/normalizers/soapbox/soapbox_config.ts index dd9d771a44..e37a4faad0 100644 --- a/app/soapbox/normalizers/soapbox/soapbox_config.ts +++ b/app/soapbox/normalizers/soapbox/soapbox_config.ts @@ -82,6 +82,7 @@ export const CryptoAddressRecord = ImmutableRecord({ export const SoapboxConfigRecord = ImmutableRecord({ appleAppId: null, logo: '', + logoDarkMode: null, banner: '', brandColor: '', // Empty accentColor: '',