[chimerax-users] Black/Dark Theme
Tom Goddard
goddard at sonic.net
Tue Jan 12 15:56:59 PST 2021
Hi Tony,
I was hoping you would get dark mode working well, the hard work, then I could do the easy part of putting it into the distributions. Unfortunately I have 10 times more projects than time, so I won't be able to get it working well. If you also don't have time to refine it, that is ok, and it is fine to put it on the Toolshed and let people use it as is.
Tom
> On Jan 12, 2021, at 3:02 PM, Anthony James Schaefer <tony.schaefer at uga.edu> wrote:
>
> Tom,
>
> If you want to take this off my hands, that would be great. I don't know how much credit I can take for this. The original style sheet is from here: https://github.com/thatlittleboy/TeXstudio-Qt-Stylesheet <https://github.com/thatlittleboy/TeXstudio-Qt-Stylesheet>
>
> Their license (the Unlicense) is pretty loose, so you should be fine to make changes. All I did was delete references to their icons and most of the QCheckBox styling. Something they were doing was making check boxes disappear and I didn't have the patience to figure out what it was. It looks like the checkmarks still aren't visible on the model panel's controls for selecting and hiding models - not sure what that's about. There's probably other issues I haven't noticed yet.
>
> It would be neat if you could choose from multiple styles, kind of like a Cygwin terminal or Notepad++, and allow users to drop their own style sheet in like you can with presets (or allow styles to be inserted through bundles).
>
> Thanks,
>
> Tony
> From: Tom Goddard <goddard at sonic.net <mailto:goddard at sonic.net>>
> Sent: Tuesday, January 12, 2021 2:34 PM
> To: Anthony James Schaefer <tony.schaefer at uga.edu <mailto:tony.schaefer at uga.edu>>
> Cc: vpetryc at gwdg.de <mailto:vpetryc at gwdg.de> <vpetryc at gwdg.de <mailto:vpetryc at gwdg.de>>; 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 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 <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
>>
>>
>>
>>
>> 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 <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 <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
> _______________________________________________
> ChimeraX-users mailing list
> 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/20210112/de38a8a1/attachment-0001.html>
More information about the ChimeraX-users
mailing list