Home » U++ Library support » Look and Chameleon Technology » New dark theme thread
Re: New dark theme thread [message #57952 is a reply to message #57856] |
Mon, 03 January 2022 15:28   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I found out that sometimes it's good to re-read some docs, as they get updated: 
https://docs.microsoft.com/en-us/windows/win32/api/winuser/n f-winuser-getsyscolor
https://docs.microsoft.com/en-us/windows/apps/design/style/c olor
From the GetSysColor() documentation, I have picked the following:
Colors no longer available in Windows 10/11:
COLOR_3DDKSHADOW
COLOR_3DHIGHLIGHT
COLOR_3DHILIGHT
COLOR_3DLIGHT
COLOR_3DSHADOW
COLOR_ACTIVEBORDER
COLOR_ACTIVECAPTION
COLOR_APPWORKSPACE
COLOR_BACKGROUND
COLOR_BTNFACE
COLOR_BTNHIGHLIGHT
COLOR_BTNHILIGHT
COLOR_BTNSHADOW
COLOR_CAPTIONTEXT
COLOR_DESKTOP
COLOR_GRADIENTACTIVECAPTION
COLOR_GRADIENTINACTIVECAPTION
COLOR_INACTIVEBORDER
COLOR_INACTIVECAPTION
COLOR_INACTIVECAPTIONTEXT
COLOR_INFOBK
COLOR_INFOTEXT
COLOR_MENU
COLOR_MENUHILIGHT
COLOR_MENUBAR
COLOR_MENUTEXT
COLOR_SCROLLBAR
COLOR_WINDOWFRAME
Colors available in Windows 10/11:
COLOR_WINDOW - Window background
COLOR_WINDOWTEXT - Headings, body, lists, app and window borders...
COLOR_HOTLIGHT - Hyperlinks
COLOR_GRAYTEXT - Inactive (disabled) UI
COLOR_HIGHLIGHTTEXT - Foreground color for text or UI that is selected/interacted with (hover, pressed) or in progress
COLOR_HIGHLIGHT - Background or accent for COLOR_HIGHLIGHTTEXT
COLOR_BTNTEXT - Foreground color for buttons and UI with interaction (use with COLOR_3DFACE)
COLOR_3DFACE - Background for COLOR_BTNTEXT
Maybe, the system color list in ChWin32.cpp should be updated to use only colors that are still available on Windows 10/11:
...
static sysColor sSysColor[] = {
{ SColorPaper_Write, COLOR_WINDOW },
...
In any case, the dark mode is too high contrast to look at for a full day. E.g. TheIDE has a very nice contrast on Linux Mint following some basic dark theme I picked from the basic list. However, when in Dark mode on Windows, the GetSysColor(COLOR_WINDOW) returns "Color(1, 1, 1)" and this is simply too dark. Something between Color(32, 32, 32) and Color(48, 48, 48), would work better as the dark background. The invisibility issue with ScrollBar button arrows also make it difficult to use.
Best regards,
Tom
|
|
|
 |
|
New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
By: mr_ped on Mon, 22 April 2019 22:22
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
By: Klugier on Wed, 23 September 2020 00:48
|
 |
|
Re: New dark theme thread
By: mirek on Wed, 23 September 2020 17:30
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 21 December 2021 16:32
|
 |
|
Re: New dark theme thread
By: Tom1 on Mon, 03 January 2022 15:28
|
 |
|
Re: New dark theme thread
By: mirek on Wed, 05 January 2022 09:13
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 05 January 2022 13:18
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 05 January 2022 16:15
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 08:44
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 08:46
|
 |
|
Re: New dark theme thread
By: Tom1 on Thu, 06 January 2022 12:34
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 19:48
|
 |
|
Re: New dark theme thread
By: Tom1 on Fri, 07 January 2022 16:51
|
 |
|
Re: New dark theme thread
By: mirek on Sat, 08 January 2022 14:23
|
 |
|
Re: New dark theme thread
By: Tom1 on Sat, 08 January 2022 17:16
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 12 January 2022 09:56
|
 |
|
Re: New dark theme thread
By: Tom1 on Thu, 13 January 2022 13:22
|
 |
|
Re: New dark theme thread
By: mirek on Sun, 16 January 2022 19:15
|
 |
|
Re: New dark theme thread
By: Tom1 on Mon, 17 January 2022 08:50
|
 |
|
Re: New dark theme thread
By: mirek on Mon, 17 January 2022 17:37
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 18 January 2022 15:32
|
 |
|
Re: New dark theme thread
By: Alboni on Tue, 17 May 2022 15:16
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 17 May 2022 17:54
|
 |
|
Re: New dark theme thread
By: Alboni on Wed, 18 May 2022 15:51
|
 |
|
Re: New dark theme thread
By: superdev on Fri, 26 August 2022 19:35
|
Goto Forum:
Current Time: Wed Jul 02 17:32:51 CEST 2025
Total time taken to generate the page: 0.03893 seconds
|