Dark theme

Features wanted...
zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Dark theme

Post 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:
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Dark theme

Post by Filehero »

Maybe all gui stuff belonging to Don could have customizable colors some day.


Cheers,
Filehero

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Dark theme

Post 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.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Dark theme

Post 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
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Dark theme

Post 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?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Dark theme

Post by binocular222 »

Dark:
Dark.png
Dark.png (77.3 KiB) Viewed 9077 times
Light:
Light.png
Light.png (77.06 KiB) Viewed 9077 times
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

eil
Posts: 1620
Joined: 13 Jan 2011 19:44

Re: Dark theme

Post 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?
Win 7 SP1 x64 100% 1366x768

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Dark theme

Post by binocular222 »

Night Mode is revised here: http://www.xyplorer.com/xyfc/viewtopic. ... 08#p100942

btw, SkyFrontier's XYstylEZ is also a good way
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

eil
Posts: 1620
Joined: 13 Jan 2011 19:44

Re: Dark theme

Post 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../
Win 7 SP1 x64 100% 1366x768

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Dark theme

Post 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
...
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Starhowl
Posts: 11
Joined: 08 Jan 2013 11:41

Re: Dark theme

Post by Starhowl »

Care to share your dark theme with us somewhere binocular222? :wink:

Megalith
Posts: 75
Joined: 24 Jan 2015 16:53

Re: Dark theme

Post 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.

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Dark theme

Post 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.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Dark theme

Post by zer0 »

I feel so vindicated...shame it takes Apple coming out with a dark mode for macOS to kick things into gear

Image
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Re: Dark theme

Post by acicovic »

So, anyone know if this is still being worked on?

Thanks!

Post Reply