[chimerax-users] Black/Dark Theme

Petrychenko, Valentyn valentyn.petrychenko at mpibpc.mpg.de
Wed Jan 13 04:39:32 PST 2021


Thanks a lot, whl works for me. Looking forward for built in implementation.
You’re great!

Best regards,
Valentyn Petrychenko

From: Tom Goddard <goddard at sonic.net>
Sent: Tuesday, January 12, 2021 8:34 PM
To: Anthony James Schaefer <tony.schaefer at uga.edu>
Cc: Petrychenko, Valentyn <valentyn.petrychenko at mpibpc.mpg.de>; ChimeraX Users Help <chimerax-users at cgl.ucsf.edu>
Subject: Re: [chimerax-users] Black/Dark Theme

Hi Tony,

  That is cool!  Seems like something that should be built into ChimeraX.  If it is ok with you we could put it in the standard distribution and of course credit you for creating it.  For the Log and other html ChimeraX panels (e.g. help viewer) I guess the trouble is related to Qt's way of rendering html using a separate process for each html widget and rendered with Chromium.  It is probably not using your style sheet, and could be tricky to make arbitrary html content (e.g. shown in help viewer) have a dark theme.  ChimeraX has an html widget class in chimerax.ui.widgets.htmlview, and maybe it is possible to set a style sheet.  Of course web pages could override your style sheet by setting explicit background color.

            Tom



On Jan 12, 2021, at 10:54 AM, Anthony James Schaefer <tony.schaefer at uga.edu<mailto:tony.schaefer at uga.edu>> wrote:

A while ago, I started making a bundle that would set ChimeraX's theme to solarized light. Solarized light should be easier on the eyes than the default light theme, but still make black icons or other UI elements stand out. Unfortunately, it didn't survive a hard drive failure. I might spend some free time trying to redo that.

In the meantime, I've grabbed a dark theme style sheet from another app, made a few changes and tossed it in a bundle: https://github.com/ajs99778/ChimeraX_DarkTheme/tree/main/dist. You can download the .whl file, then install it by running toolshed install "path\to\ChimeraX_DarkTheme-0.1-py3-none-any.whl"​ on the ChimeraX command line. You can check ChimeraX's current folder with the pwd​ command or move to another folder with the cd​ command. I know this works on ChimeraX 1.1 and the 1.2 daily builds, but I haven't tested older versions.

It should be easier on the eyes, but I'm not too happy with how this theme looks at the moment (see attached). The log's color isn't changed either. It'll need some more work before I submit it to the toolshed.

Tony
________________________________
From: ChimeraX-users <chimerax-users-bounces at cgl.ucsf.edu<mailto:chimerax-users-bounces at cgl.ucsf.edu>> on behalf of vpetryc at gwdg.de<mailto:vpetryc at gwdg.de><vpetryc at gwdg.de<mailto:vpetryc at gwdg.de>>
Sent: Tuesday, January 12, 2021 11:55 AM
To: ChimeraX Users Help <chimerax-users at cgl.ucsf.edu<mailto:chimerax-users at cgl.ucsf.edu>>
Subject: Re: [chimerax-users] Black/Dark Theme

[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
Hi Eline,

I use Windows, and it doesn't work there for me.

Best regards,
Valentyn

On Jan 12, 2021 17:21, Elaine Meng <meng at cgl.ucsf.edu<mailto:meng at cgl.ucsf.edu>> wrote:
Hi Valentyn,
I tried setting my Mac system preferences (General section) to dark mode.  After that, the ChimeraX toolbar and most of the ChimeraX tools have a dark background: Model Panel, Volume Viewer, etc. Exceptions are the Log and sequence windows.  However, this makes the Volume Viewer histogram impossible to see because it is black on black. Screenshot attached.
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

[cid:03D4025E-D452-4B68-BE02-77EA6640B207 at gateway.sonic.net]

On Jan 12, 2021, at 3:44 AM, Petrychenko, Valentyn <valentyn.petrychenko at mpibpc.mpg.de<mailto:valentyn.petrychenko at mpibpc.mpg.de>> wrote:

Dear ChimeraX Developers Team,

Do you have in your features list an dark or black GUI theme?
I understand that stylistic features have lover priority than a really useful ones, but during many hours of work every day in ChimeraX white GUI eyes getting tired especially at late hours and especially when it contrasts with dark interface of the rest of the system and other dark themed software.
I really looking forward to see a dark theme feature in future updates.

Respectfully yours,
Valentyn Petrychenko
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users at cgl.ucsf.edu<mailto:ChimeraX-users at cgl.ucsf.edu>
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users


<Screenshot 2021-01-12 123527.png>_______________________________________________
ChimeraX-users mailing list
ChimeraX-users at cgl.ucsf.edu<mailto:ChimeraX-users at cgl.ucsf.edu>
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210113/e4a35dcc/attachment.html>


More information about the ChimeraX-users mailing list