diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index ff6b5f57e..de3b1b70e 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -14,7 +14,7 @@ class DashboardController < ActionController::Base def set_global_config @global_config = GlobalConfig.get( - 'LOGO', 'LOGO_THUMBNAIL', + 'LOGO', 'LOGO_DARK', 'LOGO_THUMBNAIL', 'INSTALLATION_NAME', 'WIDGET_BRAND_URL', 'TERMS_URL', 'PRIVACY_URL', diff --git a/app/javascript/shared/store/globalConfig.js b/app/javascript/shared/store/globalConfig.js index b45c21478..60326dce5 100644 --- a/app/javascript/shared/store/globalConfig.js +++ b/app/javascript/shared/store/globalConfig.js @@ -14,6 +14,7 @@ const { INSTALLATION_NAME: installationName, LOGO_THUMBNAIL: logoThumbnail, LOGO: logo, + LOGO_DARK: logoDark, PRIVACY_URL: privacyURL, TERMS_URL: termsURL, WIDGET_BRAND_URL: widgetBrandURL, @@ -38,6 +39,7 @@ const state = { hCaptchaSiteKey, installationName, logo, + logoDark, logoThumbnail, privacyURL, termsURL, diff --git a/config/installation_config.yml b/config/installation_config.yml index 2d111a7e1..7460814b2 100644 --- a/config/installation_config.yml +++ b/config/installation_config.yml @@ -72,3 +72,5 @@ value: self-hosted - name: CSML_EDITOR_HOST value: +- name: LOGO_DARK + value: '/brand-assets/logo-dark.svg' diff --git a/public/brand-assets/logo_dark.svg b/public/brand-assets/logo_dark.svg new file mode 100644 index 000000000..a0f7ac881 --- /dev/null +++ b/public/brand-assets/logo_dark.svg @@ -0,0 +1,13 @@ + + + logo-dark + + + +