Page 1 of 2

Dark theme

Posted: 17 Nov 2013 19:06
by zer0
The fact that we can customise colours of so many GUI components is all well and good, but I wish there was a dark theme to the app that I could switch to in a couple of clicks. It's getting darker sooner, so working with that bright white background is a bit of a strain on the eyes. I'm sure insomniacs will appreciate it too :wink:

Re: Dark theme

Posted: 17 Nov 2013 20:11
by Filehero
Maybe all gui stuff belonging to Don could have customizable colors some day.


Cheers,
Filehero

Re: Dark theme

Posted: 18 Nov 2013 11:12
by zer0
Filehero wrote:Maybe all gui stuff belonging to Don could have customizable colors some day.
:? It has, which is what Configuration > Colors (sic) is for. What I am referring to is not Windows OS theme, it's more to be able to change GUI colours to effectively transform into a "night" mode in a couple of clicks.

Re: Dark theme

Posted: 18 Nov 2013 11:49
by binocular222
I made this script to toggle between Light Mode vas Night mode.
Changes are made to XYplorer.ini, thus permanent, so, Backup your XYplorer.ini before using this script!

Code: Select all

 If(getkey("ClrBack", "ListBrowse") == 0){         //If current mode is Night Mode → Switch to Light Mode
 setkey 13092807, ClrBackTree, Settings;
 setkey 0, ClrTextTree, Settings;
 setkey 8947848, ClrHilite, Settings;
 setkey 16250871, ClrBoxed, Settings;
 setkey 255, ClrTabCurrent, Settings;
 setkey 0, ClrTabOther, Settings;
 setkey 65535, ClrTabCurrentBack, Settings;
 setkey 13160660, ClrTabOtherBack, Settings;
 setkey 13160660, ClrBtnfacePrev, Settings;
 setkey 11316396, clrListSelNoFocusBack, General;
 setkey 11316396, clrTreeSelNoFocusBack, General;
 setkey 13092807, clrTreeLocked, General;

 Foreach($Section, "ListBrowse|ListFind|ListDrives|ListNetwork|ListRecycler"){
	setkey 13092807, ClrBack, $Section;
	setkey 0, ClrText, $Section;
	setkey 10526880, ClrGrid, $Section;
	setkey 13750737, ClrSortCol, $Section;
	setkey 14796031, ClrFocRow, $Section;
	setkey 14145495, ClrSelRow, $Section;}
 }
 Else {
 setkey 0, ClrBackTree, Settings;
 setkey 7187900, ClrTextTree, Settings;
 setkey 4605510, ClrHilite, Settings;
 setkey 3815994, ClrBoxed, Settings;
 setkey 255, ClrTabCurrent, Settings;
 setkey 16777215, ClrTabOther, Settings;
 setkey 65535, ClrTabCurrentBack, Settings;
 setkey 7092245, ClrTabOtherBack, Settings;
 setkey 12639424, ClrBtnfacePrev, Settings;
 setkey 3487029, clrListSelNoFocusBack, General;
 setkey 3487029, clrTreeSelNoFocusBack, General;
 setkey 65793, clrTreeLocked, General;

 Foreach($Section, "ListBrowse|ListFind|ListDrives|ListNetwork|ListRecycler"){
	setkey 0, ClrBack, $Section;
	setkey 7187900, ClrText, $Section;
	setkey 2039583, ClrGrid, $Section;
	setkey 1118481, ClrSortCol, $Section;
	setkey 3511061, ClrFocRow, $Section;
	setkey 255, ClrSelRow, $Section;}
 }

 #190

Re: Dark theme

Posted: 19 Nov 2013 17:07
by zer0
binocular222 wrote:I made this script to toggle between Light Mode vas Night mode.
Changes are made to XYplorer.ini, thus permanent, so, Backup your XYplorer.ini before using this script!
...
Cheers, could you please post a screenshot of what it would look like?

Re: Dark theme

Posted: 19 Nov 2013 17:54
by binocular222
Dark:
Dark.png
Dark.png (77.3 KiB) Viewed 10318 times
Light:
Light.png
Light.png (77.06 KiB) Viewed 10318 times

Re: Dark theme

Posted: 22 Apr 2014 23:36
by eil
for some reason script doesn't work :( though i'm much interested in Night mode, since i found it very useful in my web browser.
can someone please improve/fix it? btw, is there no other way than edititng .ini?. kinda dangerous.. are there no commands to set colours just like manually?

Re: Dark theme

Posted: 23 Apr 2014 03:56
by binocular222
Night Mode is revised here: http://www.xyplorer.com/xyfc/viewtopic. ... 08#p100942

btw, SkyFrontier's XYstylEZ is also a good way

Re: Dark theme

Posted: 23 Apr 2014 09:45
by eil
binocular222, thanks you! i started to look for it as i use Maxthon too.)

add: a little sidenote/request= is there a place where to find which line saved with your script correponds to what? or maybe you can add comments for ex to Dark Theme, 'cause colours values could be undestood, but settings(like TPT) is impossimble../

Re: Dark theme

Posted: 23 Apr 2014 11:19
by binocular222
The most important entries are:

Code: Select all

[General]
clrMarkedText=32768
clrMarkedTextWindow=13977088
clrLineNumText=7896447
clrLineNumBack=13092807
clrTreeSelNoFocusText=0
clrTreeSelNoFocusBack=38293
clrTreePathTracking=5695926
clrTreeLocked=65793
clrListSelNoFocusBack=3487029
clrSelectionBox=16711680
[Settings]
ClrBackTree=0
ClrTextTree=7187900
ClrHilite=4605510
ClrBoxed=3815994
ClrTabCurrent=255
ClrTabOther=16777215
ClrTabCurrentBack=65535
ClrTabOtherBack=7092245
ClrBtnfacePrev=11648450
ShadeInactivePane=1
ClrInactivePane=14607333
[ListBrowse]
ClrBack=0
ClrText=7187900
ClrGrid=2236962
ClrSortCol=1118481
ClrFocRow=3511061
ClrSelRow=255
[ListFind]
ClrBack=0
ClrText=7187900
ClrGrid=2039583
ClrSortCol=1118481
ClrFocRow=3511061
ClrSelRow=255
[ListDrives]
ClrBack=0
ClrText=7187900
ClrGrid=2039583
ClrSortCol=1118481
ClrFocRow=3511061
ClrSelRow=255
[ListNetwork]
ClrBack=0
ClrText=7187900
ClrGrid=2039583
ClrSortCol=1118481
ClrFocRow=3511061
ClrSelRow=255
[ListRecycler]
ClrBack=0
ClrText=7187900
ClrGrid=2039583
ClrSortCol=1118481
ClrFocRow=3511061
ClrSelRow=255
They are self-explanatory.
"Clr" means "color"
"Back" means background
"Text" means forground text
...

Re: Dark theme

Posted: 20 Feb 2016 09:20
by Starhowl
Care to share your dark theme with us somewhere binocular222? :wink:

Re: Dark theme

Posted: 26 Feb 2016 01:58
by Megalith
Those of you running the latest versions of Office will find that MS included a new dark theme. That is how I wish XYplorer could look.

Re: Dark theme

Posted: 19 Jan 2017 19:07
by zer0
Megalith wrote:Those of you running the latest versions of Office will find that MS included a new dark theme. That is how I wish XYplorer could look.
For reference, this is how that is:
Image
In this day and age when even Apple cares that we are not exposed to bright light unnecessarily with their devices, having a dark theme definitely has more pros than cons.

Re: Dark theme

Posted: 10 Jun 2018 00:53
by zer0
I feel so vindicated...shame it takes Apple coming out with a dark mode for macOS to kick things into gear

Image

Re: Dark theme

Posted: 02 Oct 2018 16:29
by acicovic
So, anyone know if this is still being worked on?

Thanks!