New feature: Night mode

Issue #691 new
legija created an issue

After months of working with valentina, I've come to be very fond of the bright, clean style of the program. However, even with a screen dimming program, I find myself having straining eyes during the evenings / nights because of the white screen.

I propose a new feature that allows changing the background color, so a sort of "night/dark" mode can be used. The default line color would change to a white-ish color.

Comments (14)

  1. Emmanuel Nyachoke

    Hi thanks for the great software am playing around with it and the first thing I wanted was a dark theme so I downloaded the code to try add add it. Am new to both C++ and QT but this seems like something a person like me can do. Here is tape with the theme you suggested above Screen Shot 2018-10-13 at 07.30.55.png. I could pick this up if its okay but I guess I will need to learn a bunch of things before I can get it done which is all I really want to do at the moment (Learn).

  2. Roman Telezhynskyi repo owner

    Hi @enyachoke, yes this is very useful feature for people who use the app everyday. There are a lot work to make support for dark theme. If you will have question feel free to ask.

  3. Emmanuel Nyachoke

    Hi @dismine I have started playing with https://github.com/ColinDuquesnoy/QDarkStyleSheet. So far I have the theme integrated and working though it make the canvas black which I don't think should be the case. I have also disabled native dialogs since it seems you can't style them. Is there a reason they where only disabled for linux?

  4. Emmanuel Nyachoke

    Here is screenshot of the preferences Screen Shot 2018-10-28 at 20.48.30.png And the Valentina window Screen Shot 2018-10-28 at 20.52.35.png

    Let me know if its okay to continue with this theme

  5. Roman Telezhynskyi repo owner

    Hi,

    make the canvas black which I don't think should be the case.

    No, the scenes must be dark. This is the biggest part of window and place which produce the most light.

    I have also disabled native dialogs since it seems you can't style them.

    We probably should not touch native dialogs. Left them as they are. There is reason why native dialogs look as they look.

    Is there a reason they where only disabled for linux?

    Because i had bug on Ubuntu. Also see issue #889 to know more about my plans regard to dialogs.

    Let me know if its okay to continue with this theme

    Yes, it looks promising. But i cannot merge your changes. You made commit to default branch. This is branch only releases. At least do commits to develop branch.

  6. Log in to comment