FashionFreedom / Seamly2D

Open source patternmaking software to democratize fashion.
https://seamly.io
GNU General Public License v3.0
597 stars 109 forks source link

Feature: Night mode #112

Open sconklin opened 6 years ago

sconklin commented 6 years ago

From @sconklin on May 21, 2017 20:8

Originally reported by: bespoketailor (Bitbucket: bespoketailoring, GitHub: Unknown)


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.

sconklin commented 6 years ago

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


void QGraphicsScene::setBackgroundBrush

http://stackoverflow.com/a/1165145/3045403

sconklin commented 6 years ago

Original comment by bespoketailor (Bitbucket: bespoketailoring, GitHub: Unknown):


yes only the scene :)

sconklin commented 6 years ago

Original comment by Roman Telezhynskyi (Bitbucket: dismine, GitHub: dismine):


Only scene?

aracelix commented 2 years ago

FYI - Mac has a native dark mode setting and it looks like Qt might "just work" with a dark theme. However, the Seamly2D icons and default colors don't adapt at the moment. This looks like a good indicator to see what would need to dynamically change for dark mode to work:

mac_dark_mode_seamly2d

I have dark mode set on my mac with a 10.15.6 MacOSX SDK that this is building against.

DSCaskey commented 2 years ago

Aside from the icons, another issue is adjusting the point , curve, and line colors. Black on dark grey would get rather tedious to work with. Need an algorithm to reverse some colors automatically depending on the background color. To that extent the range of colors needs to be extended in the schema to include white and / or lighter greys.