OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
824 stars 301 forks source link

[Feat] Support dark theme #591

Open marisn opened 4 years ago

marisn commented 4 years ago

As there is this new fad of turning everything dark, we could ride the wave while it's all hype. This could be the eye candy required to help sell GRASS 8.0

On a user request I was testing GRASS with dark theme — only minor adjustments are needed. Still, proper dark theme support is possible only with >=wxPython-4.1 + =>wxWidgets-3.1.3, as it starts to provide wx.SystemAppearances with IsDark test to see if dark theme should be enabled automatically.

Missing places (added by @wenzeslaus):

Non-GUI:

petrasovaa commented 4 years ago

You are talking about system-level dark theme, right? And just detecting that and tweaking some components to look good. wxPython 4.1 will be widespread by then, so that shouldn't be a big problem. Another thing would be to implement our own dark theme, that would be more work I think.

marisn commented 4 years ago

You are talking about system-level dark theme, right? And just detecting that and tweaking some components to look good. wxPython 4.1 will be widespread by then, so that shouldn't be a big problem. Another thing would be to implement our own dark theme, that would be more work I think.

Yes, I would go for system dark theme support. At the moment there are a few issues as in most of places UI colours are not hardcoded and thus dark theme works almost out of box.

hellik commented 4 years ago

would be a nice one

wenzeslaus commented 4 years ago

This would be great. It is more than an eye candy, more like eye protection. Now is the time to do it (it was not 9 years ago :-).

petrasovaa commented 4 years ago

Yes, I would go for system dark theme support. At the moment there are a few issues as in most of places UI colours are not hardcoded and thus dark theme works almost out of box.

@marisn, maybe you could update the description of this feature with more detailed analysis/observations of the problems? Possibly bugs to report to wxPython?

petrasovaa commented 4 years ago

See progress in #751.

wenzeslaus commented 3 years ago

I took the liberty to add a TODO list with what I was able to identify. Feel free to open separate issues (and PRs of course).