Add separate mobile_logo_dark setting for the login/signup splash screen

I’ve now opened a draft implementation PR for this feature:

This adds support for a separate dark-mode splash screen image, allowing the login/signup splash screen to use a different asset when a dark colour scheme is active.

The implementation currently includes:

  • splash_screen_image_dark site setting
  • dark-mode aware splash screen image selection
  • fallback to the existing splash image when no dark asset is configured
  • updated helper methods/refactors
  • accompanying RSpec coverage

I also rebased/cherry-picked the work onto a clean branch so the PR history only contains commits related to this feature.

Feedback very welcome, especially around:

  • naming of the setting
  • whether the fallback behaviour is appropriate
  • whether this should remain splash-screen specific or be generalised further
1 Like