Page 1 of 1

Add a WinCmdTheme.ini File to Contain All Settings for Dark Mode into Total Commander 11.00

Posted: 2022-06-10, 17:39 UTC
by jinsight
Add a WinCmdTheme.ini File to Contain All Settings Necessary to Set Dark Mode into Total Commander 11.00

I read with interest a Dark Mode discussion - the data provided by petermad and the comment in response by nsp on centralizing Dark Mode settings. See below.

May I suggest a single file - WinCmdTheme.ini - to contain all settings necessary to set Dark Mode, as listed by petermad. Such a color theme process would foster creating, saving, sharing and switching color themes with a single command.

This, in turn, could be a precursor towards a comprehensive theme process that fostered creating, saving, sharing and switching entire look-and-feel themes with a single command. This would require expanding the color theme process to include fonts (now under [Configuration]), button attributes (now under [Button Bar] and [Button Bar Vertical]), View Modes (now in [ViewModes] and [ViewModeSwitch]), Tabs (now in [Tabstops]) and Lister settings (now in [Lister], [ListerModes] and [ListerDark]).

This would respond to complaints that Total Commander looks old-fashioned and make it easier to change the look according to user desires.


Prior color Dark Mode theme discussion

https://www.ghisler.ch/board/viewtopic.php?t=76892

...

Re: Is there any excellent color scheme for dark mode?
Post by *petermad » 2022-06-10, 10:39 UTC

May I point the attention to the fact, that there are several other items than just the ones from [ColorsDark] mentioned here above that controls items in Dark mode - for example:

[Configuration]
InactiveFocusDark
SelectionFocusDark
ForceDarkModeOptions

[Layout]
DarkListBorders

[ListerDark]
FgColor
BgColor
FgSelColor
BgSelColor
LinkColor

[ColorsDark]
TreeLineColor
TreeTriangles
ThumbnailFrame
ActiveTabColor

CompareText
CompareTextSel
CompareBinary
CompareBinarySe
CompareDifferenceBack
CompareNormalText
CompareNormalBack
CompareSelText
CompareSelBack
CompareSearchLine

SyncSelBack
DarkBackground
DarkHighlight

[Colors]
ColorFilter0ColorDark
ColorFilter1ColorDark
etc.

My settings:
[Configuration]
InactiveFocusDark=16744576
SelectionFocusDark=$30000FF

[ColorsDark]
InverseCursor=1
ThemedCursor=0
InverseSelection=0

TreeLineColor=-1
TreeTriangles=0
ThumbnailFrame=7368816
ActiveTabColor=6316128

ForeColor=-1
BackColor=-1
BackColor2=4210752
MarkColor=255
CursorColor=8388608
CursorText=15000804

CompareText=236
CompareTextSel=62708
CompareBinary=236
CompareBinarySel=62708
CompareDifferenceBack=4210752
CompareNormalText=11842740
CompareNormalBack=2105376
CompareSelText=15000804
CompareSelBack=8388608
CompareSearchLine=32768

ActiveTitleText=12632256
ActiveTitle=5263440
InactiveTitleText=8421504
InactiveTitle=3158064

SyncSelBack=8388608

HintForeground=0
HintBackground=14811135
HintBorder=12632256

DarkForeground=12632256
DarkBackground=2105376
DarkHighlight=6316128
DarkBorder=7368816

[Layout]
DarkListBorders=1

[ListerDark]
FgColor=12632256
BgColor=2105376

Re: Is there any excellent color scheme for dark mode?
Post by *nsp » 2022-06-10, 10:49 UTC

2petermad You are completely right and it is a pity that there is not a theme like concept. Where we can define all colors in a single file and being able to switch to Normal, Dark, Solarized, Rainbow, HighContrast,...... This would be also a way to share easily some color setup.

Re: Add a WinCmdTheme.ini File to Contain All Settings for Dark Mode into Total Commander 11.00

Posted: 2022-06-10, 18:15 UTC
by Fla$her
In part, this issue can be solved using RedirectSection.
Personally, I do not need these games with a variety of themes. This is more the creators of the builds need. I have just the opposite task: how to prevent the replacement of colors in file panels when changing the mode.