Skip to content

Add dark mode to GitLab (GDK) boot screen

Thomas Hutterer requested to merge thutterer/dark-roundtripper into master

What does this MR do and why?

Adds a super simple "dark mode" to the screen we all know and love and look at every day: Waiting for GitLab to boot 😱 🔦

It uses the @media (prefers-color-scheme: dark) query, so if your browser/OS is set to dark mode, so will this page 🛋

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

image

How to set up and validate locally

  • It's not enough to checkout this branch, you have to build that .go file. But tbh, I don't know how to do that, so I just made the CSS change there and ran gdk update, hoping it would rebuild it and it did, so... 🤷 If you know how to properly do that, please edit this text.
  • Make sure your operating system is set to prefer dark mode. The way how to do it depends on your OS, but should be somewhere in in Appearance settings.
  • gdk restart rails-web and check the your GDK Waiting for GitLab to boot screen in the browser.

Merge request reports