Skip to content

Add support for dark mode preference

Veli Tasalı requested to merge tasali/devhelp:dark-mode-preference into main

Hi,

This MR adds dark mode preference support with libhandy. The main and assistant windows now use HdyApplicationWindow instead of GtkApplicationWindow. The preference dialog is a HdyPreferenceWindow with the rest of its child widgets appropriately using preference rows and pages. I couldn't test DhAssistantView, as it always shows a blank canvas, no matter what the input is. I made some string changes in the preferences to match them with GNOME HIG.

Btw, I am aware that this is a bit late for the 42 cycle, but this came to my attention yesterday. Hope, there is still time to merge this.

P.S. CI fails for an unrelated reason. It doesn't happen on another GitLab instance.

Closes #58.

Merge request reports