A dark theme would be very much appreciated.
Yes, this is something we’ve had on our mind for quite some time already!
2 years ago, I started writing a user style of my own. I never finished it because I figured out that our CSS needs to be refactored first before we can do something efficient on this topic. And so far, this feature never reached the required priority… Hopefully in a near future!
I use Chrome for accessing the SQ web portal, because Chrome has an “experimental” dark mode that works pretty nicely with the SonarQube web portal (and lots of other pages). Enter chrome://flags/
into the top URL bar, and enter “dark mode” in the search bar on the page that comes up. This should bring up Force Dark Mode for Web Contents
which you can then enable.
Also, Windows 10 has support for a dark mode that sort of propagates to applications. It works best with version 1910 or higher. Go to Windows Settings, then go to the Personalization
screen. Select Colors
in the menu on the left. In the right, scroll down to Choose your default app mode
and select Dark
. This will affect some of the basic Windows tools (setup tools, Calculator, etc.), and any app that chooses to import these settings. Interestingly, Firefox and Chrome (non-Microsoft products) import them but Edge and Outlook (Microsoft products) don’t.
This will give FF and Chrome dark borders and menus and such, but the actual webpage viewed depends on that page. SOME pages can figure out what your setting is. This is supposedly a CSS thing but I’m not an expert on that. Maybe this page will help: prefers-color-scheme - CSS: Cascading Style Sheets | MDN
(There’s also this page, which is worth checking out if for nothing else than the great Star Wars reference at the top: How to Implement Dark Mode in CSS | by Joel Varty | Medium)
For an example of a website that imports this setting, go to docs.microsoft.com – pretty much everything in that domain works. Or type “help” with the “-on” switch for a cmdlet in PowerShell.
Supposedly, this is fairly common and iOS has a similar feature. Kubuntu has a dark mode but I’m not sure if it propagates in the same way.
BTW I voted for this because it was already there, but I’m actually interested in SonarQube rather than Cloud. I assume all the servers use the same code base.