Opened 17 months ago
Closed 15 months ago
#15342 closed enhancement (fixed)
Add dark theme support
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.9 |
Component: | UI | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
It would be nice if ChimeraX respected the user's choice of using dark theme for applications. In Qt 6.5, that becomes possible. See https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5 for some details.
To experiment with dark theme support, you can modify site-packages/chimerax/ui/gui.py and add:
self.setStyle('fusion')
after QApplication has been initialized (line 112 or so):
QApplication.init(self, [ad.appname])
Then ChimeraX will try to follow the user's theme. Clearly more needs to be done. Both in supporting a dark theme (HTML widgets like the log), and responding to theme changes (eg., the toolbar).
Change History (5)
comment:1 by , 17 months ago
Milestone: | → 1.9 |
---|
comment:2 by , 17 months ago
comment:5 by , 15 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Dark theme support is in daily build. Please report any bug with unreadable text.
What platform and version are you on? On my work Mac, ChimeraX 1.7.1 responds to changing the OS theme for me.